public inbox for [email protected]  
help / color / mirror / Atom feed
From: Clodoaldo Pinto <[email protected]>
To: [email protected]
Subject: Themed offline HTML docs
Date: Sun, 29 Mar 2026 10:39:08 -0300
Message-ID: <CA+Z73LFZS4iPdgjjd=CUJifdTq2oBJHQtFvw2JUPLg1Gp--FYQ@mail.gmail.com> (raw)

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


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: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Themed offline HTML docs
  In-Reply-To: <CA+Z73LFZS4iPdgjjd=CUJifdTq2oBJHQtFvw2JUPLg1Gp--FYQ@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox