]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Improve docs syntax checking
authorAndrew Dunstan <andrew@dunslane.net>
Tue, 30 Sep 2025 19:39:15 +0000 (15:39 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Thu, 2 Oct 2025 14:26:32 +0000 (10:26 -0400)
commitb292256272623d1a7532f3893a4565d1944742b4
treea5594ed91d381971e1c169a85f151a87f274a519
parent482bc0705d807a8cf4d959e9a42f179ff4b9b121
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
.cirrus.tasks.yml
doc/src/sgml/Makefile
doc/src/sgml/meson.build
doc/src/sgml/sgml_syntax_check.pl [new file with mode: 0755]