Skip to content

Commit 6cd2875

Browse files
committed
fix: add actual link check step to sphinx_build_link_check.sh
The script was named sphinx_build_link_check and commented as 'Build locally, and then check links' but only ran the HTML build step. This adds the missing `sphinx-build -b linkcheck` command to actually check links as intended. Fixes #284
1 parent 635026c commit 6cd2875

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22
# halt script on error
33
set -e
4-
# Build locally, and then check links
5-
sphinx-build -E -W source build
4+
# Build the HTML docs
5+
sphinx-build -E -W source build
6+
# Check links in the docs
7+
sphinx-build -b linkcheck source build/linkcheck

0 commit comments

Comments
 (0)