about summary refs log tree commit diff
path: root/nixos/doc
diff options
context:
space:
mode:
authorSamuel Dionne-Riel <samuel@dionne-riel.com>2018-05-31 20:23:24 -0400
committerSamuel Dionne-Riel <samuel@dionne-riel.com>2018-05-31 21:02:15 -0400
commitaa59151c21c353923b3f003662f17f2210c63c57 (patch)
treea259693d115285eee5e50680a9caf8b7ba7981e5 /nixos/doc
parent02b77eaf4a6ff64adc5b1dc664dfadbcaaf8a664 (diff)
doc: Adds rule to xmlformat to help keep spacing right.
The other definitions broke term, cmdsynopsis and arg tags; spaces
inside were removed, making workdsrun-ininstead of keeping them spaced.
Diffstat (limited to 'nixos/doc')
-rw-r--r--nixos/doc/xmlformat.conf7
1 files changed, 4 insertions, 3 deletions
diff --git a/nixos/doc/xmlformat.conf b/nixos/doc/xmlformat.conf
index 50255857b24a0..4a565c8465bc0 100644
--- a/nixos/doc/xmlformat.conf
+++ b/nixos/doc/xmlformat.conf
@@ -67,6 +67,7 @@ programlisting screen
   entry-break = 0
   exit-break = 0
 
-
-#term
-#  format       inline
+# This is needed so that the spacing inside those tags is kept.
+term cmdsynopsis arg
+  normalize yes
+  format    block