Skip to content

Commit 1537561

Browse files
committed
Fix document build
1 parent eca901c commit 1537561

File tree

4 files changed

+8
-11
lines changed

4 files changed

+8
-11
lines changed

.readthedocs.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ formats:
1919

2020
# Optionally set the version of Python and requirements required to build your docs
2121
python:
22-
version: 3.7
2322
install:
24-
- requirements: test-requirements.txt
25-
- requirements: requirements.txt
23+
- method: pip
24+
path: .
25+
- requirements: doc/requirements.txt

doc/requirements.txt

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
sphinx>=4.0.2
2+
sphinx_rtd_theme
3+
recommonmark
4+
reno>=2.5.0

readthedocs.yaml

-4
This file was deleted.

tox.ini

+1-4
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,7 @@ commands = oslo-config-generator --config-file=etc/{[base]package}-config-genera
128128
[testenv:docs]
129129
basepython = {[base]python}
130130
deps =
131-
sphinx>=4.0.2
132-
sphinx_rtd_theme
133-
recommonmark
134-
reno>=2.5.0
131+
-r {toxinidir}/doc/requirements.txt
135132
commands =
136133
rm -rf doc/build
137134
python setup.py build_sphinx

0 commit comments

Comments
 (0)