aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-11-15 20:40:00 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-11-16 14:53:39 +0300
commitc42437f87833506992b122a8871de83fbe0b421e (patch)
treee87a15bc0d2cbca35023d5d5bdd8cadd0660099f
parentfe834f887ed81f09bfbc557f553263310cf94074 (diff)
Document task manifest repository-type value as optional
-rwxr-xr-xdoc/cli.sh1
-rw-r--r--doc/manual.cli8
2 files changed, 6 insertions, 3 deletions
diff --git a/doc/cli.sh b/doc/cli.sh
index e389159..1e1342c 100755
--- a/doc/cli.sh
+++ b/doc/cli.sh
@@ -68,6 +68,7 @@ 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 '%bpkg([-.].+)%../../bpkg/doc/bpkg$1%' \
--output-prefix "$2" \
--output-suffix "$3" \
"$1"
diff --git a/doc/manual.cli b/doc/manual.cli
index ec16227..0a94e74 100644
--- a/doc/manual.cli
+++ b/doc/manual.cli
@@ -317,7 +317,7 @@ name: <package-name>
version: <package-version>
#location: <package-url>
repository-url: <repository-url>
-repository-type: pkg|git|dir
+[repository-type]: pkg|git|dir
[trust]: <repository-fp>
machine: <machine-name>
@@ -357,10 +357,12 @@ The URL of the repository that contains the package and its dependencies.
\h2#arch-task-repository-type|\c{repository-type}|
\
-repository-type: pkg|git|dir
+[repository-type]: pkg|git|dir
\
-The repository type (see \c{repository-url} for details).
+The repository type (see \c{repository-url} for details). Alternatively, the
+repository type can be specified as part of the URL scheme. See
+\l{bpkg-repository-types(1)} for details.
\h2#arch-task-trust|\c{trust}|