Skip to content

Commit 557adf9

Browse files
committed
Different approach to requirements for RTD
1 parent 24be2b7 commit 557adf9

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

.readthedocs.yaml

+2-6
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,8 @@ formats:
1919
- pdf
2020
- epub
2121

22-
# Install our theme. I'm doing this here because I don't really want it
23-
# to live in the requirements.txt for this project, instead using tox to
24-
# build docs locally and this config file to install it on RTD
22+
# Insure all the requirements are installed
2523
python:
2624
install:
25+
- requirements: requirements.txt
2726
- requirements: docs/requirements.txt
28-
extra_requirements:
29-
- Pallets-Sphinx-Themes
30-

docs/requirements.txt

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Sphinx
2+
Pallets-Sphinx-Themes

tox.ini

+4-3
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,10 @@ commands = pre-commit run --all-files --show-diff-on-failure
4343
[testenv:docs]
4444
# This gets color output working when run through tox
4545
passenv=TERM
46-
deps =
47-
Sphinx
48-
Pallets-Sphinx-Themes
46+
deps = -rdocs/requirements.txt
47+
#deps =
48+
# Sphinx
49+
# Pallets-Sphinx-Themes
4950
changedir = docs
5051
allowlist_externals = make
5152
commands =

0 commit comments

Comments
 (0)