From 31c76f8a42de9df24fd468f36b8871e028208a7d Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 10 May 2011 16:40:33 +0200 Subject: [PATCH] only escapce the first underline to satisfy asciidoc - weired! Signed-off-by: Nico Schottelius --- doc/dev/todo/niconext | 1 - doc/man/cdist-reference.text.sh | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/dev/todo/niconext b/doc/dev/todo/niconext index 99893770..648d48f5 100644 --- a/doc/dev/todo/niconext +++ b/doc/dev/todo/niconext @@ -1,5 +1,4 @@ Cleanup documentation: - cleanly integrate speeches (pdf on website?) type reference -> add types + manpages add explorer reference diff --git a/doc/man/cdist-reference.text.sh b/doc/man/cdist-reference.text.sh index 51ae2a55..d38a6d26 100755 --- a/doc/man/cdist-reference.text.sh +++ b/doc/man/cdist-reference.text.sh @@ -140,9 +140,10 @@ for type in man7/cdist-type__*.text; do no_dir="${type#man7/}"; no_type="${no_dir#cdist-type}"; name="${no_type%.text}"; + name_no_underline="$(echo $name | sed 's/^__/\\__/g')" man="${no_dir%.text}(7)" - echo "- $name" "($man)" + echo "- $name_no_underline" "($man)" done cat << eof