Skip to content
forked from pydata/xarray

Commit 01a9baa

Browse files
DocOtakdcherian
authored andcommitted
enable sphinx.ext.napoleon (pydata#3180)
1 parent 26d0517 commit 01a9baa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/conf.py

+4
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
'sphinx.ext.intersphinx',
6767
'sphinx.ext.extlinks',
6868
'sphinx.ext.mathjax',
69+
'sphinx.ext.napoleon',
6970
'numpydoc',
7071
'IPython.sphinxext.ipython_directive',
7172
'IPython.sphinxext.ipython_console_highlighting',
@@ -85,6 +86,9 @@
8586
autosummary_generate = True
8687
autodoc_typehints = 'none'
8788

89+
napoleon_use_param = True
90+
napoleon_use_rtype = True
91+
8892
numpydoc_class_members_toctree = True
8993
numpydoc_show_class_members = False
9094

0 commit comments

Comments
 (0)