pgsql: Recreate website's formatting for "website" doc builds. - Mailing list pgsql-committers

From Peter Geoghegan
Subject pgsql: Recreate website's formatting for "website" doc builds.
Date
Msg-id E1j2nMa-0004Au-28@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Recreate website's formatting for "website" doc builds.

The stylesheets used for the HTML documentation rendered on
postgresql.org have shifted, and no longer matched what was expected by
"make STYLE=website html" builds performed locally.  Local doc builds
did not reflect other aspects of the website, including font and
margins.

This patch updates the references to use the current set of stylesheets
that are used by the documentation on postgresql.org. This also wraps
the documentation preview in a HTML container so it can keep the content
within similar margins to those found on the website.

The documentation on building the docs is updated to reflect this
change, and to let the documentation builder know that an external
network connection is required to properly preview documentation built
with "make STYLE=website html" (which was true prior to this patch too,
but not mentioned).

Author: Jonathan Katz
Reported-By: Tom Lane
Discussion: https://postgr.es/m/1375.1581446233@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/317906f2a634090a79ca95d5816931c4ce8dca5a

Modified Files
--------------
doc/src/sgml/docguide.sgml              | 7 +++++++
doc/src/sgml/stylesheet-html-common.xsl | 8 ++++++++
doc/src/sgml/stylesheet.xsl             | 7 ++++++-
3 files changed, 21 insertions(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Remove pg_regress' --load-language option.
Next
From: Tom Lane
Date:
Subject: pgsql: Don't require pg_class.dat to contain correct relnatts values.