Skip to content

Commit

Permalink
Fix docs build (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
daneah authored Nov 7, 2023
1 parent a9ec165 commit e0d99af
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
4 changes: 3 additions & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
17 changes: 10 additions & 7 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ exclude =
console_scripts =
repoman = repoman.cli:main

[options.extras_require]
docs =
furo
sphinx
sphinx-autobuild

######################
# Tool configuration #
######################
Expand Down Expand Up @@ -97,9 +103,8 @@ commands =
flake8 {posargs:src test}

[testenv:docs]
deps =
furo
sphinx
extras =
docs
commands =
python --version
sphinx-apidoc \
Expand All @@ -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 \
Expand Down

0 comments on commit e0d99af

Please sign in to comment.