Re: split func.sgml to separated individual sgml files
Andrew Dunstan <andrew@dunslane.net>
From: Andrew Dunstan <andrew@dunslane.net>
To: Florents Tselai <florents.tselai@gmail.com>,
Euler Taveira <euler@eulerto.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, 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-09-02T14:54:08Z
Lists: pgsql-hackers
On 2025-09-01 Mo 11:44 AM, Florents Tselai wrote: > > >> On 1 Sep 2025, at 4:35 PM, Euler Taveira <euler@eulerto.com> wrote: >> >> On Mon, Sep 1, 2025, at 7:35 AM, Florents Tselai wrote: >>> While working on this https://commitfest.postgresql.org/patch/6020/ >>> I discovered that when changing for func/func-aggregate.sgml, the HTML >>> wasn’t marked for update. >>> >>> IIUC the doc/Makefile should be updated as attached, right ? >>> >> >> Good catch. >> >> However, your patch doesn't fix all issues. The check target >> (check-tabs and >> check-nbsp) is broken; these targets should also include the func files. >> > > Ah, you’re right, but then again, I’d expect ALL_SGML to be used > consistently, but it isn't and I didn't check. > v3 does that. > Note that GENERATED_SGML where'te included in these two targets but I > think there's no harm in checking them too. > > > Do we actually care about those? I don't want to add needless cycles anywhere. I note that the meson.build doesn't appear to have a check target at all, or anything that looks for hard tabs or nbsps.Those checks were added to the Makefile back in October in commit 5b7da5c261d, but that got missed even though Daniel had mentioned it in the discussion thread.[1] cheers andrew [1] https://www.postgresql.org/message-id/F7102912-0BDA-42A3-BDCF-8A4CBD1CC688%40yesql.se -- Andrew Dunstan EDB:https://www.enterprisedb.com
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