summary refs log tree commit diff
path: root/nixos/doc/manual
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2021-07-04 08:56:20 +0800
committerBobby Rong <rjl931189261@126.com>2021-07-04 08:56:20 +0800
commitb69b26c1a11ec79c2a5b5c6a189f54deda5f4673 (patch)
tree35e2245a5b4fd579e7335b6d19b11da8827e5b71 /nixos/doc/manual
parent9f7f6d225672bf05e714498dc6eaa68bd0800b69 (diff)
downloadnixpkgs-b69b26c1a11ec79c2a5b5c6a189f54deda5f4673.tar
nixpkgs-b69b26c1a11ec79c2a5b5c6a189f54deda5f4673.tar.gz
nixpkgs-b69b26c1a11ec79c2a5b5c6a189f54deda5f4673.tar.bz2
nixpkgs-b69b26c1a11ec79c2a5b5c6a189f54deda5f4673.tar.lz
nixpkgs-b69b26c1a11ec79c2a5b5c6a189f54deda5f4673.tar.xz
nixpkgs-b69b26c1a11ec79c2a5b5c6a189f54deda5f4673.tar.zst
nixpkgs-b69b26c1a11ec79c2a5b5c6a189f54deda5f4673.zip
nixos: use only URI fragment in manual options links
Diffstat (limited to 'nixos/doc/manual')
-rw-r--r--nixos/doc/manual/administration/boot-problems.section.md2
-rw-r--r--nixos/doc/manual/administration/service-mgmt.chapter.md6
-rw-r--r--nixos/doc/manual/from_md/administration/boot-problems.section.xml2
-rw-r--r--nixos/doc/manual/from_md/administration/service-mgmt.chapter.xml12
4 files changed, 9 insertions, 13 deletions
diff --git a/nixos/doc/manual/administration/boot-problems.section.md b/nixos/doc/manual/administration/boot-problems.section.md
index eb9209602a3..d7843327c19 100644
--- a/nixos/doc/manual/administration/boot-problems.section.md
+++ b/nixos/doc/manual/administration/boot-problems.section.md
@@ -16,7 +16,7 @@ If NixOS fails to boot, there are a number of kernel command line parameters tha
 
 `boot.debug1mounts`
 
-: Like `boot.debug1` or `boot.debug1devices`, but runs stage1 until all filesystems that are mounted during initrd are mounted (see [neededForBoot](#opt-fileSystems._name_.neededForBoot)). As a motivating example, this could be useful if you've forgotten to set [neededForBoot](options.html#opt-fileSystems._name_.neededForBoot) on a file system.
+: Like `boot.debug1` or `boot.debug1devices`, but runs stage1 until all filesystems that are mounted during initrd are mounted (see [neededForBoot](#opt-fileSystems._name_.neededForBoot)). As a motivating example, this could be useful if you've forgotten to set [neededForBoot](#opt-fileSystems._name_.neededForBoot) on a file system.
 
 `boot.trace`
 
diff --git a/nixos/doc/manual/administration/service-mgmt.chapter.md b/nixos/doc/manual/administration/service-mgmt.chapter.md
index ccf61c929ed..bb0f9b62e91 100644
--- a/nixos/doc/manual/administration/service-mgmt.chapter.md
+++ b/nixos/doc/manual/administration/service-mgmt.chapter.md
@@ -96,13 +96,11 @@ the service on boot.
 
 *User* systemd services on the other hand, should be treated
 differently. Given a package that has a systemd unit file at
-`#pkg-out#/lib/systemd/user/`, using
-[`systemd.packages`](options.html#opt-systemd.packages) will
+`#pkg-out#/lib/systemd/user/`, using [](#opt-systemd.packages) will
 make you able to start the service via `systemctl --user start`, but it
 won\'t start automatically on login. However, You can imperatively
 enable it by adding the package\'s attribute to
-[`systemd.packages`](options.html#opt-systemd.packages)
-and then do this (e.g):
+[](#opt-systemd.packages) and then do this (e.g):
 
 ```ShellSession
 $ mkdir -p ~/.config/systemd/user/default.target.wants
diff --git a/nixos/doc/manual/from_md/administration/boot-problems.section.xml b/nixos/doc/manual/from_md/administration/boot-problems.section.xml
index b484d075818..d169baad747 100644
--- a/nixos/doc/manual/from_md/administration/boot-problems.section.xml
+++ b/nixos/doc/manual/from_md/administration/boot-problems.section.xml
@@ -61,7 +61,7 @@
           <link linkend="opt-fileSystems._name_.neededForBoot">neededForBoot</link>).
           As a motivating example, this could be useful if you’ve
           forgotten to set
-          <link xlink:href="options.html#opt-fileSystems._name_.neededForBoot">neededForBoot</link>
+          <link linkend="opt-fileSystems._name_.neededForBoot">neededForBoot</link>
           on a file system.
         </para>
       </listitem>
diff --git a/nixos/doc/manual/from_md/administration/service-mgmt.chapter.xml b/nixos/doc/manual/from_md/administration/service-mgmt.chapter.xml
index 68dc45f3f88..8b01b8f896a 100644
--- a/nixos/doc/manual/from_md/administration/service-mgmt.chapter.xml
+++ b/nixos/doc/manual/from_md/administration/service-mgmt.chapter.xml
@@ -109,13 +109,11 @@ systemd.packages = [ pkgs.packagekit ];
       <emphasis>User</emphasis> systemd services on the other hand,
       should be treated differently. Given a package that has a systemd
       unit file at <literal>#pkg-out#/lib/systemd/user/</literal>, using
-      <link xlink:href="options.html#opt-systemd.packages"><literal>systemd.packages</literal></link>
-      will make you able to start the service via
-      <literal>systemctl --user start</literal>, but it won't start
-      automatically on login. However, You can imperatively enable it by
-      adding the package's attribute to
-      <link xlink:href="options.html#opt-systemd.packages"><literal>systemd.packages</literal></link>
-      and then do this (e.g):
+      <xref linkend="opt-systemd.packages" /> will make you able to
+      start the service via <literal>systemctl --user start</literal>,
+      but it won't start automatically on login. However, You can
+      imperatively enable it by adding the package's attribute to
+      <xref linkend="opt-systemd.packages" /> and then do this (e.g):
     </para>
     <programlisting>
 $ mkdir -p ~/.config/systemd/user/default.target.wants