More API documentation

This commit is contained in:
Ruud committed 2012-02-21 20:42:41 +01:00
1 parent a5cc1859d1
commit b164674ff7
7 files changed
+88 -31

No files matched your search

+6 -4
View File
@@ -6,7 +6,7 @@
</head>
<body>
<h1>API</h1>
<h1>CouchPotato API Documentation</h1>
{% for route in routes %}
{% if api_docs.get(route) %}
<div class="api">
@@ -15,7 +15,7 @@
{% if api_docs[route].get('params') %}
<h3>Params</h3>
<table class="params">
<table class="params" cellspacing="0" cellpadding="0">
{% for param in api_docs[route]['params'] %}
<tr class="param">
<th>{{param}}</th>
@@ -42,8 +42,10 @@
{% endif %}
{% endfor %}
<h1>Missing documentation</h1>
<div class="missing">{{', '.join(api_docs_missing)}}</div>
<div class="missing">
<h1>Missing documentation</h1>
{{', '.join(api_docs_missing)}}
</div>
</body>
</html>