Обсуждение: pgsql: Improve docs syntax checking

Поиск
Список
Период
Сортировка

pgsql: Improve docs syntax checking

От
Andrew Dunstan
Дата:
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(-)