use rst2html5 to render docs
[ouya-store-api.git] / build.sh
index 5854090994295569a1bb6af7e1f90d1fce3588e1..3c4854e44e1c86e31c2b9d277bea6522458af677 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -1,2 +1,10 @@
 #!/bin/sh
-rst2html README.rst ouya-store-api-docs.htm
+#rst2html README.rst ouya-store-api-docs.htm
+rst2html5\
+ --bootstrap-css\
+ --stylesheet-path=styles.css --embed-stylesheet\
+ README.rst ouya-store-api-docs.htm
+
+# workaround for https://github.com/marianoguerra/rst2html5/issues/70
+sed -i 's#<title></title>#<title>OUYA store API documentation</title>#'\
+ ouya-store-api-docs.htm