Skip to content

Commit cfd7d6d

Browse files
committed
Add RTD config
1 parent 0e5e149 commit cfd7d6d

File tree

1 file changed

+14
-11
lines changed

1 file changed

+14
-11
lines changed

.readthedocs.yaml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,25 @@
1+
# .readthedocs.yaml
12
# Read the Docs configuration file
23
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
34

45
# Required
56
version: 2
67

7-
# Set the OS, Python version, and other tools you might need
8-
build:
9-
os: ubuntu-24.04
10-
tools:
11-
python: "3.13"
12-
13-
# Build documentation in the "docs/" directory with Sphinx
8+
# Build documentation in the doc/ directory with Sphinx
149
sphinx:
10+
builder: dirhtml
1511
configuration: docs/source/conf.py
12+
fail_on_warning: true
1613

17-
# Optionally, but recommended,
18-
# declare the Python requirements required to build your documentation
19-
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
14+
# Set the version of Python and requirements required to build the docs.
2015
python:
2116
install:
22-
- requirements: docs/requirements.txt
17+
- method: pip
18+
path: .
19+
extra_requirements:
20+
- docs
21+
22+
build:
23+
os: ubuntu-lts-latest
24+
tools:
25+
python: "3.13"

0 commit comments

Comments
 (0)