Improve docs syntax checking

Andrew Dunstan <andrew@dunslane.net>

Commit: b292256272623d1a7532f3893a4565d1944742b4
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2025-10-02T14:26:32Z
Improve docs syntax checking

Move the checks out of the Makefile into a perl script that can be
called from both the Makefile and meson.build. The set of files checked
is simplified, so it is just all the sgml and xsl files found in
docs/src/sgml directory tree.

Along the way make some adjustments to .cirrus.tasks.yml to support this
better in CI.

Also ensure that the checks are part of the Makefile's html target.

Author: Nazir Bilal Yavuz <byavuz81@gmail.com>
Co-Author: Andrew Dunstan <andrew@dunslane.net>

Discussion: https://postgr.es/m/CAN55FZ3BnM+0twT-ZWL8As9oBEte_b+SBU==cz6Hk8JUCM_5Wg@mail.gmail.com

Files

PathChange+/−
.cirrus.tasks.yml modified +3 −0
doc/src/sgml/Makefile modified +3 −15
doc/src/sgml/meson.build modified +23 −0
doc/src/sgml/sgml_syntax_check.pl added +77 −0

Discussion