diff --git a/doc/scripts/markdown.sh b/doc/scripts/markdown.sh index 2ed9f32..28ebd9c 100755 --- a/doc/scripts/markdown.sh +++ b/doc/scripts/markdown.sh @@ -63,6 +63,10 @@ _markdown() $DEBUG $RST2HTML "${target%.*}.rst" > "$target" res=$? ;; + rst) + $DEBUG $MD2RST "$source" || return 2 + res=$? + ;; 1|2|3|4|5|6|7|8|9) $DEBUG $MD2RST "$source" || return 2 $DEBUG $RST2MAN "${target%.*}.rst" > "$target" @@ -173,6 +177,8 @@ while [ $# -gt 0 ]; do tmpfile="${source%.*}.rst" $DEBUG $RM -- "$tmpfile" ;; + rst) + ;; *) _error "$target: Unknown type" return 2