chore(deps): autoupdate pre-commit hooks (#1099) #1893
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build Documentation | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - "**" | |
| jobs: | |
| build: | |
| name: Build documentation | |
| runs-on: ubuntu-latest | |
| env: | |
| # Disable implicitly syncing before running - we run an explicit sync first. | |
| UV_NO_SYNC: true | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| version: "latest" | |
| python-version: 3.13 | |
| enable-cache: true | |
| cache-suffix: "docs" | |
| - name: Install documentation dependencies | |
| run: uv sync --group doc --no-dev --locked | |
| - name: Debug - uv pip freeze | |
| run: uv pip freeze | |
| - name: Build documentation | |
| run: | | |
| uv run -m sphinx -b html -aE -n -W --keep-going documentation/source documentation/build | |
| - name: Check external links | |
| run: | | |
| uv run -m sphinx -b linkcheck documentation/source documentation/build |