From: Robert Jordens Date: Thu, 28 Nov 2013 08:46:08 +0000 (-0700) Subject: add autodoc, numpydoc and doctest to sphinx to generate API doc X-Git-Tag: 24jan2021_ls180~2099^2~432 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=89eb5ee315124c9ee8fc214185a614e6aeec2cfb;p=litex.git add autodoc, numpydoc and doctest to sphinx to generate API doc --- diff --git a/doc/conf.py b/doc/conf.py index 270e050a..601e717d 100644 --- 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']