Skip to content

Commit 0b8b7ad

Browse files
committed
docs: fail pathfinder and core builds on warnings
Enable `-W --keep-going` for the pathfinder and core Sphinx builds so warning regressions fail the docs workflow while still reporting the full warning set. Made-with: Cursor
1 parent 359b9b8 commit 0b8b7ad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cuda_core/docs/build_docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ if [[ -z "${SPHINX_CUDA_CORE_VER}" ]]; then
2222
fi
2323

2424
# build the docs (in parallel)
25-
SPHINXOPTS="-j 4 -d build/.doctrees" make html
25+
SPHINXOPTS="-W --keep-going -j 4 -d build/.doctrees" make html
2626

2727
# for debugging/developing (conf.py), please comment out the above line and
2828
# use the line below instead, as we must build in serial to avoid getting

cuda_pathfinder/docs/build_docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ if [[ -z "${SPHINX_CUDA_PATHFINDER_VER}" ]]; then
2626
fi
2727

2828
# build the docs (in parallel)
29-
SPHINXOPTS="-j 4 -d build/.doctrees" make html
29+
SPHINXOPTS="-W --keep-going -j 4 -d build/.doctrees" make html
3030

3131
# for debugging/developing (conf.py), please comment out the above line and
3232
# use the line below instead, as we must build in serial to avoid getting

0 commit comments

Comments
 (0)