Skip to content

Commit

Permalink
FIX: make linkcheck work again using Sphinx v5
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Oct 29, 2024
1 parent 3a6e75f commit 30875e3
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 34 deletions.
12 changes: 6 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ dev = [
doc = [
"ipympl",
"myst-nb",
"sphinx",
"sphinx-api-relink",
"sphinx-book-theme",
"sphinx-comments",
"sphinx-copybutton",
"sphinx-design",
"sphinx-exercise",
"sphinx-togglebutton",
"sphinx~=5.0", # for sphinx-exercise
{include-group = "notebooks"},
]
jupyter = [
Expand Down Expand Up @@ -177,10 +177,10 @@ allowlist_externals =
sphinx-build
commands =
sphinx-build \
--builder=html \
--fail-on-warning \
--keep-going \
--show-traceback \
-b html \
-T \
-W \
docs/ docs/_build/html
description = Build documentation as website
passenv = *
Expand Down Expand Up @@ -228,8 +228,8 @@ allowlist_externals =
base = doc
commands =
sphinx-build \
--builder=linkcheck \
--show-traceback \
-b linkcheck \
-T \
docs/ docs/_build/linkcheck
description = Check external links in the documentation (requires internet connection)
Expand Down
57 changes: 29 additions & 28 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 30875e3

Please sign in to comment.