File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
- name : Check Sphinx external links
1
+ name : Check Sphinx links
2
2
on :
3
3
pull_request :
4
4
schedule :
5
5
- cron : ' 0 5 * * *' # once per day at midnight ET
6
6
workflow_dispatch :
7
7
8
8
jobs :
9
- check-external -links :
9
+ check-sphinx -links :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
12
- name : Cancel non-latest runs
31
31
python -m pip install -r requirements-doc.txt
32
32
python -m pip install .
33
33
34
- - name : Check Sphinx external links
35
- run : sphinx-build -b linkcheck ./docs/source ./test_build
34
+ - name : Check Sphinx internal and external links
35
+ run : sphinx-build -W - b linkcheck ./docs/source ./test_build
Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ changes:
149
149
@echo " The overview file is in $( BUILDDIR) /changes."
150
150
151
151
linkcheck :
152
- $(SPHINXBUILD ) -b linkcheck $(ALLSPHINXOPTS ) $(BUILDDIR ) /linkcheck
152
+ $(SPHINXBUILD ) -W - b linkcheck $(ALLSPHINXOPTS ) $(BUILDDIR ) /linkcheck
153
153
@echo
154
154
@echo " Link check complete; look for any errors in the above output " \
155
155
" or in $( BUILDDIR) /linkcheck/output.txt."
Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ if "%1" == "changes" (
183
183
)
184
184
185
185
if " %1 " == " linkcheck" (
186
- %SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% %BUILDDIR% /linkcheck
186
+ %SPHINXBUILD% -W - b linkcheck %ALLSPHINXOPTS% %BUILDDIR% /linkcheck
187
187
if errorlevel 1 exit /b 1
188
188
echo .
189
189
echo .Link check complete; look for any errors in the above output ^
You can’t perform that action at this time.
0 commit comments