forked from ungleich-public/cdist
only escapce the first underline to satisfy asciidoc - weired!
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
e9f7a2c82c
commit
31c76f8a42
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,4 @@
|
||||||
Cleanup documentation:
|
Cleanup documentation:
|
||||||
cleanly integrate speeches (pdf on website?)
|
|
||||||
type reference -> add types + manpages
|
type reference -> add types + manpages
|
||||||
add explorer reference
|
add explorer reference
|
||||||
|
|
||||||
|
|
|
@ -140,9 +140,10 @@ for type in man7/cdist-type__*.text; do
|
||||||
no_dir="${type#man7/}";
|
no_dir="${type#man7/}";
|
||||||
no_type="${no_dir#cdist-type}";
|
no_type="${no_dir#cdist-type}";
|
||||||
name="${no_type%.text}";
|
name="${no_type%.text}";
|
||||||
|
name_no_underline="$(echo $name | sed 's/^__/\\__/g')"
|
||||||
man="${no_dir%.text}(7)"
|
man="${no_dir%.text}(7)"
|
||||||
|
|
||||||
echo "- $name" "($man)"
|
echo "- $name_no_underline" "($man)"
|
||||||
done
|
done
|
||||||
|
|
||||||
cat << eof
|
cat << eof
|
||||||
|
|
Loading…
Reference in a new issue