Check documentation links only when CHECK_LINK is set
(grafted from 8a7031c7e3f8d0117d2f57fbf43b0da5c231c738) --HG-- branch : 6.0
This commit is contained in:
+4
-1
@@ -56,7 +56,10 @@ documentation:
|
||||
script:
|
||||
- cd "${PACKAGE}"
|
||||
- python -m sphinx -T -E -W -n -b html ${DOC_DIR} _build/html
|
||||
- python -m sphinx -T -E -W -n -b linkcheck ${DOC_DIR} _build
|
||||
- |
|
||||
if [ "${CHECK_LINK}" ]; then
|
||||
python -m sphinx -T -E -W -n -b linkcheck ${DOC_DIR} _build;
|
||||
fi
|
||||
rules:
|
||||
- changes:
|
||||
- ${PACKAGE}/${DOC_DIR}/**/*
|
||||
|
||||
Reference in New Issue
Block a user