Skip to content

Commit 2e9df8b

Browse files
committed
Add Sphinx requirements for Read the Docs
1 parent eda8ad3 commit 2e9df8b

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

.readthedocs.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,9 @@ build:
1414
sphinx:
1515
configuration: docs/conf.py
1616

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
20-
# python:
21-
# install:
22-
# - requirements: docs/requirements.txt
17+
python:
18+
install:
19+
- method: pip
20+
path: .
21+
- requirements: docs/requirements.txt
2322

docs/requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
sphinx>=6.0
2+
sphinx-rtd-theme>=1.0
3+
sphinx-autodoc-typehints>=1.24

0 commit comments

Comments
 (0)