Added anchor links generation function for refsect1,2,3

Started by Oleg Gurevalmost 2 years ago2 messageshackers
Beta feature

Hackorum builds and tests every patch posted to the lists, not only commitfest submissions. This is Hackorum's own CI rather than the PostgreSQL project's, and it is still under testing - please report anything that looks wrong.

appliessuccessCI history

You can run a PostgreSQL built from this patch straight from Docker, with no checkout and no build:

docker run --rm -p 5432:5432 ghcr.io/hackorum-dev/postgres-patch:t50399
psql -h localhost -U postgres

Built from patchset v1 (message #1), August 17, 2026 at 09:44 AM.

Jump to latest
#1Oleg Gurev
gurevoleg@gmail.com

Hello.

There is small patch for documentation. Some extend of "Make HTML ids
discoverable" by Brar Piening.
Discussion:
/messages/by-id/CAB8KJ=jpuQU9QJe4+RgWENrK5g9jhoysMw2nvTN_esoOU0=a_w@mail

It adds docbook function, that generates anchor links ("#" symbol
related to any refsect1/2/3).
e.g. for amcheck or pg_restore
You can compile documentation and anchor will be available in local
.html by placing mouse cursor on refsect header.

Best regards, Oleg Gurev.

Attachments:

anchors.patchtext/x-patch; charset=UTF-8; name=anchors.patchDownload+39-0
amcheck.htmltext/html; charset=UTF-8; name=amcheck.htmlDownload
#2Stepan Neretin
sndcppg@gmail.com
In reply to: Oleg Gurev (#1)
Re: Added anchor links generation function for refsect1,2,3

It adds docbook function, that generates anchor links ("#" symbol
related to any refsect1/2/3).

Hi there! It looks good to me that you've made some changes. Anchors are a
great addition for direct linking. I hope this update will make it easier
to write the documentation.
Best regards, Stepan Neretin.