Skip to content

Commit

Permalink
Run linkcheck in docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
jl-wynen committed Aug 25, 2022
1 parent c15b2a1 commit e0fdc17
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,9 @@ deps = {posargs:}
allowlist_externals = find
commands = python -m sphinx -j2 -v -b html -d {toxworkdir}/docs_doctrees docs html
python -m sphinx -j2 -v -b doctest -d {toxworkdir}/docs_doctrees docs html
python -m sphinx -j2 -v -b linkcheck -d {toxworkdir}/docs_doctrees docs html
find html -type f -name "*.ipynb" -not -path "html/_sources/*" -delete

[testenv:linkcheck]
description = Run Sphinx linkcheck
deps = -r requirements/docs.txt
commands = python -m sphinx -j2 -v -b linkcheck -d {toxworkdir}/docs_doctrees docs html

[testenv:static]
description = Code formatting and static analysis
basepython = python3.8
Expand Down

0 comments on commit e0fdc17

Please sign in to comment.