File tree Expand file tree Collapse file tree 1 file changed +17
-14
lines changed
Expand file tree Collapse file tree 1 file changed +17
-14
lines changed Original file line number Diff line number Diff line change 1- # Read the Docs configuration file for Sphinx projects
1+ # .readthedocs.yaml
2+ # Read the Docs configuration file
23# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
34
45# Required
56version : 2
67
78# Set the OS, Python version and other tools you might need
89build :
9- os : ubuntu-22 .04
10+ os : ubuntu-24 .04
1011 tools :
1112 python : " 3.12"
13+ jobs :
14+ pre_create_environment :
15+ - asdf plugin add uv
16+ - asdf install uv latest
17+ - asdf global uv latest
18+ create_environment :
19+ - UV_PROJECT=docs/ uv venv "${READTHEDOCS_VIRTUALENV_PATH}"
20+ install :
21+ - UV_PROJECT=docs/ UV_PROJECT_ENVIRONMENT="${READTHEDOCS_VIRTUALENV_PATH}" uv sync --frozen
1222
13- # Build documentation in the " docs/" directory with Sphinx
23+ # Build documentation in the docs/ directory with Sphinx
1424sphinx :
1525 configuration : docs/conf.py
1626
17- # Optionally build your docs in additional formats such as PDF and ePub
18- # formats:
19- # - pdf
20- # - epub
21-
22- # Optional but recommended, declare the Python requirements required
23- # to build your documentation
24- # See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
25- python :
26- install :
27- - requirements : docs/requirements.txt
27+ # Optionally build your docs in additional formats such as PDF
28+ formats :
29+ - pdf
30+ - epub
You can’t perform that action at this time.
0 commit comments