Merge "Added dummy API documentation"

This commit is contained in:
Jenkins 2014-08-15 15:27:01 +00:00 committed by Gerrit Code Review
commit 1258092a98
4 changed files with 22 additions and 1 deletions

View File

@ -2,12 +2,13 @@
Welcome to Surveil's documentation!
===================================
Contents:
Table of Contents:
.. toctree::
:maxdepth: 2
readme
webapi/index
Indices and tables
==================

View File

@ -0,0 +1,8 @@
=========
Web API
=========
.. toctree::
:maxdepth: 2
v1

11
doc/source/webapi/v1.rst Normal file
View File

@ -0,0 +1,11 @@
.. docbookrestapi
============
V1 Web API
============
Hello
=====
.. rest-controller:: surveil.api.controllers.v1.hello:HelloController
:webprefix: /v1/hello

View File

@ -20,4 +20,5 @@ class HelloController(rest.RestController):
@pecan.expose()
def get(self):
"""Says hello."""
return "Hello World!"