pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Doc: re-re-revise markup for tables of functions.
Date: Thu, 30 Apr 2020 04:34:37 +0000
Message-ID: <E1jU0uD-000756-Oc@gemulon.postgresql.org> (raw)

Doc: re-re-revise markup for tables of functions.

Make the markup a bit less ad-hoc.  A function-table cell now contains
several <para> units, and we label the ones that contain function
signatures with role="func_signature".  The CSS or FO stylesheets then
key off of that to decide how to set the indentation.  A very useful
win from this approach is that we can have more than one signature
entry per table cell, simplifying the documentation of closely-related
operators and functions.

This patch mostly just replaces the markup in the tables I converted so
far.  But I did alter a couple of places where multiple signatures were
helpful.

Discussion: https://postgr.es/m/5561.1587922854@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4ad047a6eac356436b88681a9383a52cde2ffe9c

Modified Files
--------------
doc/src/sgml/func.sgml             | 4730 ++++++++++++++++++++++--------------
doc/src/sgml/stylesheet-common.xsl |    7 -
doc/src/sgml/stylesheet-fo.xsl     |   35 +-
doc/src/sgml/stylesheet.css        |   17 +-
4 files changed, 2962 insertions(+), 1827 deletions(-)



Message-ID: <E1jU0uD-000756-Oc@gemulon.postgresql.org>
Permalink:  ../E1jU0uD-000756-Oc@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jU0uD-000756-Oc@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Doc: re-re-revise markup for tables of functions.
  In-Reply-To: <E1jU0uD-000756-Oc@gemulon.postgresql.org>
  References: <E1jU0uD-000756-Oc@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