Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Aug 2021 17:23:41 +0200
From:      Javier <nixlist@outlook.es>
To:        freebsd-doc@FreeBSD.org
Subject:   All web FAQ hash links to HandBook broken
Message-ID:  <BYAPR01MB53827A52045EB58A76253E9DC4F09@BYAPR01MB5382.prod.exchangelabs.com>

next in thread | raw e-mail | index | archive | help
Hi,

Any link pointing to HandBook from FAQ web page pointing to a hash
(#) do not work.

They just open the HandBook index page at the top as it lacks anchors
with name attributes (said deprecated) or id attributes.

It could be as simple to fix as adding an id attribute to each link
in HandBook tree where the value is the hash of that tree entry, if it
has one.

Example, from FAQ page, a link pointing to:
https://docs.freebsd.org/en/books/handbook/#eresources-mail

Should point to this item:
<a href=eresources/#eresources-mail>Mailing Lists</a>

That should actually look like this in the source code to work:

<a href="eresources/#eresources-mail" id="eresources-mail">Mailing
Lists</a>


I think this is the easiest way to fix it. The hard would be to point
to the exact section and exact hash/position on that page.


There are other errors with links such:
https://docs.freebsd.org/en/books/faq/#current

That do not point to anywhere..., maybe should point to
#current-stable or whatever, with the same procedure fix.

Regards.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BYAPR01MB53827A52045EB58A76253E9DC4F09>