git: e4831417a6 - main - handbook: Fix local documentation instructions
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 17 Jan 2022 15:32:17 UTC
The branch main has been updated by trasz: URL: https://cgit.FreeBSD.org/doc/commit/?id=e4831417a67a4c94fbcb438fc37634025fa4bb1d commit e4831417a67a4c94fbcb438fc37634025fa4bb1d Author: Edward Tomasz Napierala <trasz@FreeBSD.org> AuthorDate: 2022-01-17 15:31:47 +0000 Commit: Edward Tomasz Napierala <trasz@FreeBSD.org> CommitDate: 2022-01-17 15:31:51 +0000 handbook: Fix local documentation instructions Previously it referred to a section that doesn't exist and file paths that don't match the actual ones. While here tweak wording. Reviewed By: bcr Sponsored By: EPSRC Differential Revision: https://reviews.freebsd.org/D33916 --- .../content/en/books/handbook/introduction/_index.adoc | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/documentation/content/en/books/handbook/introduction/_index.adoc b/documentation/content/en/books/handbook/introduction/_index.adoc index 587dafd64e..976fb7f174 100644 --- a/documentation/content/en/books/handbook/introduction/_index.adoc +++ b/documentation/content/en/books/handbook/introduction/_index.adoc @@ -271,13 +271,19 @@ More information on packages and ports can be found in crossref:ports[ports,Inst === Additional Documentation All supported FreeBSD versions provide an option in the installer to install additional documentation under [.filename]#/usr/local/share/doc/freebsd# during the initial system setup. -Documentation may also be installed at any later time using packages as described in crossref:cutting-edge[doc-ports-install-package,Updating Documentation from Ports]. -You may view the locally installed manuals with any HTML capable browser using the following URLs: +Documentation may also be installed at any later time using packages: +[source,shell] +.... +# pkg install en-freebsd-doc +.... + +For localized versions replace the "en" with language prefix of choice. +You may view the locally installed manuals with a web browser using the following URLs: The FreeBSD Handbook:: -[.filename]#link:file://localhost/usr/local/share/doc/freebsd/handbook/index.html[/usr/local/share/doc/freebsd/handbook/index.html]# +[.filename]#link:file:///usr/local/share/doc/freebsd/en/books/handbook/book.html[/usr/local/share/doc/freebsd/en/books/handbook/book.html]# The FreeBSD FAQ:: -[.filename]#link:file://localhost/usr/local/share/doc/freebsd/faq/index.html[/usr/local/share/doc/freebsd/faq/index.html]# +[.filename]#link:file://localhost/usr/local/share/doc/freebsd/en/books/faq/book.html[/usr/local/share/doc/freebsd/en/books/faq/book.html]# -You can also view the master (and most frequently updated) copies at https://www.FreeBSD.org/[https://www.FreeBSD.org/]. +You can always find the up to date copy at https://docs.FreeBSD.org/[https://docs.FreeBSD.org/].