···11+# Contributing to this manual {#chap-contributing}
22+33+The DocBook and CommonMark sources of NixOS' manual are in the [nixos/doc/manual](https://github.com/NixOS/nixpkgs/tree/master/nixos/doc/manual) subdirectory of the [Nixpkgs](https://github.com/NixOS/nixpkgs) repository.
44+55+You can quickly check your edits with the following:
66+77+```ShellSession
88+$ cd /path/to/nixpkgs
99+$ ./nixos/doc/manual/md-to-db.sh
1010+$ nix-build nixos/release.nix -A manual.x86_64-linux
1111+```
1212+1313+If the build succeeds, the manual will be in `./result/share/doc/nixos/index.html`.
-22
nixos/doc/manual/contributing-to-this-manual.xml
···11-<chapter xmlns="http://docbook.org/ns/docbook"
22- xmlns:xlink="http://www.w3.org/1999/xlink"
33- xml:id="chap-contributing">
44- <title>Contributing to this manual</title>
55- <para>
66- The DocBook sources of NixOS' manual are in the <filename
77-xlink:href="https://github.com/NixOS/nixpkgs/tree/master/nixos/doc/manual">
88-nixos/doc/manual</filename> subdirectory of the <link
99-xlink:href="https://github.com/NixOS/nixpkgs">Nixpkgs</link> repository.
1010- </para>
1111- <para>
1212- You can quickly check your edits with the following:
1313- </para>
1414-<screen>
1515-<prompt>$ </prompt>cd /path/to/nixpkgs
1616-<prompt>$ </prompt>nix-build nixos/release.nix -A manual.x86_64-linux
1717-</screen>
1818- <para>
1919- If the build succeeds, the manual will be in
2020- <filename>./result/share/doc/nixos/index.html</filename>.
2121- </para>
2222-</chapter>
···11+<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="chap-contributing">
22+ <title>Contributing to this manual</title>
33+ <para>
44+ The DocBook and CommonMark sources of NixOS’ manual are in the
55+ <link xlink:href="https://github.com/NixOS/nixpkgs/tree/master/nixos/doc/manual">nixos/doc/manual</link>
66+ subdirectory of the
77+ <link xlink:href="https://github.com/NixOS/nixpkgs">Nixpkgs</link>
88+ repository.
99+ </para>
1010+ <para>
1111+ You can quickly check your edits with the following:
1212+ </para>
1313+ <programlisting>
1414+$ cd /path/to/nixpkgs
1515+$ ./nixos/doc/manual/md-to-db.sh
1616+$ nix-build nixos/release.nix -A manual.x86_64-linux
1717+</programlisting>
1818+ <para>
1919+ If the build succeeds, the manual will be in
2020+ <literal>./result/share/doc/nixos/index.html</literal>.
2121+ </para>
2222+</chapter>