Re: Duplicating website's formatting in local doc builds

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: "Jonathan S(dot) Katz" <jkatz(at)postgresql(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Pg Docs <pgsql-docs(at)lists(dot)postgresql(dot)org>
Subject: Re: Duplicating website's formatting in local doc builds
Date: 2020-02-11 20:41:34
Message-ID: CAH2-Wzka_NfJGfL9UvQ1Jau1gqerat2zR9O0iAm3DgQEAYebJQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Tue, Feb 11, 2020 at 11:40 AM Jonathan S. Katz <jkatz(at)postgresql(dot)org> wrote:
> Anyway, attached is a first attempt at a patch. I tried a few different
> variations but in my quick review of it, I could not figure out how to
> make a XSLT respect having multiple stylesheets (likely due to my lack
> of familiarity with XSLT).

I tried this patch out. The alignment is a little off, since the docs
don't appear in the website's frame, and lack the website's header. It
would be nice if the same margins appeared to the left and to the
right. But even still, it's a vast improvement.

There are a couple of inconsistencies in the tables and diagrams that
appear on this documentation page (on my local build that uses your
patch):

https://www.postgresql.org/docs/devel/storage-page-layout.html

The tables look different, which isn't too bad. The "Figure 68.1. Page
Layout" diagram is massive, though. IIRC was an issue that had to be
addressed on the website a little after the introduction of images
into the docs. It seems as if my local build of the docs needs that
same fix.

--
Peter Geoghegan

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Jonathan S. Katz 2020-02-11 20:49:53 Re: Duplicating website's formatting in local doc builds
Previous Message Jonathan S. Katz 2020-02-11 19:40:44 Re: Duplicating website's formatting in local doc builds