1# Contributing to this documentation {#chap-contributing} 2 3The DocBook sources of the Nixpkgs manual are in the [doc](https://github.com/NixOS/nixpkgs/tree/master/doc) subdirectory of the Nixpkgs repository. 4 5You can quickly check your edits with `make`: 6 7```ShellSession 8$ cd /path/to/nixpkgs/doc 9$ nix-shell 10[nix-shell]$ make $makeFlags 11``` 12 13If you experience problems, run `make debug` to help understand the docbook errors. 14 15After making modifications to the manual, it's important to build it before committing. You can do that as follows: 16 17```ShellSession 18$ cd /path/to/nixpkgs/doc 19$ nix-shell 20[nix-shell]$ make clean 21[nix-shell]$ nix-build . 22``` 23 24If the build succeeds, the manual will be in `./result/share/doc/nixpkgs/manual.html`.