Some details info
[ouya-store-api.git] / build.sh
index 3c4854e44e1c86e31c2b9d277bea6522458af677..5e526f029581e6adf82b5a1637010140a2962e21 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -1,10 +1,11 @@
 #!/bin/sh
 #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
 
-# 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
+# add current date to rendered docs
+sed -i "s/##UPDATE##/`date -Is`/" ouya-store-api-docs.htm