Skip to content

Commit 6c816f9

Browse files
committed
Handle readthedocs not recognizing poetry
1 parent c87e33f commit 6c816f9

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.readthedocs.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,9 @@ sphinx:
1717

1818
# Optionally declare the Python requirements required to build your docs
1919
python:
20-
install:
21-
- requirements: docs/requirements.txt
20+
version: 3.10
21+
install:
22+
- method: pip
23+
path: .
24+
extra_requirements:
25+
- docs

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ bump2version = "^1.0.1"
5353
black = "^21.11b1"
5454
furo = "^2022.1.2"
5555

56+
[tool.poetry.extras]
57+
docs = ["sphinx", "furo"]
58+
5659
[tool.pytest.ini_options]
5760
minversion = "6.0"
5861
addopts = "-ra --strict-markers --ignore=docs/conf.py --ignore=setup.py --ignore=ci --ignore=.eggs --doctest-modules --doctest-glob=/*.rst --tb=short"

0 commit comments

Comments
 (0)