diff --git a/docs/build.sh b/docs/build.sh index a087da61..20802497 100755 --- a/docs/build.sh +++ b/docs/build.sh @@ -1,8 +1,9 @@ #!/bin/bash -rst2html.py ispc.txt > ispc.html -rst2html.py perf.txt > perf.html -rst2html.py faq.txt > faq.html +for i in ispc perf faq; do + rst2html.py --template=template.txt --link-stylesheet \ + --stylesheet-path=css/style.css $i.txt > $i.html +done #rst2latex --section-numbering --documentclass=article --documentoptions=DIV=9,10pt,letterpaper ispc.txt > ispc.tex #pdflatex ispc.tex diff --git a/docs/template.txt b/docs/template.txt new file mode 100644 index 00000000..a8254010 --- /dev/null +++ b/docs/template.txt @@ -0,0 +1,64 @@ +%(head_prefix)s +%(head)s + +%(stylesheet)s +%(body_prefix)s +