Skip to content

Commit 7ef17b5

Browse files
author
Hugo Osvaldo Barrera
committed
Unbreak RTD
1 parent a0d9de6 commit 7ef17b5

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

requirements-docs.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sphinx_autorun

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
setup_requires=['setuptools_scm', 'pytest-runner'],
2626
tests_require=open('requirements-dev.txt').readlines(),
2727
extras_require={
28-
'docs': ['sphinx_autorun'],
28+
'docs': open('requirements-docs.txt').readlines(),
2929
},
3030
classifiers=[
3131
'Development Status :: 4 - Beta',

tox.ini

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@ commands = flake8
2020

2121
[testenv:docs]
2222
basepython = python3
23-
extras = docs
2423
whitelist_externals =
2524
make
25+
# These two steps imitate RTD as best as possible.
2626
commands =
27+
pip install -rrequirements-docs.txt
2728
make -C docs html
2829

2930
[flake8]

0 commit comments

Comments
 (0)