use rst2html5 to render docs
[ouya-store-api.git] / build.sh
index 68ec9eb14e91e129f60d534af787d75bf37fa2c3..3c4854e44e1c86e31c2b9d277bea6522458af677 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -1,2 +1,10 @@
 #!/bin/sh
-rst2html README.rst README.html
+#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