Commit fd74809e authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

docs-rst: get rid of Documentation/sphinx/tmplcvt script

As everything was converted to ReST, we don't need this
script anymore.
Signed-off-by: default avatarMauro Carvalho Chehab <>
parent ce4a23cc
# Convert a template file into something like RST
# fix <function>
# feed to pandoc
# fix \_
# title line?
set -eu
if [ "$#" != "2" ]; then
echo "$0 <docbook file> <rst file>"
DIR=$(dirname $0)
cp $in $tmp
sed --in-place -f $DIR/convert_template.sed $tmp
pandoc -s -S -f docbook -t rst -o $rst $tmp
sed --in-place -f $DIR/post_convert.sed $rst
rm $tmp
echo "book writen to $rst"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment