Page MenuHomeFreeBSD

doc-build: Update advanced build example
ClosedPublic

Authored by jrm on Thu, Nov 24, 3:40 PM.

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
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jrm requested review of this revision.Thu, Nov 24, 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.Thu, Nov 24, 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.