DOCS QUESTION - space added within synopsis replaceable tag.
DOCS QUESTION - space added within synopsis replaceable tag.
От:
Peter Smith <smithpb2250@gmail.com>
Дата:
Hi, Looking at the Server Applications page synopses: AFAICT whenever there is a preceeding in the SGML, then the next part renders jammed against that group. It seems like historically some people did not like that result, so have added a space in the to make the rendered synopsis look (they judged) a bit more readable. But this "fix" is quite ad-hoc: Only a couple of pages do it, other pages do not. e.g initdb - space added in datadir pg_rewind - space in datadir versus pg_checksums - no space before datadir pg_controldata - no space before datadir pg_createsubscriber - no space before any of dbname,datadir,connstr pg_resetwal - no space before datadir ~~~ The only examples I can find that do this are in initdb.sgml and pg_rewind.sgml. What do others think about it, and what is the next step? 0. Do nothing. It's harmless. Leave as-is. 1. Remove the space hacks, and just let the SGML rendering do whatever it wants. 2. Add more space hacks to other places so they render the same. TBH, I prefer option 0. Thanks. ====== [1] initdb - https://www.postgresql.org/docs/devel/app-initdb.html [2] pg_checksums - https://www.postgresql.org/docs/devel/app-pgchecksums.html Kind Regards. Peter Smith. Fujitsu Australia.
Re: DOCS QUESTION - space added within synopsis replaceable tag.
От:
Peter Smith <smithpb2250@gmail.com>
Дата:
On Thu, Jul 30, 2026 at 4:21 AM Bruce Momjian wrote: > ... > > Patch applied back to PG 19, thanks. I always thought that spacing was > odd. > Thanks for pushing! I've marked the CF entry [1] as "committed" ====== [1] https://commitfest.postgresql.org/patch/7054/ Kind Regards, Peter Smith. Fujitsu Australia
Re: DOCS QUESTION - space added within synopsis replaceable tag.
От:
Bruce Momjian <bruce@momjian.us>
Дата:
On Thu, Jul 30, 2026 at 10:10:16AM +1000, Peter Smith wrote: > On Thu, Jul 30, 2026 at 4:21 AM Bruce Momjian wrote: > > > ... > > > > Patch applied back to PG 19, thanks. I always thought that spacing was > > odd. > > > > Thanks for pushing! > > I've marked the CF entry [1] as "committed" Oh, thanks, sorry I missed that. That old spacing sure was strange. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com Do not let urgent matters crowd out time for investment in the future.