aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/src/command-ref/nix-store.md
diff options
context:
space:
mode:
authorValentin Gagarin <valentin.gagarin@tweag.io>2022-12-07 16:12:26 +0100
committerValentin Gagarin <valentin.gagarin@tweag.io>2022-12-07 16:18:50 +0100
commitb8a1ff98c1019f36a6425f639bf4c694f42c7edf (patch)
tree2758529344c4a14dbaf9a027a1442d738ca55230 /doc/manual/src/command-ref/nix-store.md
parentdfa27e6b2feb082b0a276338868b069458ec00db (diff)
use HTML anchors for config parameters
this avoids incorrect rendering on the man pages, since `lowdown` neither parses the anchor syntax nor HTML. this should rather be fixed in lowdown, as adding more anchors would otherwise produce ever more noise and error-prone repetition.
Diffstat (limited to 'doc/manual/src/command-ref/nix-store.md')
-rw-r--r--doc/manual/src/command-ref/nix-store.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/manual/src/command-ref/nix-store.md b/doc/manual/src/command-ref/nix-store.md
index 1251888e9..ec1da72a4 100644
--- a/doc/manual/src/command-ref/nix-store.md
+++ b/doc/manual/src/command-ref/nix-store.md
@@ -22,7 +22,8 @@ This section lists the options that are common to all operations. These
options are allowed for every subcommand, though they may not always
have an effect.
- - [`--add-root`]{#opt-add-root} *path*\
+ - <span id="opt-add-root">[`--add-root`](#opt-add-root)</span> *path*
+
Causes the result of a realisation (`--realise` and
`--force-realise`) to be registered as a root of the garbage
collector. *path* will be created as a symlink to the resulting