File tree Expand file tree Collapse file tree 3 files changed +6
-28
lines changed Expand file tree Collapse file tree 3 files changed +6
-28
lines changed Original file line number Diff line number Diff line change @@ -301,7 +301,8 @@ repos:
301301
302302 - id : linkcheck
303303 name : linkcheck
304- entry : make -C docs/ linkcheck SPHINXOPTS=-W
304+ entry : uv run --extra=dev sphinx-build -M linkcheck docs/source docs/build
305+ -W
305306 language : python
306307 types_or : [rst]
307308 stages : [manual]
@@ -310,7 +311,8 @@ repos:
310311
311312 - id : spelling
312313 name : spelling
313- entry : make -C docs/ spelling SPHINXOPTS=-W
314+ entry : uv run --extra=dev sphinx-build -M spelling docs/source docs/build
315+ -W
314316 language : python
315317 types_or : [rst]
316318 stages : [manual]
@@ -319,7 +321,7 @@ repos:
319321
320322 - id : docs
321323 name : Build Documentation
322- entry : make docs
324+ entry : uv run --extra=dev sphinx-build -M html docs/source docs/build -W
323325 language : python
324326 stages : [manual]
325327 pass_filenames : false
Original file line number Diff line number Diff line change 11SHELL := /bin/bash -euxo pipefail
2-
3- # Treat Sphinx warnings as errors
4- SPHINXOPTS := -W
5-
62.PHONY : docs
73docs :
8- make -C docs clean html SPHINXOPTS= $( SPHINXOPTS )
4+ uv run --extra=dev sphinx-build -M html docs/source docs/build -W
95
106.PHONY : open-docs
117open-docs :
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments