Skip to content

Commit 83d7cdc

Browse files
committed
Run docs-build locally to catch errors before RTD
1 parent 01794b7 commit 83d7cdc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ env_list =
55
mypy-pkg,
66
py3{8,9,10,11,12,13,14}-{tests,mypy}
77
py3{8,13}-tests-{colorama,be,rich},
8-
docs-{sponsors,doctests},
8+
docs-{sponsors,build,doctests},
99
coverage-{combine,report}
1010

1111

@@ -58,6 +58,7 @@ commands = coverage report
5858
base_python = py313
5959
dependency_groups = docs
6060
commands =
61+
# N.B. doctests is not a nitpicky as build -- we need to run both in CI!
6162
build: sphinx-build -n -T -W -b html -d {envtmpdir}/doctrees docs {posargs:docs/_build/}html
6263
doctests: sphinx-build -n -T -W -b doctest -d {envtmpdir}/doctrees docs {posargs:docs/_build/}html
6364
linkcheck: sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees docs docs/_build/html

0 commit comments

Comments
 (0)