| 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-24.04 |
| 10 | tools: |
| 11 | python: "3.12" |
| 12 | jobs: |
| 13 | post_create_environment: |
| 14 | # Install poetry |
| 15 | - pip install poetry |
| 16 | post_install: |
| 17 | # The docs are Markdown-only (myst-parser, no autodoc), so they never |
| 18 | # import bluetooth_data_tools. Install just the docs group and skip the |
| 19 | # root package to avoid building the Cython extensions for nothing. |
| 20 | - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --only docs --no-root |
| 21 | |
| 22 | # Build documentation in the docs directory with Sphinx |
| 23 | sphinx: |
| 24 | configuration: docs/conf.py |