pgsql: Improve docs syntax checking - Mailing list pgsql-committers

From Andrew Dunstan
Subject pgsql: Improve docs syntax checking
Date
Msg-id E1v4O2l-0018fZ-34@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b292256272623d1a7532f3893a4565d1944742b4

Modified Files
--------------
.cirrus.tasks.yml                 |  3 ++
doc/src/sgml/Makefile             | 18 ++-------
doc/src/sgml/meson.build          | 23 ++++++++++++
doc/src/sgml/sgml_syntax_check.pl | 77 +++++++++++++++++++++++++++++++++++++++
4 files changed, 106 insertions(+), 15 deletions(-)


pgsql-committers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: pgsql: doc: Improve wording for base64url definition
Next
From: Daniel Gustafsson
Date:
Subject: pgsql: Fixes for comments in test_bitmapset