aboutsummaryrefslogtreecommitdiff
path: root/filters/html-converters/rst2html
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2015-10-09 15:13:35 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2015-10-09 15:13:35 +0200
commit525c815cc400bc49881144bcd7e7b717bbc1af5d (patch)
tree1d4ed0d11a950c45cc1fceb26cd3aa20ed6c2300 /filters/html-converters/rst2html
parent6edfc1672cdc5eb0dfb0ff5db0ec1de1ec53415e (diff)
downloadcgit-525c815cc400bc49881144bcd7e7b717bbc1af5d.tar.gz
cgit-525c815cc400bc49881144bcd7e7b717bbc1af5d.tar.bz2
filters: Simplify converters
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'filters/html-converters/rst2html')
-rwxr-xr-xfilters/html-converters/rst2html4
1 files changed, 2 insertions, 2 deletions
diff --git a/filters/html-converters/rst2html b/filters/html-converters/rst2html
index c51f5be..756a4e1 100755
--- a/filters/html-converters/rst2html
+++ b/filters/html-converters/rst2html
@@ -1,2 +1,2 @@
-#!/bin/sh
-rst2html.py --template="$(dirname $0)/resources/rst-template.txt"
+#!/bin/bash
+rst2html.py --template <(echo -e "%(stylesheet)s\n%(body_pre_docinfo)s\n%(docinfo)s\n%(body)s")