aboutsummaryrefslogtreecommitdiff
path: root/doc/cli.sh
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-09-03 16:38:37 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-09-03 16:38:37 +0200
commit5996f8b2ae95be1e5429acc1499c05ff60bcc79a (patch)
treed2ef8fbfbda9b70a47e8f99ad0e0387f459ae013 /doc/cli.sh
parent3afb272f26e300ebb6819900aa5ac93333f7bf58 (diff)
Write introduction (still WIP)
Diffstat (limited to 'doc/cli.sh')
-rwxr-xr-xdoc/cli.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/cli.sh b/doc/cli.sh
index 2ca841d..03704e9 100755
--- a/doc/cli.sh
+++ b/doc/cli.sh
@@ -70,6 +70,11 @@ function compile_doc () # <file> <prefix> <suffix>
--generate-html --html-suffix .xhtml \
--html-prologue-file doc-prologue.xhtml \
--html-epilogue-file doc-epilogue.xhtml \
+--link-regex '%intro(#.+)?%../../build2-toolchain/doc/build2-toolchain-intro.xhtml$1%' \
+--link-regex '%bpkg([-.].+)%../../bpkg/doc/bpkg$1%' \
+--link-regex '%bpkg(#.+)?%../../bpkg/doc/build2-package-manager-manual.xhtml$1%' \
+--link-regex '%bdep([-.].+)%../../bdep/doc/bdep$1%' \
+--link-regex '%testscript(#.+)?%build2-testscript-manual.xhtml$1%' \
--output-prefix "$2" \
--output-suffix "$3" \
"$1"