.github/workflows/docs.yml
raw| 1 | name: Docs |
| 2 | |
| 3 | on: [push, pull_request] |
| 4 | |
| 5 | jobs: |
| 6 | docs: |
| 7 | runs-on: ubuntu-latest |
| 8 | name: docs |
| 9 | steps: |
| 10 | - name: Checkout |
| 11 | uses: actions/checkout@v3 |
| 12 | - name: Set up Python |
| 13 | uses: actions/setup-python@v4 |
| 14 | with: |
| 15 | python-version: 3.9 |
| 16 | - run: python -m pip install -r docs/requirements.txt |
| 17 | - name: Build docs |
| 18 | run: | |
| 19 | cd docs |
| 20 | sphinx-build -b dirhtml -n -d build/doctrees . build/dirhtml |