Themed offline HTML docs

From: Clodoaldo Pinto <clodoaldo(dot)pinto(at)gmail(dot)com>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Themed offline HTML docs
Date: 2026-03-29 13:39:08
Message-ID: CA+Z73LFZS4iPdgjjd=CUJifdTq2oBJHQtFvw2JUPLg1Gp--FYQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-docs

I always wanted to have the dark/light themed HTML docs for offline use.

So I finally did:

wget --mirror https://www.postgresql.org/favicon.ico

wget \
--continue \
--mirror \
--convert-links \
--adjust-extension \
--page-requisites \
--no-parent \
--limit-rate=200k \
https://www.postgresql.org/docs/18/\
https://www.postgresql.org/docs/17/\
https://www.postgresql.org/media/\
https://www.postgresql.org/dyncss/\

I then modified the .pg-shout-box class in /dyncss/base.css?a9fcb4a2.css
including the display line to suppress the announcement:

/** SHOUTOUT BOX */
.pg-shout-box {
background-color: var(--pg-shoutbox-bg-color);
font-weight: 600;
padding-bottom: 0.2rem;
padding-top: 0.2rem;
display: none;
}

Why not include it in the packages instead of the plain one?

Regards, Clodoaldo

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2026-03-29 17:55:11 Re: Documentation clarification request: pg_dumpall and Large Objects
Previous Message Boris Mironov 2026-03-29 05:37:47 Request for cleaner explanation of default_toast_compression parameter