Skip to content

Commit

Permalink
Update docs builds and config
Browse files Browse the repository at this point in the history
  • Loading branch information
sloria committed Jan 7, 2024
1 parent 8651422 commit f350dd8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 0 additions & 2 deletions docs/requirements.txt

This file was deleted.

4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
"flake8-bugbear==23.12.2",
"pre-commit~=3.5",
],
"docs": [
"sphinx==7.2.6",
"sphinx-issues==3.0.1",
],
}
EXTRAS_REQUIRE["dev"] = (
EXTRAS_REQUIRE["tests"] + EXTRAS_REQUIRE["lint"] + ["ptpython", "tox"]
Expand Down
6 changes: 2 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,14 @@ skip_install = true
commands = pre-commit run --all-files --show-diff-on-failure

[testenv:docs]
deps = -rdocs/requirements.txt
extras = docs
commands = sphinx-build docs/ docs/_build {posargs}

; Below tasks are for development only (not run in CI)

[testenv:watch-docs]
deps = sphinx-autobuild
extras = docs
deps =
-rdocs/requirements.txt
sphinx-autobuild
commands = sphinx-autobuild --open-browser docs/ docs/_build {posargs} --delay 2

[testenv:watch-readme]
Expand Down

0 comments on commit f350dd8

Please sign in to comment.