mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
add autodoc, numpydoc and doctest to sphinx to generate API doc
This commit is contained in:
parent
6140fd2594
commit
89eb5ee315
1 changed files with 7 additions and 1 deletions
|
@ -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']
|
||||
|
|
Loading…
Reference in a new issue