.. include:: api/l2.gamestickservices.net/api-rest-wallet-payment-topupwallet-init-transaction-do.rst
.. include:: api/update.gamestickservices.net/check.php.rst
.. include:: api/www.playjam.com/bundles-system-meta.json.rst
+
+
+=====
+About
+=====
+This documentation has been written by Christian Weiske,
+
+Last update: ##UPDATE##
+
+
+License
+=======
+It is licensed under the GNU Free Documentation License.
+
+
+Source code
+===========
+The documentation sources are available at
+https://git.cweiske.de/playjam-gamestick-api-docs.git
+and mirrored at
+https://codeberg.org/cweiske/playjam-gamestick-api-docs
+
+
+Home page
+=========
+A rendered version of this documentation is available at
+http://cweiske.de/gamestick-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
--- /dev/null
+#!/bin/sh
+rst2html5\
+ --stylesheet-inline=styles.css\
+ --title="PlayJam GameStick server API documentation"\
+ README.rst gamestick-api-docs.htm
+
+# add current date to rendered docs
+sed -i "s/##UPDATE##/`date -Is`/" gamestick-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