git: cfaf4e03f6 - main - doc-build: Update advanced build example

Joseph Mingrone <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by jrm (ports committer):

URL: https://cgit.FreeBSD.org/doc/commit/?id=cfaf4e03f60274e7b2125ab5ccb40730e35821b6

commit cfaf4e03f60274e7b2125ab5ccb40730e35821b6
Author:     Joseph Mingrone <[email protected]>
AuthorDate: 2022-11-24 15:36:51 +0000
Commit:     Joseph Mingrone <[email protected]>
CommitDate: 2022-11-24 20:17:25 +0000

    doc-build: Update advanced build example
    
    The --path-warnings flag is no longer supported, so removed it.  While
    here, include DOC_LANG, to show how documentation for a subset of
    languages can be built.
    
    Approved by:    carlavilla
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D37498
---
 documentation/content/en/books/fdp-primer/doc-build/_index.adoc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/documentation/content/en/books/fdp-primer/doc-build/_index.adoc b/documentation/content/en/books/fdp-primer/doc-build/_index.adoc
index fe360864e5..00a9ef5827 100644
--- a/documentation/content/en/books/fdp-primer/doc-build/_index.adoc
+++ b/documentation/content/en/books/fdp-primer/doc-build/_index.adoc
@@ -115,13 +115,13 @@ To render the documentation and the website to `html` use one of the following e
 Advanced build examples are given below:
 
 [[documentation-build-example-verbose]]
-.Build the documentation with verbose and debug messages
+.Build English and Spanish documentation with verbose and debug messages
 [example]
 ====
 [source,shell]
 ....
 % cd ~/doc/documentation
-% make HUGO_ARGS="--verbose --debug --path-warnings"
+% make DOC_LANG="en es" HUGO_ARGS="--verbose --debug"
 ....
 ====
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.