Re: split func.sgml to separated individual sgml files
Nazir Bilal Yavuz <byavuz81@gmail.com>
From: Nazir Bilal Yavuz <byavuz81@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Peter Eisentraut <peter@eisentraut.org>,
Andrew Dunstan <andrew@dunslane.net>, Florents Tselai <florents.tselai@gmail.com>,
Euler Taveira <euler@eulerto.com>, jian he <jian.universality@gmail.com>, "David G. Johnston" <david.g.johnston@gmail.com>,
Corey Huinker <corey.huinker@gmail.com>, pgsql-hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-10-03T11:48:28Z
Lists: pgsql-hackers
Hi, On Thu, 2 Oct 2025 at 23:16, Tom Lane <tgl@sss.pgh.pa.us> wrote: > > Peter Eisentraut <peter@eisentraut.org> writes: > > I suspect what you're really after here is the functionality of the > > check-tabs and check-nbsp targets. So the new Perl script really just > > has to cover those two and doesn't have to bother with xmllint. And > > then you just call that script as part of the postgres-full.xml target. > > Yeah, that's what I was imagining: replace the xmllint call in > postgres-full.xml with this new script that will also run the > tab/nbsp checks. Does not this mean we can not run the syntax check by itself in the make builds? If I understand correctly, we need to create postgres-full.xml each time we want to run the syntax check, right? I was under the impression that the sgml_syntax_check.pl test would be a lightweight way to do a syntax check, so that we could easily use it by itself or in the CI. -- Regards, Nazir Bilal Yavuz Microsoft
Commits
-
Revert "Improve docs syntax checking"
- 5b5e8a29c13a 19 (unreleased) landed
-
Improve docs syntax checking
- b29225627262 19 (unreleased) landed
-
Teach doc/src/sgml/Makefile about the new func/*.sgml files.
- 170a8a3f4605 19 (unreleased) cited
-
Split func.sgml into more manageable pieces
- 4e23c9ef65ac 19 (unreleased) landed
-
Doc: add check to detect non-breaking spaces in the docs.
- 5b7da5c261d1 18.0 cited