Build docs from cached data #933
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 docs from cached data | |
| on: | |
| pull_request: | |
| schedule: | |
| - cron: '0 5 * * *' # once per day at midnight ET | |
| workflow_dispatch: | |
| jobs: | |
| build-the-docs: | |
| runs-on: ubuntu-latest | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: 'recursive' | |
| fetch-depth: 0 # tags are required for versioneer to determine the version | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.13' | |
| - name: Install Sphinx dependencies and package | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install ".[docs]" | |
| - name: build the docs | |
| run: | | |
| cd docs | |
| make html |