From c42437f87833506992b122a8871de83fbe0b421e Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 15 Nov 2018 20:40:00 +0300 Subject: Document task manifest repository-type value as optional --- doc/cli.sh | 1 + doc/manual.cli | 8 +++++--- 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 () # --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: version: #location: repository-url: -repository-type: pkg|git|dir +[repository-type]: pkg|git|dir [trust]: machine: @@ -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}| -- cgit v1.1