File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ repos:
243243
244244 - id : linkcheck
245245 name : linkcheck
246- entry : uv run --extra=dev sphinx-build -M clean docs/source/ docs/build/ -W && uv run --extra=dev sphinx-build -M linkcheck docs/source/ docs/build/ -W
246+ entry : make -C docs/ linkcheck SPHINXOPTS= -W
247247 language : python
248248 types_or : [rst]
249249 stages : [manual]
@@ -252,7 +252,7 @@ repos:
252252
253253 - id : spelling
254254 name : spelling
255- entry : uv run --extra=dev sphinx-build -M clean docs/source/ docs/build/ -W && uv run --extra=dev sphinx-build -M spelling docs/source/ docs/build/ -W
255+ entry : make -C docs/ spelling SPHINXOPTS= -W
256256 language : python
257257 types_or : [rst]
258258 stages : [manual]
@@ -261,7 +261,7 @@ repos:
261261
262262 - id : docs
263263 name : Build Documentation
264- entry : uv run --extra=dev sphinx-build -M clean docs/source/ docs/build/ -W && uv run --extra=dev sphinx-build -M html docs/source/ docs/build/ -W
264+ entry : make docs
265265 language : python
266266 stages : [manual]
267267 pass_filenames : false
Original file line number Diff line number Diff line change @@ -10,11 +10,11 @@ BUILDDIR = build
1010
1111# Put it first so that "make" without argument is like "make help".
1212help :
13- @$(SPHINXBUILD ) -M help " $( SOURCEDIR) " " $( BUILDDIR) " $(SPHINXOPTS ) $(O )
13+ @uv run --extra=dev $(SPHINXBUILD ) -M help " $( SOURCEDIR) " " $( BUILDDIR) " $(SPHINXOPTS ) $(O )
1414
1515.PHONY : help Makefile
1616
1717# Catch-all target: route all unknown targets to Sphinx using the new
1818# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
1919% : Makefile
20- @$(SPHINXBUILD ) -M $@ " $( SOURCEDIR) " " $( BUILDDIR) " $(SPHINXOPTS ) $(O )
20+ @uv run --extra=dev $(SPHINXBUILD ) -M $@ " $( SOURCEDIR) " " $( BUILDDIR) " $(SPHINXOPTS ) $(O )
You can’t perform that action at this time.
0 commit comments