Skip to content

Commit d000489

Browse files
committed
Previous approach for fixing RTD build was not working...
Trying something else in this commit.
1 parent a387725 commit d000489

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

.readthedocs.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,4 @@ sphinx:
77
python:
88
version: 3.7
99
install:
10-
- method: pip
11-
path: .
12-
extra_requirements:
13-
- docs
10+
- requirements: docs/requirements.txt

docs/requirements.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# RTD does not support Poetry natively, so this is a temporary workaround. See:
2+
# https://github.com/readthedocs/readthedocs.org/issues/4912
3+
sphinx
4+
sphinx-autodoc-typehints
5+
sphinx-rtd-theme
6+
.

pyproject.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,6 @@ sphinx = "^3.0.1"
2525
sphinx-autodoc-typehints = "^1.10.3"
2626
sphinx-rtd-theme = "^0.4.3"
2727

28-
# The docs extra is a temporary hack to build on RTD. See:
29-
# https://github.com/readthedocs/readthedocs.org/issues/4912#issuecomment-489818696
30-
[tool.poetry.extras]
31-
docs = ["sphinx", "sphinx-autodoc-typehints", "sphinx-rtd-theme"]
32-
3328
[build-system]
3429
requires = ["poetry>=0.12"]
3530
build-backend = "poetry.masonry.api"

0 commit comments

Comments
 (0)