File tree Expand file tree Collapse file tree 1 file changed +5
-17
lines changed Expand file tree Collapse file tree 1 file changed +5
-17
lines changed Original file line number Diff line number Diff line change 1- # .readthedocs.yaml
2- # Read the Docs configuration file
3- # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4-
5- # Required
61version : 2
72
8- # Set the version of Python and other tools you might need
93build :
10- os : ubuntu-22.04
4+ os : " ubuntu-22.04"
115 tools :
126 python : " 3.10"
137 jobs :
148 post_create_environment :
159 # Install poetry
1610 # https://python-poetry.org/docs/#installing-manually
1711 - pip install poetry
18- # Tell poetry to not use a virtual environment
19- - poetry config virtualenvs.create false
2012 post_install :
2113 # Install dependencies with 'docs' dependency group
2214 # https://python-poetry.org/docs/managing-dependencies/#dependency-groups
23- - poetry install --with docs
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
2418
25- # Build documentation in the docs/ directory with Sphinx
2619sphinx :
27- configuration : docs/source/conf.py
28- # If using Sphinx, optionally build your docs in additional formats such as PDF
29- # formats:
30- # - pdf
31-
32- # Optionally declare the Python requirements required to build your docs
20+ configuration : docs/source/conf.py
You can’t perform that action at this time.
0 commit comments