a b/.readthedocs.yaml
1
version: 2
2
3
build:
4
  os: "ubuntu-22.04"
5
  tools:
6
    python: "3.10"
7
  jobs:
8
    post_create_environment:
9
      # Install poetry
10
      # https://python-poetry.org/docs/#installing-manually
11
      - pip install poetry
12
    post_install:
13
      # Install dependencies with 'docs' dependency group
14
      # https://python-poetry.org/docs/managing-dependencies/#dependency-groups
15
      # VIRTUAL_ENV needs to be set manually for now.
16
      # See https://github.com/readthedocs/readthedocs.org/pull/11152/
17
      - VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs
18
19
sphinx:
20
  configuration: docs/source/conf.py