aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-04-27 17:02:01 +0200
committerKaren Arutyunov <karen@codesynthesis.com>2018-05-02 11:41:23 +0300
commit58d5690f5a0e706e2ea8b899819d0c3db22f4793 (patch)
treefaa791700804648f1acf134ffd2333c1bc01dede /doc
parent4783c74e0741df5ce403b857caf98c0f3917cd77 (diff)
Document default and excluding git ref filters
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/cli.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/cli.sh b/doc/cli.sh
index 2466e0b..06d981e 100755
--- a/doc/cli.sh
+++ b/doc/cli.sh
@@ -38,13 +38,15 @@ function compile ()
cli -I .. -v project="bpkg" -v version="$version" -v date="$date" \
--include-base-last "${o[@]}" --generate-html --html-prologue-file \
-man-prologue.xhtml --html-epilogue-file man-epilogue.xhtml --html-suffix .xhtml \
+ man-prologue.xhtml --html-epilogue-file man-epilogue.xhtml --html-suffix .xhtml \
+--link-regex '%b(#.+)?%../../build2/doc/build2-build-system-manual.xhtml$1%' \
--link-regex '%bpkg(#.+)?%build2-package-manager-manual.xhtml$1%' \
../bpkg/$n.cli
cli -I .. -v project="bpkg" -v version="$version" -v date="$date" \
--include-base-last "${o[@]}" --generate-man --man-prologue-file \
man-prologue.1 --man-epilogue-file man-epilogue.1 --man-suffix .1 \
+--link-regex '%b(#.+)?%$1%' \
--link-regex '%bpkg(#.+)?%$1%' \
../bpkg/$n.cli
}