|
@@ -179,6 +179,7 @@ build_docs:
|
|
|
paths:
|
|
paths:
|
|
|
- docs/doxygen-warning-log.txt
|
|
- docs/doxygen-warning-log.txt
|
|
|
- docs/sphinx-warning-log.txt
|
|
- docs/sphinx-warning-log.txt
|
|
|
|
|
+ - docs/sphinx-warning-log-sanitized.txt
|
|
|
- docs/_build/html
|
|
- docs/_build/html
|
|
|
expire_in: 1 mos
|
|
expire_in: 1 mos
|
|
|
script:
|
|
script:
|
|
@@ -188,18 +189,7 @@ build_docs:
|
|
|
- test $(cat doxygen-warning-log.txt | wc -l) -eq 0 || ( echo "Doxygen pass had some warnings:" && cat doxygen-warning-log.txt && false )
|
|
- test $(cat doxygen-warning-log.txt | wc -l) -eq 0 || ( echo "Doxygen pass had some warnings:" && cat doxygen-warning-log.txt && false )
|
|
|
- make gh-linkcheck
|
|
- make gh-linkcheck
|
|
|
- make html
|
|
- make html
|
|
|
- # If there are Sphinx warnings, print them and bail out
|
|
|
|
|
- # Ignore warnings (sphinx-known-warnings.txt) already reported in:
|
|
|
|
|
- # https://github.com/sphinx-doc/sphinx/issues/2683
|
|
|
|
|
- # https://github.com/sphinx-doc/sphinx/issues/4041
|
|
|
|
|
- # If a new warning has to be added, then it should be documented as above
|
|
|
|
|
- # Note: this check is not clever enough to ignore the same warning
|
|
|
|
|
- # but reported for different line of documentation.
|
|
|
|
|
- # If s warning stays the same and the line number has changed,
|
|
|
|
|
- # then update 'sphinx-known-warnings.txt' to reflect the new lines numbers.
|
|
|
|
|
- - DIFF_FORMAT="--changed-group-format=%<%> --unchanged-group-format="
|
|
|
|
|
- - LOG_DIFF=$(diff $DIFF_FORMAT sphinx-known-warnings.txt sphinx-warning-log.txt)
|
|
|
|
|
- - test -z "$LOG_DIFF" || ( echo "Sphinx pass had some new warnings:" && echo "$LOG_DIFF" && false )
|
|
|
|
|
|
|
+ - ./check_doc_warnings.sh
|
|
|
|
|
|
|
|
test_nvs_on_host:
|
|
test_nvs_on_host:
|
|
|
stage: test
|
|
stage: test
|