nixos/doc: Improve code listings
By adding prompts and replaceables and removing unnecessary indentation.
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
linkend="ch-configuration"/>. Changes to a module documentation
|
||||
have to be checked to not break building the NixOS manual:
|
||||
</para>
|
||||
<programlisting>$ nix-build nixos/release.nix -A manual</programlisting>
|
||||
<screen><prompt>$ </prompt>nix-build nixos/release.nix -A manual</screen>
|
||||
</callout>
|
||||
</calloutlist>
|
||||
</section>
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
</para>
|
||||
|
||||
<screen>
|
||||
$ cd /path/to/nixpkgs/nixos/doc/manual
|
||||
$ make
|
||||
<prompt>$ </prompt>cd /path/to/nixpkgs/nixos/doc/manual
|
||||
<prompt>$ </prompt>make
|
||||
</screen>
|
||||
|
||||
<para>
|
||||
|
||||
Reference in New Issue
Block a user