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

From: Joseph Mingrone <jrm_at_FreeBSD.org>
Date: Thu, 24 Nov 2022 20:39:53 UTC
The branch main has been updated by jrm (ports committer):

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

commit cfaf4e03f60274e7b2125ab5ccb40730e35821b6
Author:     Joseph Mingrone <jrm@FreeBSD.org>
AuthorDate: 2022-11-24 15:36:51 +0000
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
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"
 ....
 ====