···4040 $ nix-build nixos/release.nix -A manual.x86_64-linux
4141 ```
42424343+ This file should *not* usually be written by hand. Instead it is preferred
4444+ to write documentation using CommonMark and converting it to CommonMark
4545+ using pandoc. The simplest documentation can be converted using just
4646+4747+ ```ShellSession
4848+ $ pandoc doc.md -t docbook --top-level-division=chapter -f markdown+smart > doc.xml
4949+ ```
5050+5151+ More elaborate documentation may wish to add one or more of the pandoc
5252+ filters used to build the remainder of the manual, for example the GNOME
5353+ desktop uses
5454+5555+ ```ShellSession
5656+ $ pandoc gnome.md -t docbook --top-level-division=chapter \
5757+ --extract-media=media -f markdown+smart \
5858+ --lua-filter ../../../../../doc/build-aux/pandoc-filters/myst-reader/roles.lua \
5959+ --lua-filter ../../../../../doc/build-aux/pandoc-filters/docbook-writer/rst-roles.lua \
6060+ > gnome.xml
6161+ ```
6262+4363- `buildDocsInSandbox` indicates whether the option documentation for the
4464 module can be built in a derivation sandbox. This option is currently only
4565 honored for modules shipped by nixpkgs. User modules and modules taken from
···5151 <programlisting>
5252$ nix-build nixos/release.nix -A manual.x86_64-linux
5353</programlisting>
5454+ <para>
5555+ This file should <emphasis>not</emphasis> usually be written by
5656+ hand. Instead it is preferred to write documentation using
5757+ CommonMark and converting it to CommonMark using pandoc. The
5858+ simplest documentation can be converted using just
5959+ </para>
6060+ <programlisting>
6161+$ pandoc doc.md -t docbook --top-level-division=chapter -f markdown+smart > doc.xml
6262+</programlisting>
6363+ <para>
6464+ More elaborate documentation may wish to add one or more of the
6565+ pandoc filters used to build the remainder of the manual, for
6666+ example the GNOME desktop uses
6767+ </para>
6868+ <programlisting>
6969+$ pandoc gnome.md -t docbook --top-level-division=chapter \
7070+ --extract-media=media -f markdown+smart \
7171+ --lua-filter ../../../../../doc/build-aux/pandoc-filters/myst-reader/roles.lua \
7272+ --lua-filter ../../../../../doc/build-aux/pandoc-filters/docbook-writer/rst-roles.lua \
7373+ > gnome.xml
7474+</programlisting>
5475 </listitem>
5576 <listitem>
5677 <para>