pgsql: doc: Make HTML ids discoverable

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: doc: Make HTML ids discoverable
Date: 2023-04-13 08:26:31
Message-ID: E1pmsHm-002pTN-Mf@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

doc: Make HTML ids discoverable

In the HTML output, this decorates section headers and variable list
terms with a marker ("#") that is a link to the same section/term.
That way, links inside a page can be discovered for easier sharing.
The marker only appears when hovering.

This now requires that all elements that are candidates for such a
link have an id attribute. Otherwise, an error will be generated.
All previously missing ids have been added prior to this patch.

Author: Brar Piening <brar(at)gmx(dot)de>
Reviewed-by: Karl O. Pinc <kop(at)karlpinc(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/CAB8KJ=jpuQU9QJe4+RgWENrK5g9jhoysMw2nvTN_esoOU0=a_w(at)mail(dot)gmail(dot)com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e2922702a3027945f139f9b0c7b4686423304e21

Modified Files
--------------
doc/src/sgml/stylesheet-html-common.xsl | 127 ++++++++++++++++++++++++++++++++
doc/src/sgml/stylesheet.css | 11 +++
2 files changed, 138 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Stephen Frost 2023-04-13 12:56:21 pgsql: De-Revert "Add support for Kerberos credential delegation"
Previous Message Kyotaro Horiguchi 2023-04-13 08:20:12 Re: pgsql: Allow logical decoding on standbys