Bug 247285 - misc/freebsd-doc-*: local doc / some links should not be local but point out to the internet
Summary: misc/freebsd-doc-*: local doc / some links should not be local but point out ...
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Document Engineering Group (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-15 18:48 UTC by Walter von Entferndt
Modified: 2023-08-01 09:58 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Walter von Entferndt 2020-06-15 18:48:16 UTC
Hi, it's me again...

version: 12.1-RELEASE
*-freebsd-doc installed from pkg(8)

file:///usr/local/share/doc/freebsd/en_US.ISO8859-1/books/handbook/current-stable.html
and probably others, as well, incl. translations.

The link name: www.freebsd.org/releng
link address: file:///usr/local/share/doc/releng/

should instead point to the "real" thing, unless a releng.html is installed locally with the docs, which would be a good idea.

So, unfortunately this is a unwanted consequence of running a script to change all "http://www.freebsd.org/" to local "file:///usr/local/share/doc/", which is by itself a good idea.

THX
Comment 1 Pau Amma 2022-04-11 06:11:45 UTC
Is this still applicable with the current doc-building toolchain?
Comment 2 Danilo G. Baio freebsd_committer freebsd_triage 2022-04-11 21:08:04 UTC
Hi.

Sorry about the delay and thanks for your report.

We have now an html target for offline usage, but the html build was disabled in misc/freebsd-doc-* ports.

Passing this PR to doceng@ to fix/keep track.

1 - https://cgit.freebsd.org/doc/tree/documentation/Makefile#n12

Regards.
Comment 3 Pau Amma 2022-06-06 00:02:45 UTC
(In reply to Danilo G. Baio from comment #2)

So is it a doc PR, a ports PR, or both?
Comment 4 Marc Fonvieille freebsd_committer freebsd_triage 2022-06-08 15:17:35 UTC
(In reply to Danilo G. Baio from comment #2)
To be be more precise: it's not possible now to build a localized HTML w/o building the en_US version.  Building the whole en_US HTML files each time a localized version is built is a total waste.
Comment 5 Sergio Carlavilla Delgado freebsd_committer freebsd_triage 2023-08-01 09:58:19 UTC
Fixed with the last Hugo version 0.115.4