Skip to content

Commit e0d99af

Browse files
authored
Fix docs build (#4)
1 parent a9ec165 commit e0d99af

2 files changed

Lines changed: 13 additions & 8 deletions

File tree

.readthedocs.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ formats:
99
build:
1010
os: ubuntu-20.04
1111
tools:
12-
python: "3.10"
12+
python: "3.9"
1313

1414
python:
1515
install:
1616
- method: pip
1717
path: .
18+
extra_requirements:
19+
- docs

setup.cfg

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ exclude =
2828
console_scripts =
2929
repoman = repoman.cli:main
3030

31+
[options.extras_require]
32+
docs =
33+
furo
34+
sphinx
35+
sphinx-autobuild
36+
3137
######################
3238
# Tool configuration #
3339
######################
@@ -97,9 +103,8 @@ commands =
97103
flake8 {posargs:src test}
98104

99105
[testenv:docs]
100-
deps =
101-
furo
102-
sphinx
106+
extras =
107+
docs
103108
commands =
104109
python --version
105110
sphinx-apidoc \
@@ -114,10 +119,8 @@ commands =
114119
sphinx-build -n -W --keep-going -b html docs/ docs/_build/
115120

116121
[testenv:devdocs]
117-
deps =
118-
furo
119-
sphinx
120-
sphinx-autobuild
122+
extras =
123+
docs
121124
commands =
122125
sphinx-apidoc \
123126
--force \

0 commit comments

Comments
 (0)