| 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-22.04 |
| 10 |
tools: |
| 11 |
python: "3.12" |
| 12 |
jobs: |
| 13 |
post_create_environment: |
| 14 |
# Install poetry |
| 15 |
- python -m pip install poetry |
| 16 |
post_install: |
| 17 |
# Install dependencies, reusing RTD virtualenv |
| 18 |
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs |
| 19 |
|
| 20 |
# Build documentation in the docs directory with Sphinx |
| 21 |
sphinx: |
| 22 |
configuration: docs/conf.py |