From 31a02003c29ed29bd21b4a85eee532d023cefd37 Mon Sep 17 00:00:00 2001 From: Masato Onodera Date: Tue, 24 Mar 2026 20:02:42 -1000 Subject: [PATCH] Use uvx to install only doc dependencies in CI Replace `uv sync --extra doc` with `uvx` to avoid installing the full project dependency tree when building documentation. Only mkdocs, mkdocs-material[imaging], and mkdocstrings-python are needed. Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/deploy_docs_github_pages.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/deploy_docs_github_pages.yml b/.github/workflows/deploy_docs_github_pages.yml index ebbfb41..1aa3a49 100644 --- a/.github/workflows/deploy_docs_github_pages.yml +++ b/.github/workflows/deploy_docs_github_pages.yml @@ -32,17 +32,11 @@ jobs: with: enable-cache: true - - name: Set up Python - run: uv python install 3.12 - - - name: Install documentation dependencies - run: uv sync --extra doc - - name: Configure GitHub Pages uses: actions/configure-pages@v5 - name: Build documentation - run: uv run mkdocs build --site-dir _site + run: uvx --python 3.12 --with "mkdocs-material[imaging]" --with mkdocstrings-python mkdocs build --site-dir _site - name: Upload Pages artifact uses: actions/upload-pages-artifact@v4