freebsd-doc/documentation
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
..
archetypes
config/_default Allow building the documentation and the website with upstream hugo 2021-03-31 20:44:54 +02:00
content Sort(ish) and add a couple of years from CVS logs 2021-03-29 22:13:03 +01:00
manual-pages
static Update my PGP key. 2021-03-27 22:23:20 +01:00
themes Remove the font size of filename class 2021-02-08 23:25:18 +01:00
tools Use @generated in generated files 2021-02-04 09:39:06 -05:00
.editorconfig
.gitignore
Makefile Allow building the documentation and the website with upstream hugo 2021-03-31 20:44:54 +02:00
README
beastie.png
shared

README

$FreeBSD$

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://www.FreeBSD.org/doc/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.