[PATCH] Add CSS to support discoverable ids in the public documentation website

From: Brar Piening <brar(at)gmx(dot)de>
To: pgsql-www(at)lists(dot)postgresql(dot)org
Cc: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
Subject: [PATCH] Add CSS to support discoverable ids in the public documentation website
Date: 2023-04-13 13:41:28
Message-ID: d987a4a7-62c3-7e0c-860f-1c96fc2117d9@gmx.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-www

Dear PostgreSQL website maintainers,

commit e2922702a3 added the XSLT transformation to add links (<a
href="#...">#</a>) that make elements with ids discoverable to the
postgresql docs. I expect the links to (unconditionally due to the lack
of CSS support for now) appear in the devel-docs with the next nightly
build.

As suggested in [1] I've created a patch for pgweb that adds the CSS to
hide the links and display them when hovering the element they are
referring to.

Since I wasn't fully aware of the correct procedure, I initially sent
the patch to pgsql-hackers but I've learnt that it should be sent to
this list instead.

Attached is the (unmodified) patch I initially sent to pgsql-hackers in
[2]. Please see the thread in pgsql-hackers for the discussion so far.

Regards,
Brar

[1]
https://www.postgresql.org/message-id/20230323093555.3icw7zetwtmtrrzu@alvherre.pgsql
[2]
https://www.postgresql.org/message-id/91edf03b-7b63-67b6-7f44-bfeb48e97056@gmx.de

Attachment Content-Type Size
002-add-discoverable-id-style_v1.pgweb.patch text/plain 467 bytes

Responses

Browse pgsql-www by date

  From Date Subject
Next Message Peter Geoghegan 2023-04-13 18:18:33 CSS/JS 404 issues with documentation on postgresql.org
Previous Message Richard Yen 2023-04-12 15:54:27 Re: Wiki Editor request