Merge pull request #6 from hartwork/prepare-release #3
This file contains 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: Sphinx build | |
on: [pull_request, push] | |
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 \ | |
recommonmark \ | |
sphinx | |
- 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 |