| 1 | # Read the Docs configuration file |
| 2 | # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details |
| 3 | |
| 4 | # Required |
| 5 | version: 2 |
| 6 | |
| 7 | # Set the version of Python and other tools you might need |
| 8 | build: |
| 9 | os: ubuntu-20.04 |
| 10 | tools: |
| 11 | python: "3.9" |
| 12 | jobs: |
| 13 | post_create_environment: |
| 14 | # Install poetry |
| 15 | - pip install poetry |
| 16 | # Tell poetry to not use a virtual environment |
| 17 | - poetry config virtualenvs.create false |
| 18 | post_install: |
| 19 | # Install dependencies |
| 20 | - poetry install --with docs |
| 21 | |
| 22 | # Build documentation in the docs directory with Sphinx |
| 23 | sphinx: |
| 24 | configuration: docs/conf.py |