This is something I have been noticing for a while, and a hint by 
Sandra in a somewhat similar context taught me how to avoid it.

With this patch the bottom navigation of the page at
  https://gcc.gnu.org/onlinedocs/gnat_ugn/index.html
changes from
  Next: About This Guide, Up: (dir)   [Contents][Index]
to 
  Next: About This Guide   [Contents][Index]
and the invalid "(dir)" link that pointed to
  http://gcc.gnu.org/onlinedocs/dir/index.html
which does not exist is gone.

Pushed.


Gerald (who too late realized that in the Git world he should 
       have added this explanation to the actual commit message)


commit c660464a9ef07726a5d5217b4b39def189ec21e6
Author: Gerald Pfeifer <ger...@pfeifer.com>
Date:   Sun Apr 11 11:23:41 2021 +0200

    ada: Avoid invalid "up" link in manual
    
    gcc/ada/
            * gnat_ugn.texi (Top): Avoid invalid "up" link.

diff --git a/gcc/ada/gnat_ugn.texi b/gcc/ada/gnat_ugn.texi
index 360177b042b..ae8f7580355 100644
--- a/gcc/ada/gnat_ugn.texi
+++ b/gcc/ada/gnat_ugn.texi
@@ -41,7 +41,7 @@ Copyright @copyright{} 2008-2021, Free Software Foundation
 @c %** end of user preamble
 
 @ifnottex
-@node Top
+@node Top, About This Guide
 @top GNAT User's Guide for Native Platforms
 @insertcopying
 @end ifnottex

Reply via email to