Re: copy.sgml: add XML ID attributes to <varlistentry> tags.

From: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
To: jian he <jian(dot)universality(at)gmail(dot)com>
Cc: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: copy.sgml: add XML ID attributes to <varlistentry> tags.
Date: 2025-11-14 11:05:23
Message-ID: 202511141101.kiv5idbnwn2b@alvherre.pgsql
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On 2025-Oct-29, jian he wrote:

> hi.
>
> similar to what we did in
> https://git.postgresql.org/cgit/postgresql.git/commit/?id=78ee60ed84bb3a1cf0b6bd9a715dcbcf252a90f5
>
> I happened to notice COPY.sgml <refsect1> Parameters section is un-linkable.
> The Parameters section in copy.sgml has shorter explanations compared to
> create_table.sgml, but it contains a long list of options.
>
> So I think making Each parameter linkable would improve readability.

Makes sense. I have pushed this. Two minor tweaks: a) I added IDs to
refsect1s as well, because we do that in the other ref pages, and it
seemed out of place to have them in parameters but not for the sections,
and b) I renamed the ones in your patch to use all-lowercase (as well as
dash instead of underscore), as well as added the "-params" marker to
create a sort of hierarchy of the IDs, the way we do in other pages.

Thanks!

--
Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/
"Linux transformó mi computadora, de una `máquina para hacer cosas',
en un aparato realmente entretenido, sobre el cual cada día aprendo
algo nuevo" (Jaime Salinas)

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Bruce Momjian 2025-11-14 14:09:45 Re: Quoting of *_command arguments
Previous Message Daniel Gustafsson 2025-11-14 09:04:03 Re: Documentation improvement patch