deps(deps): update cachetools requirement from ^5.0 to ^6.2 #2419
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 and Deploy Documentation (DISABLED) | |
| # DISABLED: Documentation now built locally only | |
| # To re-enable, remove this comment and uncomment the 'on' section below | |
| # on: | |
| # push: | |
| # branches: [ main ] | |
| # workflow_dispatch: {} | |
| # pull_request: | |
| # paths: | |
| # - 'mkdocs.yml' | |
| # - 'docs/**' | |
| # - 'README.md' | |
| # - 'src/**/README.md' | |
| # - '*.md' | |
| jobs: | |
| build-deploy: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.11' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r docs/requirements.txt | |
| - name: Sync README files | |
| run: | | |
| python scripts/sync-readme-docs.py | |
| - name: Build docs | |
| run: | | |
| mkdocs build | |
| - name: Deploy to GitHub Pages | |
| if: github.ref == 'refs/heads/main' | |
| uses: peaceiris/actions-gh-pages@v4 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./site | |
| force_orphan: true | |
| commit_message: "docs: deploy MkDocs site (${GITHUB_SHA})" | |
| link-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.11' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install mkdocs mkdocs-material mkdocs-redirects | |
| - name: Build (no deploy) & basic link check | |
| run: | | |
| mkdocs build | |
| echo "(Basic build complete - consider adding lychee for deeper link checking)" |