freebsd-doc/website
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 Add initial template for releases 2021-02-14 13:20:31 +01:00
config/_default Allow building the documentation and the website with upstream hugo 2021-03-31 20:44:54 +02:00
content 13.0 schedule: fix a rendering nit 2021-03-31 12:01:36 -04:00
data Add 13.0-RC4 announcement 2021-03-30 20:16:31 +09:00
static Update FreeBSD-SA-20:32.rtsold one more time. 2021-03-29 13:42:05 -07:00
themes/beastie Fix broken links in security advisory RSS feed. 2021-02-24 21:00:35 +09:00
tools Use @generated in generated files 2021-02-04 09:39:06 -05:00
.editorconfig
.gitignore build: replace move-shared/copy-shared with a symlink 2021-01-28 21:15:10 -06:00
Makefile Allow building the documentation and the website with upstream hugo 2021-03-31 20:44:54 +02:00
README
beastie.png
shared build: replace move-shared/copy-shared with a symlink 2021-01-28 21:15:10 -06:00

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.