pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: docs: html: load stylesheet via custom.css.source
Date: Wed, 05 Apr 2023 04:46:05 +0000
Message-ID: <E1pjv24-001RDW-LL@gemulon.postgresql.org> (raw)

docs: html: load stylesheet via custom.css.source

Until now the meson built docs did not have a working reference to the css
stylesheet, it was copied in the make target. Instead of duplicating that for
meson, use the docbook-xsl parameter custom.css.source to reference it. An
additional benefit of that approach is that the stylesheet is now included in
the single-file HTML documentation.

Reported-by: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Discussion: https://postgr.es/m/3fc3bb9b-f7f8-d442-35c1-ec82280c564a@enterprisedb.com

Branch
------
master

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

Modified Files
--------------
doc/src/sgml/Makefile                    |  3 +--
doc/src/sgml/meson.build                 |  2 +-
doc/src/sgml/stylesheet-html-common.xsl  |  8 ++++++++
doc/src/sgml/stylesheet-html-nochunk.xsl |  3 +++
doc/src/sgml/stylesheet.css.xml          |  8 ++++++++
doc/src/sgml/stylesheet.xsl              | 11 -----------
6 files changed, 21 insertions(+), 14 deletions(-)



Message-ID: <E1pjv24-001RDW-LL@gemulon.postgresql.org>
Permalink:  ../E1pjv24-001RDW-LL@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1pjv24-001RDW-LL@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: andres@anarazel.de, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: docs: html: load stylesheet via custom.css.source
  In-Reply-To: <E1pjv24-001RDW-LL@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