#!/bin/sh
-rst2html README.rst README.html
+#rst2html README.rst ouya-store-api-docs.htm
+# --title: workaround for https://github.com/marianoguerra/rst2html5/issues/70
+rst2html5\
+ --bootstrap-css\
+ --stylesheet-path=styles.css --embed-stylesheet\
+ --title="OUYA store API documentation"\
+ README.rst ouya-store-api-docs.htm
+
+# add current date to rendered docs
+sed -i "s/##UPDATE##/`date -Is`/" ouya-store-api-docs.htm