Skip to content

Pin docs Python requirements + configure Dependabot for them + make ReadTheDocs install docs requirements #39

Pin docs Python requirements + configure Dependabot for them + make ReadTheDocs install docs requirements

Pin docs Python requirements + configure Dependabot for them + make ReadTheDocs install docs requirements #39

Workflow file for this run

name: Sphinx build
on:
pull_request:
push:
schedule:
- cron: '0 16 * * 5' # Every Friday 4pm
workflow_dispatch:
jobs:
docs:
strategy:
matrix:
python-version: [3.9, 3.13] # oldest and most recent version supported
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip3 install -r docs/requirements.txt
- name: Build documentation
run: |
make -C docs/ html
- name: Store documentation
uses: actions/upload-artifact@v4
with:
name: "wait_for_it_docs_html_${{ github.sha }}_python_${{ matrix.python-version }}"
path: docs/build/html/
if-no-files-found: error