projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6140fd2
)
add autodoc, numpydoc and doctest to sphinx to generate API doc
author
Robert Jordens
<jordens@gmail.com>
Thu, 28 Nov 2013 08:46:08 +0000
(
01:46
-0700)
committer
Sebastien Bourdeauducq
<sebastien@milkymist.org>
Thu, 28 Nov 2013 21:14:16 +0000
(22:14 +0100)
doc/conf.py
patch
|
blob
|
history
diff --git
a/doc/conf.py
b/doc/conf.py
index 270e050ac4316c6cc9bfb6283c7347c6952e837a..601e717dd75d5078a14b715d1c3471040d0e355b 100644
(file)
--- a/
doc/conf.py
+++ b/
doc/conf.py
@@
-25,7
+25,13
@@
import sys, os
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['sphinx.ext.pngmath']
+extensions = [
+ 'sphinx.ext.pngmath',
+ 'sphinx.ext.autodoc',
+ 'sphinx.ext.doctest',
+ 'sphinx.ext.autosummary',
+ 'numpydoc', # to preprocess docstrings
+ ]
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']