Skip to content

Commit 08d30c1

Browse files
committed
docs: Update RTD config
Add missing requirements for sphinx and sphinx_rtd_theme. It is a bit of a mystery how this worked previously. ¯\_(ツ)_/¯
1 parent e0a4db0 commit 08d30c1

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

.readthedocs.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ python:
1111
install:
1212
- method: pip
1313
path: .
14+
- requirements: docs/requirements.txt
1415

1516
sphinx:
1617
configuration: docs/conf.py

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"sphinx.ext.autodoc",
77
"sphinx.ext.intersphinx",
88
"sphinx.ext.viewcode",
9+
"sphinx_rtd_theme",
910
]
1011

1112
intersphinx_mapping = {

docs/requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
sphinx
2+
sphinx_rtd_theme

tox.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ escription = format the code base to adhere to our styles, and complain about wh
3434

3535
[testenv:docs]
3636
deps =
37-
sphinx
38-
sphinx_rtd_theme
37+
-r docs/requirements.txt
3938
commands =
4039
sphinx-build -q -W -b html -d "{envtmpdir}{/}doctree" docs "{toxinidir}{/}dist{/}docs"
4140
python -c 'print(r"documentation available under file://{toxinidir}{/}dist{/}docs{/}index.html")'

0 commit comments

Comments
 (0)