Skip to content

Commit

Permalink
fix(ci): failing readthedocs build #554
Browse files Browse the repository at this point in the history
Ref #552
  • Loading branch information
wookayin committed Dec 11, 2023
1 parent da0970e commit c4197f1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ python:
- method: pip
path: .
extra_requirements:
- sphinx-rtd-theme
- docs # pip install .[docs]
6 changes: 6 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,14 @@
'pytest_timeout',
]

docs_require = [
'sphinx',
'sphinx-rtd-theme',
]

extras_require = {
'test': tests_require,
'docs': docs_require,
}

if platform.python_implementation() != 'PyPy':
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ commands =

[testenv:docs]
deps =
Sphinx
sphinx_rtd_theme
sphinx
sphinx-rtd-theme
changedir = {toxinidir}/docs
commands =
sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html

0 comments on commit c4197f1

Please sign in to comment.