OUYA store API documentation
****************************
-This is an attempt to document the API used by OUYA gaming devices to
+This is an attempt to document the API used by OUYA gaming consoles to
speak with ``devs.ouya.tv``.
.. contents::
=========
A rendered version of this documentation is available at
http://cweiske.de/ouya-store-api-docs.htm
+
+
+
+Building
+========
+You need to install ``rst2html5`` before::
+
+ $ pip install rst2html5-tools
+
+Rendering the docs is done via a build script::
+
+ $ ./build.sh
+
#!/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
--- /dev/null
+body {
+ margin: 3ex 15%;
+ font-family: helvetica;
+ color: #222;
+}
+
+header code, #contents code {
+ font-size: inherit;
+ border: none;
+ background-color: transparent;
+ color: inherit;
+}
+h1 {
+ text-align: center;
+ margin-bottom: 2ex;
+}
+h2 {
+ margin-top: 3ex;
+ padding-top: 1ex;
+ border-top: 1px solid grey;
+}
+
+dd {
+ margin-left: 3ex;
+}
\ No newline at end of file