Skip to content

Commit

Permalink
Add HTTP APIs to documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
boyska committed Aug 2, 2016
1 parent 9b30172 commit 8fa4158
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
16 changes: 16 additions & 0 deletions doc/source/httpapi.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
HTTP API
=========

Archivant and Users
---------------------

.. autoflask:: webant.webant:create_app(dict(USERS_DATABASE='sqlite:////tmp/asd'))
:blueprints: api
:include-empty-docstring:

Agherant
-----------

.. autoflask:: webant.webant:create_app(dict(AGHERANT_DESCRIPTIONS=range(3)))
:blueprints: agherant
:include-empty-docstring:
1 change: 1 addition & 0 deletions doc/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Contents:
sysadmin
documentation
developer
httpapi
api/modules


Expand Down

0 comments on commit 8fa4158

Please sign in to comment.