Remove PDF build in documentation (#939) #4
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: documentation | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| doc: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.13' | |
| # Pip does not install the graphviz binary, only bindings | |
| # We need this system install | |
| - name: Install system dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y graphviz | |
| - name: Install project with documentation dependencies | |
| run: python -m pip install -e .[doc,opt] | |
| - name: Sphinx build with full traceback | |
| run: | | |
| cd doc | |
| sphinx-build -T -b html source/ build/ |