From e0d99af3270c7321f50a7bea7e32d0ae20785952 Mon Sep 17 00:00:00 2001 From: Dane Hillard Date: Tue, 7 Nov 2023 13:33:24 -0500 Subject: [PATCH] Fix docs build (#4) --- .readthedocs.yaml | 4 +++- setup.cfg | 17 ++++++++++------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index f5c9391..19b735f 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -9,9 +9,11 @@ formats: build: os: ubuntu-20.04 tools: - python: "3.10" + python: "3.9" python: install: - method: pip path: . + extra_requirements: + - docs diff --git a/setup.cfg b/setup.cfg index 1a73505..e62633b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -28,6 +28,12 @@ exclude = console_scripts = repoman = repoman.cli:main +[options.extras_require] +docs = + furo + sphinx + sphinx-autobuild + ###################### # Tool configuration # ###################### @@ -97,9 +103,8 @@ commands = flake8 {posargs:src test} [testenv:docs] -deps = - furo - sphinx +extras = + docs commands = python --version sphinx-apidoc \ @@ -114,10 +119,8 @@ commands = sphinx-build -n -W --keep-going -b html docs/ docs/_build/ [testenv:devdocs] -deps = - furo - sphinx - sphinx-autobuild +extras = + docs commands = sphinx-apidoc \ --force \