pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: doc: Make HTML ids discoverable
Date: Thu, 13 Apr 2023 08:26:31 +0000
Message-ID: <E1pmsHm-002pTN-Mf@gemulon.postgresql.org> (raw)

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@gmx.de>
Reviewed-by: Karl O. Pinc <kop@karlpinc.com>
Discussion: https://www.postgresql.org/message-id/flat/CAB8KJ=jpuQU9QJe4+RgWENrK5g9jhoysMw2nvTN_esoOU0=a_w@mail....

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(+)



Message-ID: <E1pmsHm-002pTN-Mf@gemulon.postgresql.org>
Permalink:  ../E1pmsHm-002pTN-Mf@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1pmsHm-002pTN-Mf@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: doc: Make HTML ids discoverable
  In-Reply-To: <E1pmsHm-002pTN-Mf@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox