1<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="chap-contributing">
2 <title>Contributing to this manual</title>
3 <para>
4 The DocBook and CommonMark sources of NixOS’ manual are in the
5 <link xlink:href="https://github.com/NixOS/nixpkgs/tree/master/nixos/doc/manual">nixos/doc/manual</link>
6 subdirectory of the
7 <link xlink:href="https://github.com/NixOS/nixpkgs">Nixpkgs</link>
8 repository.
9 </para>
10 <para>
11 You can quickly check your edits with the following:
12 </para>
13 <programlisting>
14$ cd /path/to/nixpkgs
15$ ./nixos/doc/manual/md-to-db.sh
16$ nix-build nixos/release.nix -A manual.x86_64-linux
17</programlisting>
18 <para>
19 If the build succeeds, the manual will be in
20 <literal>./result/share/doc/nixos/index.html</literal>.
21 </para>
22</chapter>