diff options
| -rw-r--r-- | documentation/Makefile | 2 | ||||
| -rw-r--r-- | documentation/config/_default/config.toml | 2 | ||||
| -rw-r--r-- | website/Makefile | 2 | ||||
| -rw-r--r-- | website/config/_default/config.toml | 2 |
4 files changed, 6 insertions, 2 deletions
diff --git a/documentation/Makefile b/documentation/Makefile index 4b594fcdca..72f5b89dda 100644 --- a/documentation/Makefile +++ b/documentation/Makefile @@ -18,6 +18,8 @@ MAINTAINER=carlavilla@FreeBSD.org PYTHON_CMD = /usr/local/bin/python3 HUGO_CMD = /usr/local/bin/hugo LANGUAGES = en,es,pt-br,de,ja,zh-cn,zh-tw,ru,el,hu,it,mn,nl,pl,fr +RUBYLIB = ../shared/lib +.export RUBYLIB .ifndef HOSTNAME .HOST+=localhost diff --git a/documentation/config/_default/config.toml b/documentation/config/_default/config.toml index 316f8bacd8..fd4b3983fc 100644 --- a/documentation/config/_default/config.toml +++ b/documentation/config/_default/config.toml @@ -19,7 +19,7 @@ enableRobotsTXT = true [markup.asciidocExt] preserveTOC = true - extensions = ["../shared/lib/man-macro.rb", "../shared/lib/inter-document-references-macro.rb", "../shared/lib/sectnumoffset-treeprocessor.rb", "../shared/lib/packages-macro.rb", "../shared/lib/git-macro.rb"] + extensions = ["man-macro", "inter-document-references-macro", "sectnumoffset-treeprocessor", "packages-macro", "git-macro"] [outputs] home = [ "HTML" ] diff --git a/website/Makefile b/website/Makefile index 4b32bf76d7..a4b6bf497a 100644 --- a/website/Makefile +++ b/website/Makefile @@ -17,6 +17,8 @@ MAINTAINER=carlavilla@FreeBSD.org PYTHON_CMD = /usr/local/bin/python3 HUGO_CMD = /usr/local/bin/hugo +RUBYLIB = ../shared/lib +.export RUBYLIB .ifndef HOSTNAME .HOST+=localhost diff --git a/website/config/_default/config.toml b/website/config/_default/config.toml index a7c4585ebe..cc754900b3 100644 --- a/website/config/_default/config.toml +++ b/website/config/_default/config.toml @@ -17,7 +17,7 @@ preserveTOC = true [markup.asciidocExt] preserveTOC = true - extensions = ["../shared/lib/man-macro.rb", "../shared/lib/inter-document-references-macro.rb", "../shared/lib/sectnumoffset-treeprocessor.rb", "../shared/lib/packages-macro.rb", "../shared/lib/git-macro.rb"] + extensions = ["man-macro", "inter-document-references-macro", "sectnumoffset-treeprocessor", "packages-macro", "git-macro"] staticDir = ["static", "shared"] |
