Add rstcheck

This commit is contained in:
Cédric Krier
2023-03-15 16:33:19 +01:00
parent ac4d4a7fbb
commit b719d8aed1
11 changed files with 39 additions and 36 deletions
+2 -1
View File
@@ -57,11 +57,12 @@ documentation:
paths:
- .cache/pip/http
before_script:
- pip install sphinx-lint
- pip install sphinx-lint rstcheck[sphinx]
script:
- cd "${PACKAGE}"
- python -m sphinx -T -E -W -n -b html ${DOC_DIR} _build/html
- python -m sphinxlint ${DOC_DIR}
- rstcheck --recursive ${DOC_DIR}
- |
if [ "${CHECK_LINK}" ]; then
python -m sphinx -T -E -W -n -b linkcheck ${DOC_DIR} _build;