]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Lint manual pages
authorMichal Nowak <mnowak@isc.org>
Mon, 7 Dec 2020 17:08:53 +0000 (18:08 +0100)
committerMichal Nowak <mnowak@isc.org>
Fri, 12 Feb 2021 11:15:02 +0000 (12:15 +0100)
As we generate manual pages from reStructuredText sources, we don't have
absolute control on manual page output and therefore 'mandoc -Tlint' may
always report warnings we can't eliminate. In light of this some mandoc
warnings need to be ignored.

.gitlab-ci.yml

index 03d6ae6cb4b3e84f1a77cf486d2a17ed80c634e9..d19b25a04831dc47ee95b90cf69ff83fe8c417b6 100644 (file)
@@ -545,6 +545,7 @@ docs:
     - *configure
     - make -j${BUILD_PARALLEL_JOBS:-1} -k doc V=1
     - qpdf --check doc/arm/_build/latex/Bv9ARM.pdf
+    - find doc/man/ -maxdepth 1 -name "*.[0-9]" -exec mandoc -T lint "{}" \; | ( ! grep -v -e "skipping paragraph macro. sp after" -e "unknown font, skipping request. ft C" )
   needs:
     - job: autoreconf
       artifacts: true