aboutsummaryrefslogtreecommitdiff
path: root/doc/cli.sh
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-07-07 19:14:01 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-07-10 17:04:39 +0300
commit026377d0c145277b24b3af5fdcf707222e854bd3 (patch)
tree7ebfc0f7d3e92c8a0d23ac2d9d176a08ea509407 /doc/cli.sh
parent2aa02defe392a209fe9f11231c82d607813389b9 (diff)
Spec submit logic
Diffstat (limited to 'doc/cli.sh')
-rwxr-xr-xdoc/cli.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/cli.sh b/doc/cli.sh
index 4852af0..a8c42c9 100755
--- a/doc/cli.sh
+++ b/doc/cli.sh
@@ -38,12 +38,14 @@ function compile ()
cli -I .. -v project="brep" -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 ../$n.cli
+man-prologue.xhtml --html-epilogue-file man-epilogue.xhtml --html-suffix .xhtml \
+--link-regex '%brep(#.+)?%build2-repository-interface-manual.xhtml$1%' \
+../$n.cli
cli -I .. -v project="brep" -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 '%brep(#.+)?%$1%' \
../$n.cli
}