summaryrefslogtreecommitdiffstats
path: root/Documentation/sphinx
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2017-05-14 12:22:12 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-05-16 08:44:24 -0300
commitfd74809e73be1192f2455d39932a94dfa6fb0e83 (patch)
tree21a25f6eb5a890d12394622967f79d4ec3381917 /Documentation/sphinx
parentce4a23cca5f809a588bd53c3289e6b953bb7ccc3 (diff)
downloadlinux-fd74809e73be1192f2455d39932a94dfa6fb0e83.tar.bz2
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: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/sphinx')
-rwxr-xr-xDocumentation/sphinx/tmplcvt28
1 files changed, 0 insertions, 28 deletions
diff --git a/Documentation/sphinx/tmplcvt b/Documentation/sphinx/tmplcvt
deleted file mode 100755
index 6848f0a26fa5..000000000000
--- a/Documentation/sphinx/tmplcvt
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/bash
-#
-# 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>"
- exit
-fi
-
-DIR=$(dirname $0)
-
-in=$1
-rst=$2
-tmp=$rst.tmp
-
-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"