提交 8aaf5a5f authored 作者: abergeron's avatar abergeron

Merge pull request #3309 from harlouci/numpydoc_conf

Add napoleon to extensions for numpydoc docstring parsing.
......@@ -27,9 +27,11 @@ sys.path.append(os.path.abspath(theano_path))
# 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.autodoc', 'sphinx.ext.todo', 'sphinx.ext.doctest']
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.todo', 'sphinx.ext.doctest', 'sphinx.ext.napoleon']
todo_include_todos = True
napoleon_google_docstring = False
napoleon_include_special_with_doc = False
try:
from sphinx.ext import pngmath
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论