summary refs log tree commit diff
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2021-07-04 09:18:03 +0800
committerBobby Rong <rjl931189261@126.com>2021-07-04 09:18:03 +0800
commita3480a0e6959f69bdbafe31c4cce2c731a929934 (patch)
treee8c5e107273c07d057842a9c8aca2750c6dd9c0b
parentf6911a020e7e7be42d9d4f71baf5eb856efd0757 (diff)
downloadnixpkgs-a3480a0e6959f69bdbafe31c4cce2c731a929934.tar
nixpkgs-a3480a0e6959f69bdbafe31c4cce2c731a929934.tar.gz
nixpkgs-a3480a0e6959f69bdbafe31c4cce2c731a929934.tar.bz2
nixpkgs-a3480a0e6959f69bdbafe31c4cce2c731a929934.tar.lz
nixpkgs-a3480a0e6959f69bdbafe31c4cce2c731a929934.tar.xz
nixpkgs-a3480a0e6959f69bdbafe31c4cce2c731a929934.tar.zst
nixpkgs-a3480a0e6959f69bdbafe31c4cce2c731a929934.zip
nixos: use only URI fragment in manual options links
-rw-r--r--nixos/doc/manual/from_md/installation/changing-config.chapter.xml8
-rw-r--r--nixos/doc/manual/installation/changing-config.chapter.md2
2 files changed, 5 insertions, 5 deletions
diff --git a/nixos/doc/manual/from_md/installation/changing-config.chapter.xml b/nixos/doc/manual/from_md/installation/changing-config.chapter.xml
index c88fc6bbdaf..86f0b15b41c 100644
--- a/nixos/doc/manual/from_md/installation/changing-config.chapter.xml
+++ b/nixos/doc/manual/from_md/installation/changing-config.chapter.xml
@@ -17,10 +17,10 @@
   <warning>
     <para>
       This command doesn't start/stop
-      <link xlink:href="options.html#opt-systemd.user.services">user
-      services</link> automatically. <literal>nixos-rebuild</literal>
-      only runs a <literal>daemon-reload</literal> for each user with
-      running user services.
+      <link linkend="opt-systemd.user.services">user services</link>
+      automatically. <literal>nixos-rebuild</literal> only runs a
+      <literal>daemon-reload</literal> for each user with running user
+      services.
     </para>
   </warning>
   <warning>
diff --git a/nixos/doc/manual/installation/changing-config.chapter.md b/nixos/doc/manual/installation/changing-config.chapter.md
index 4ed6859ce24..8a404f085d7 100644
--- a/nixos/doc/manual/installation/changing-config.chapter.md
+++ b/nixos/doc/manual/installation/changing-config.chapter.md
@@ -13,7 +13,7 @@ booting, and try to realise the configuration in the running system
 (e.g., by restarting system services).
 
 ::: {.warning}
-This command doesn\'t start/stop [user services](options.html#opt-systemd.user.services)
+This command doesn\'t start/stop [user services](#opt-systemd.user.services)
 automatically. `nixos-rebuild` only runs a `daemon-reload` for each user with running
 user services.
 :::