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

Peter Eisentraut <peter.eisentraut@2ndquadrant.com>

From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Fabien COELHO <coelho@cri.ensmp.fr>, PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Date: 2020-07-03T08:59:36Z
Lists: pgsql-hackers

Attachments

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.  We can easily fix that by removing that special case.  See 
attached patch.

That patch only fixes it for the header.  To fix it for the footer as 
well, we'd first need to import the navfooter template to be able to 
customize it.  Not a big problem though.

-- 
Peter Eisentraut              http://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.