about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorYannik Sander <7040031+ysndr@users.noreply.github.com>2024-02-05 13:35:49 +0100
committerGitHub <noreply@github.com>2024-02-05 13:35:49 +0100
commitae9e8a4b83fb8039944d7a9c31b9e8087c3cf3c5 (patch)
tree9ff66e02775741bf45a115f659523708b9d2ff9c /doc
parent4c7c79948e1ca471257b1d866c599c9929c751ca (diff)
fix: include reference and link to `outputMan`
Diffstat (limited to 'doc')
-rw-r--r--doc/hooks/installShellFiles.section.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/hooks/installShellFiles.section.md b/doc/hooks/installShellFiles.section.md
index 84adea2fa30c0..2567098116dd7 100644
--- a/doc/hooks/installShellFiles.section.md
+++ b/doc/hooks/installShellFiles.section.md
@@ -2,7 +2,7 @@
 
 This hook helps with installing manpages and shell completion files. It exposes 2 shell functions `installManPage` and `installShellCompletion` that can be used from your `postInstall` hook.
 
-The `installManPage` function takes one or more paths to manpages to install. The manpages must have a section suffix, and may optionally be compressed (with `.gz` suffix). This function will place them into the correct directory.
+The `installManPage` function takes one or more paths to manpages to install. The manpages must have a section suffix, and may optionally be compressed (with `.gz` suffix). This function will place them into the correct `share/man/man<section>/` directory, in [`outputMan`](#outputman).
 
 The `installShellCompletion` function takes one or more paths to shell completion files. By default it will autodetect the shell type from the completion file extension, but you may also specify it by passing one of `--bash`, `--fish`, or `--zsh`. These flags apply to all paths listed after them (up until another shell flag is given). Each path may also have a custom installation name provided by providing a flag `--name NAME` before the path. If this flag is not provided, zsh completions will be renamed automatically such that `foobar.zsh` becomes `_foobar`. A root name may be provided for all paths using the flag `--cmd NAME`; this synthesizes the appropriate name depending on the shell (e.g. `--cmd foo` will synthesize the name `foo.bash` for bash and `_foo` for zsh). The path may also be a fifo or named fd (such as produced by `<(cmd)`), in which case the shell and name must be provided.