aboutsummaryrefslogtreecommitdiff
path: root/doc/default.nix
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2016-05-27 10:40:49 +0200
committerVladimír Čunát <vcunat@gmail.com>2016-05-27 10:40:49 +0200
commit88a6ce17efabefd60d2db32f14df29ad32c14513 (patch)
tree89dc1449a25afc0f09b3beb9b6103f60d04551a9 /doc/default.nix
parente746e1ffbc8ff2283cb696ec6f0c23ce726ede87 (diff)
nixpkgs manual: fix #15735: correct dash rendering
Diffstat (limited to 'doc/default.nix')
-rw-r--r--doc/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/default.nix b/doc/default.nix
index a9f22267584b..6a44587a31b1 100644
--- a/doc/default.nix
+++ b/doc/default.nix
@@ -27,6 +27,7 @@ stdenv.mkDerivation {
in ''
{
pandoc '${inputFile}' -w docbook ${optionalString useChapters "--chapters"} \
+ --smart \
| sed -e 's|<ulink url=|<link xlink:href=|' \
-e 's|</ulink>|</link>|' \
-e 's|<sect. id=|<section xml:id=|' \