aboutsummaryrefslogtreecommitdiff
path: root/doc/default.nix
diff options
context:
space:
mode:
authorEric Bailey <yurrriq@users.noreply.github.com>2017-06-22 04:32:46 -0500
committerGleb Peregud <gleber.p@gmail.com>2017-06-22 11:32:46 +0200
commit505508a813d7680d8ada10eb8875a62de79e5aac (patch)
tree89eee9c762602fcec6c7a5dbaf83aa8de07677bc /doc/default.nix
parent0fccd5bba40ce903ff25bb8f2ca09e86f3bef19d (diff)
Update BEAM docs
Improve beam docs: * correct spelling * update per pandoc changes * capitalize titles * capitalize BEAM throughout and use "the BEAM" when referring to the virtual machine. * tweak grammar and phrasing * reformat build-tools-rebar3 section * add more links * re-wrap <para>s Also update <programlisting>s * normalize whitespace * don't double quote homepage * use $ in all shell snippets
Diffstat (limited to 'doc/default.nix')
-rw-r--r--doc/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/default.nix b/doc/default.nix
index 540a209c2ac9..cfd51fba257e 100644
--- a/doc/default.nix
+++ b/doc/default.nix
@@ -26,7 +26,7 @@ pkgs.stdenv.mkDerivation {
extraHeader = ''xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" '';
in ''
{
- pandoc '${inputFile}' -w docbook ${lib.optionalString useChapters "--chapters"} \
+ pandoc '${inputFile}' -w docbook ${lib.optionalString useChapters "--top-level-division=chapter"} \
--smart \
| sed -e 's|<ulink url=|<link xlink:href=|' \
-e 's|</ulink>|</link>|' \