treewide: replace <link> by <xref> where appropriate

This commit is contained in:
Robert Helgesson 2022-08-26 00:07:08 +02:00
parent 7bb4576f46
commit 76fbb1b15e
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
7 changed files with 11 additions and 14 deletions

View file

@ -176,7 +176,7 @@ in {
Extensions listed here will only be available in Firefox
profiles managed through the
<link linkend="opt-programs.firefox.profiles">programs.firefox.profiles</link>
<xref linkend="opt-programs.firefox.profiles"/>
option. This is due to recent changes in the way Firefox
handles extension side-loading.
'';

View file

@ -47,12 +47,9 @@ in {
type = types.listOf types.str;
default = [ ];
example = [ "extraGoPath1" "extraGoPath2" ];
description = let goPathOpt = "programs.go.goPath";
in ''
description = ''
Extra <envar>GOPATH</envar>s relative to <envar>HOME</envar> appended
after
<varname><link linkend="opt-${goPathOpt}">${goPathOpt}</link></varname>,
if that option is set.
after <xref linkend="opt-programs.go.goPath"/>, if that option is set.
'';
};

View file

@ -246,7 +246,7 @@ in
}
'';
description = ''
Similar to <varname><link linkend="opt-programs.zsh.shellAliases">opt-programs.zsh.shellAliases</link></varname>,
Similar to <xref linkend="opt-programs.zsh.shellAliases"/>,
but are substituted anywhere on a line.
'';
type = types.attrsOf types.str;