Page MenuHomeFreeBSD

doc-build: Update advanced build example
ClosedPublic

Authored by jrm on Nov 24 2022, 3:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 12 2024, 4:22 PM
Unknown Object (File)
Dec 23 2023, 1:31 AM
Unknown Object (File)
Nov 6 2023, 4:56 AM
Unknown Object (File)
Oct 5 2023, 3:35 AM
Unknown Object (File)
May 18 2023, 9:44 PM
Unknown Object (File)
May 4 2023, 4:56 AM
Unknown Object (File)
Mar 22 2023, 6:42 PM
Unknown Object (File)
Mar 5 2023, 6:10 PM
Subscribers
None

Details

Summary

The --path-warnings flag is no longer supported, so removed it. While
here, include DOC_LANG, to show how documentation for subset of
languages can be built.

Diff Detail

Repository
R9 FreeBSD doc repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 48497
Build 45383: arc lint + arc unit

Event Timeline

jrm requested review of this revision.Nov 24 2022, 3:40 PM
jrm created this revision.

Don't touch _index.po. It's update is scripted.

Change to DOC_LANG=en,es and ready to go!
No need to upgrade the review again, make the commit directly

This revision is now accepted and ready to land.Nov 24 2022, 7:15 PM

Are you saying to remove the quotes and add a comma between en and es. I'm checking because there is an example just after Example 9 (which for some reason isn't labelled like the other examples) in the same chapter that says make DOC_LANG="en fr" pdf-books. Also, make DOC_LANG="en es" HUGO_ARGS="--verbose --debug" works.

% make DOC_LANG="en es" HUGO_ARGS="--verbose --debug"
.
.
.
                   |  EN  |  ES
-------------------+------+-------
  Pages            | 1184 |   75
  Paginator pages  |    0 |    0
  Non-page files   |  804 |    4
  Static files     | 3086 | 3086
  Processed images |    0 |    0
  Aliases          |    1 |    0
  Sitemaps         |    2 |    1
  Cleaned          |    0 |    0

I always use it in this way:

make run DOC_LANG="en,es"

I never used DOC_LANG="en es"

If you tried and worked, go ahead then :)

This revision was automatically updated to reflect the committed changes.