summaryrefslogtreecommitdiff
path: root/doc/source/conf.py
diff options
context:
space:
mode:
authorDevananda van der Veen <devananda.vdv@gmail.com>2013-11-19 15:21:45 -0800
committerDevananda van der Veen <devananda.vdv@gmail.com>2013-11-20 09:25:06 -0800
commit30206795b71d9b53c586385fe235d588bfe70a44 (patch)
treeabd166e9c3b6ef77f20603bb86757a2f229372c3 /doc/source/conf.py
parent6f2f5a84952ec01855e2ef6ea1ada2749b485d46 (diff)
downloadironic-30206795b71d9b53c586385fe235d588bfe70a44.tar.gz
Add hooks to auto-generate REST API docs
Add the necessary bits for sphinxcontrib-pecanwsme so that we can start auto-generating REST API docs. Change-Id: I6ad61a5185462916865884dd1619465ef90aba0a Closes-bug: 1251011
Diffstat (limited to 'doc/source/conf.py')
-rw-r--r--doc/source/conf.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 287f6a1e4..029c6660e 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -8,8 +8,13 @@
extensions = ['sphinx.ext.autodoc',
'sphinx.ext.intersphinx',
'sphinx.ext.viewcode',
+ 'sphinxcontrib.httpdomain',
+ 'sphinxcontrib.pecanwsme.rest',
+ 'wsmeext.sphinxext',
]
+wsme_protocols = ['restjson', 'restxml']
+
# autodoc generation is a bit aggressive and a nuisance when doing heavy
# text edit cycles.
# execute "export SPHINX_DEBUG=1" in your terminal to disable