Skip to content

Commit f3aadf4

Browse files
committed
Update readthedocs configuration
1 parent a39a168 commit f3aadf4

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

.readthedocs.yaml

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,20 @@
22
# Read the Docs configuration file
33
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
44

5-
# Required
65
version: 2
76

8-
# Set the OS, Python version and other tools you might need
97
build:
108
os: ubuntu-22.04
119
tools:
12-
python: "3.11"
13-
# You can also specify other tool versions:
14-
# nodejs: "19"
15-
# rust: "1.64"
16-
# golang: "1.19"
10+
python: "latest"
1711

18-
# Build documentation in the "docs/" directory with Sphinx
1912
sphinx:
2013
configuration: py/docs/source/conf.py
14+
commands:
15+
- PYTHONPATH=py sphinx-autogen py/docs/source/api.rst
16+
- sphinx-build -b html -d build/docs/doctrees py/docs/source $READTHEDOCS_OUTPUT/html
2117

22-
# Optionally build your docs in additional formats such as PDF and ePub
23-
# formats:
24-
# - pdf
25-
# - epub
26-
27-
# Optional but recommended, declare the Python requirements required
28-
# to build your documentation
29-
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
3018
python:
3119
install:
32-
- requirements: py/docs/requirements.txt
20+
- requirements: py/docs/requirements.txt
21+
- requirements: py/requirements.txt

0 commit comments

Comments
 (0)