Re: Missing "Up" navigation link between parts and doc root?

Alvaro Herrera <alvherre@2ndquadrant.com>

From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>, Fabien COELHO <coelho@cri.ensmp.fr>, PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Date: 2020-07-03T19:57:44Z
Lists: pgsql-hackers
On 2020-Jul-03, Tom Lane wrote:

> Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> > On 2020-06-21 09:19, Fabien COELHO wrote:
> >> I've been annoyed that the documentation navigation does not always has an
> >> "Up" link. It has them inside parts, but the link disappears and you have
> >> to go for the "Home" link which is far on the right when on the root page
> >> of a part?
> >> 
> >> Is there a good reason not to have the "Up" link there as well?
> 
> > The original stylesheets explicitly go out of their way to do it that 
> > way.
> 
> Can we find any evidence of the reasoning?  As you say, that clearly was
> an intentional choice.

If it helps, this seems to have been first introduced in commit b8691d838be.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



Commits

  1. doc: Don't hide the "Up" link when it is the same as "Home"

  2. Add Up/Home link to the top of the HTML doc output.