summaryrefslogtreecommitdiff
path: root/bin/rst2html
diff options
context:
space:
mode:
Diffstat (limited to 'bin/rst2html')
-rwxr-xr-xbin/rst2html4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/rst2html b/bin/rst2html
index 511ac6d..4457ddf 100755
--- a/bin/rst2html
+++ b/bin/rst2html
@@ -1,3 +1,5 @@
#!/bin/sh
-exec rst2html.py --stylesheet-path /usr/share/doc/docutils-*/html/html4css1.css --embed-stylesheet "$@"
+thisdir="$(realpath "$(dirname "$0")")"
+
+exec rst2html.py --stylesheet-path=html4css1.css,"$thisdir/pygments-default.css" --embed-stylesheet "$@"