[Bug 284471] Defunct links in the books collection on download.freebsd.org/ftp/doc/en/books
Date: Mon, 17 Feb 2025 18:30:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284471
Jim B. <jpb@jimby.name> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jpb@jimby.name
--- Comment #1 from Jim B. <jpb@jimby.name> ---
I'm explaining the problem in more detail. My hugo skills are not quite there
to solve this problem.
When building HTML output:
cd doc/documentation
make html DOC_LANG=en
The resulting book format in
file:///home/user/doc/documentation/public/en/books/fdp-primer/index.html
renders the file _index.adoc from the top of the fdp-primer content tree.
Pages in html book format contain "Prev", "Home", and "Next" buttons (as
needed) at the bottom of the page.
The *first* "Next" button is correctly formatted and leads to
file:///home/user/doc/documentation/public/en/books/fdp-primer/preface/index.html
The "Next" button on that page, and all subsequent pages duplicate the "book"
path element as described by the OP.
I've traced this issue to the beastie theme file:
~/doc/documentation/themes/beastie/layouts/books/list.html
but here is where my skill level ends :-(
--
You are receiving this mail because:
You are the assignee for the bug.