1<chapter xmlns="http://docbook.org/ns/docbook"
2 xmlns:xlink="http://www.w3.org/1999/xlink"
3 xml:id="chap-contributing">
4
5<title>Contributing to this documentation</title>
6
7<para>The DocBook sources of the Nixpkgs manual are in the <filename
8xlink:href="https://github.com/NixOS/nixpkgs/tree/master/doc">doc</filename>
9subdirectory of the Nixpkgs repository. If you make modifications to
10the manual, it's important to build it before committing. You can do that as follows:
11
12<screen>
13$ cd /path/to/nixpkgs
14$ nix-build doc
15</screen>
16
17If the build succeeds, the manual will be in
18<filename>./result/share/doc/nixpkgs/manual.html</filename>.</para>
19
20</chapter>