Skip to content

Commit

Permalink
DX: disable Sphinx warnings in linkcheck job
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Oct 10, 2024
1 parent c384a63 commit 6057cc3
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ commands =
--show-traceback \
docs/ docs/_build/html
description = Build documentation and API through Sphinx
setenv =
PYTHONWARNINGS =

[testenv:doclive]
allowlist_externals =
Expand Down Expand Up @@ -77,23 +79,25 @@ commands =
--watch=src \
docs/ docs/_build/html
description = Set up a server to directly preview changes to the HTML pages
setenv =
{[testenv:doc]setenv}

[testenv:docnb]
base = doc
setenv =
{[testenv:doc]}setenv
{[testenv:doc]setenv}
EXECUTE_NB = yes

[testenv:docnb-force]
base = doc
setenv =
{[testenv:doc]}setenv
{[testenv:doc]setenv}
FORCE_EXECUTE_NB = yes

[testenv:docnblive]
base = doclive
setenv =
{[testenv:doclive]}setenv
{[testenv:doclive]setenv}
EXECUTE_NB = yes

[testenv:linkcheck]
Expand All @@ -105,6 +109,8 @@ commands =
--show-traceback \
docs/ docs/_build/linkcheck
description = Check external links in the documentation (requires internet connection)
setenv =
{[testenv:doclive]setenv}

[testenv:nb]
allowlist_externals =
Expand Down

0 comments on commit 6057cc3

Please sign in to comment.