Go to file
Sergio Carlavilla Delgado 284030c301 Allow building the documentation and the website with upstream hugo
When we build our documentation and website we use a hacked version
of www/gohugo that allows for arbitrary asciidoc extensions.
This was added as a patch in r562416.

The suggested pull request[1] this patch was based on was not
accepted "as is" and only allows the execution of extensions in
Ruby's $LOAD_PATH.

With these changes, we add our <docroot>shared/lib directory to
Ruby's library directory so we can load our custom extensions. This
also allows building the docs and website outsite FreeBSD using
upstream and unmodified tools.

Tested with the upcoming vanilla gohugo-0.82 provided by
gohugo's maintainer.

[1] https://github.com/gohugoio/hugo/pull/8131

Patch by:               fernape@
Differential Revision:  https://reviews.freebsd.org/D29410
2021-03-31 20:44:54 +02:00
documentation Allow building the documentation and the website with upstream hugo 2021-03-31 20:44:54 +02:00
shared Add committer entries for Ka Ho Ng <khng> 2021-03-16 14:08:55 +08:00
website Allow building the documentation and the website with upstream hugo 2021-03-31 20:44:54 +02:00
.arcconfig Migrate doc to Hugo/AsciiDoctor 2021-01-26 00:31:29 +01:00
.cirrus.yml Fox build on Cirrus CI 2021-02-07 14:55:41 +08:00
Makefile build: add a top-level Makefile to drive the build 2021-01-28 21:15:10 -06:00
README Add back README file 2021-01-26 22:03:56 +08:00

README

If you plan on building a local copy of the FreeBSD documentation, or using
our toolchain in your own projects, please read the Documentation Primer at:

    https://docs.freebsd.org/en/books/fdp-primer/

for information about the tools and formatting languages we use.
Chapter 1 has a Quick Start section, and Chapter 2 covers the software
and related items in more detail.