agora inbox for pgsql-docs@postgresql.org  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: pgsql-docs@lists.postgresql.org
Subject: Re: Hyperlinks for source file references
Date: Mon, 25 Sep 2023 14:22:47 +0200
Message-ID: <202309251222.lglg4cjyv7uj@alvherre.pgsql> (raw)
In-Reply-To: <7C6E4AF2-62BA-49AB-8EC6-FA27136A8B88@yesql.se>

On 2023-Sep-25, Daniel Gustafsson wrote:

> This does of course present a question for the backbranches, pointing to the
> HEAD version in the docs for a previous major release isn't entirely accurate.
> On the other hand, we already do that today in the above tableam page so if we
> don't like that we might as well sort out now what to do about that.

I think you can just change the ;hb=HEAD parameter in the URL to the
current branch.

https://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=src/include/access/tableam.h;hb=REL_12_...
https://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=src/include/access/tableam.h;hb=master

It should be easy to add a line to version.sgml that expands to the
current branch.

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/





view thread (6+ messages)  latest in thread

Message-ID: <202309251222.lglg4cjyv7uj@alvherre.pgsql>
Permalink:  ../202309251222.lglg4cjyv7uj@alvherre.pgsql/
Also on:    postgresql.org/message-id/202309251222.lglg4cjyv7uj@alvherre.pgsql

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: pgsql-docs@postgresql.org
  Cc: alvherre@alvh.no-ip.org, daniel@yesql.se, pgsql-docs@lists.postgresql.org
  Subject: Re: Hyperlinks for source file references
  In-Reply-To: <202309251222.lglg4cjyv7uj@alvherre.pgsql>

* 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