Re: Add id's to various elements in protocol.sgml - Mailing list pgsql-hackers

From Dagfinn Ilmari Mannsåker
Subject Re: Add id's to various elements in protocol.sgml
Date
Msg-id 87y220e57b.fsf@wibble.ilmari.org
Whole thread Raw
In response to Re: Add id's to various elements in protocol.sgml  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Responses Re: Add id's to various elements in protocol.sgml  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
List pgsql-hackers
Peter Eisentraut <peter.eisentraut@enterprisedb.com> writes:

> On 18.12.21 00:53, Brar Piening wrote:
>> The purpose is that you can directly link to the id in the public html
>> docs which still gets generated (e. g.
>> https://www.postgresql.org/docs/14/protocol-replication.html#PROTOCOL-REPLICATION-BASE-BACKUP). 
>> Essentially it gives people discussing the protocol and pointing to a
>> certain command or message format the chance to link to the very thing
>> they are discussing instead of the top of the lengthy html page.
>
> Is there a way to obtain those URLs other than going into the HTML
> sources and checking if there is an anchor near where you want go?

I use the jump-to-anchor extension: https://github.com/brettz9/jump-to-anchor/

Some sites have javascript that adds a link next to the element that
becomes visible when hovering, e.g. the NAME and other headings on
https://metacpan.org/pod/perl.

- ilmari



pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: Patch a potential memory leak in describeOneTableDetails()
Next
From: Heikki Linnakangas
Date:
Subject: Re: GiST index build missing smgrimmedsync()?