File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,6 +39,16 @@ html-noplot:
3939 @echo " Build finished. The HTML pages are in $( BUILDDIR) /html."
4040
4141
42+ linkcheck :
43+ $(SPHINXBUILD ) -b linkcheck $(ALLSPHINXOPTS ) $(BUILDDIR ) /linkcheck
44+ @echo
45+ @echo " Linkcheck finished. Results are in $( BUILDDIR) /linkcheck."
46+
47+ linkcheck-noplot :
48+ $(SPHINXBUILD ) -D plot_gallery=0 -b linkcheck $(ALLSPHINXOPTS ) $(BUILDDIR ) /linkcheck-noplot
49+ @echo
50+ @echo " Linkcheck (no plot) finished. Results are in $( BUILDDIR) /linkcheck-noplot."
51+
4252# Catch-all target: route all unknown targets to Sphinx using the new
4353# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
4454% : Makefile
Original file line number Diff line number Diff line change @@ -184,6 +184,9 @@ python = "~=3.13.0"
184184build-doc = { cmd = " make html" , cwd = " doc" }
185185build-doc-quick = { cmd = " make html-noplot" , cwd = " doc" }
186186clean-doc = { cmd = " rm -rf _build/ && rm -rf auto_examples/ && rm -rf reference/generated/" , cwd = " doc" }
187+ linkcheck = { cmd = " make linkcheck" , cwd = " doc" }
188+ linkcheck-quick = { cmd = " make linkcheck-noplot" , cwd = " doc" }
189+
187190
188191[tool .pixi .feature .lint .tasks ]
189192lint = { cmd = " pre-commit install && pre-commit run -v --all-files --show-diff-on-failure" }
You can’t perform that action at this time.
0 commit comments