Added API documentation

- Applied the MediaGoblin docs theme to the API docs
- Added api-docs/build to .gitignore
- Configured api-docs/source/conf.py
- Added /api-docs/source/mediagoblin* to .gitignore
- Added apidoc directive to api docs Makefile, will build the API docs
  based on the source
This commit is contained in:
Joar Wandborg
2012-04-01 01:21:20 +02:00
parent 8588505c6f
commit f4cc3a9d52
14 changed files with 731 additions and 1 deletions

View File

@@ -0,0 +1,29 @@
{#
default/layout.html
~~~~~~~~~~~~~~~~~~~
Sphinx layout template for the default theme.
:copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
#}
{% extends "basic/layout.html" %}
{% if theme_collapsiblesidebar|tobool %}
{% set script_files = script_files + ['_static/sidebar.js'] %}
{% endif %}
{%- block footer %}
<div class="footer">
<div>
MediaGoblin documentation released into the public domain via <a href="http://creativecommons.org/publicdomain/zero/1.0/">CC0</a>.
{%- if last_updated %}
{% trans last_updated=last_updated|e %}Last updated on {{ last_updated }}.{% endtrans %}
{%- endif %}
{% trans sphinx_version=sphinx_version|e %}Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}
</div>
</div>
{%- endblock %}