summaryrefslogtreecommitdiffstats
path: root/Documentation/sphinx
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2017-05-14 17:22:12 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-05-16 13:44:24 +0200
commitfd74809e73be1192f2455d39932a94dfa6fb0e83 (patch)
tree21a25f6eb5a890d12394622967f79d4ec3381917 /Documentation/sphinx
parentusb: fix the comment with regards to DocBook (diff)
downloadlinux-fd74809e73be1192f2455d39932a94dfa6fb0e83.tar.xz
linux-fd74809e73be1192f2455d39932a94dfa6fb0e83.zip
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"