diff options
Diffstat (limited to 'doc/contributing.xml')
-rw-r--r-- | doc/contributing.xml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/contributing.xml b/doc/contributing.xml index d28442b7a2c..523c1c9c8f0 100644 --- a/doc/contributing.xml +++ b/doc/contributing.xml @@ -12,9 +12,9 @@ xlink:href="https://github.com/NixOS/nixpkgs/tree/master/doc">doc</filename> You can quickly check your edits with <command>make</command>: </para> <screen> - $ cd /path/to/nixpkgs/doc - $ nix-shell - [nix-shell]$ make +<prompt>$ </prompt>cd /path/to/nixpkgs/doc +<prompt>$ </prompt>nix-shell +<prompt>[nix-shell]$ </prompt>make </screen> <para> If you experience problems, run <command>make debug</command> to help @@ -24,10 +24,10 @@ xlink:href="https://github.com/NixOS/nixpkgs/tree/master/doc">doc</filename> After making modifications to the manual, it's important to build it before committing. You can do that as follows: <screen> - $ cd /path/to/nixpkgs/doc - $ nix-shell - [nix-shell]$ make clean - [nix-shell]$ nix-build . +<prompt>$ </prompt>cd /path/to/nixpkgs/doc +<prompt>$ </prompt>nix-shell +<prompt>[nix-shell]$ </prompt>make clean +<prompt>[nix-shell]$ </prompt>nix-build . </screen> If the build succeeds, the manual will be in <filename>./result/share/doc/nixpkgs/manual.html</filename>. |