Skip to content

Commit f0c5f23

Browse files
committed
DOC: Enable NiPype's sphinx-extension to better render Interfaces
1 parent 0625c39 commit f0c5f23

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/conf.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,10 @@
3636
"sphinx.ext.ifconfig",
3737
"sphinx.ext.viewcode",
3838
"sphinx.ext.githubpages",
39-
"nipype.sphinxext.plot_workflow",
4039
"sphinxcontrib.apidoc",
41-
"sphinxcontrib.napoleon",
40+
# "sphinxcontrib.napoleon",
41+
"nipype.sphinxext.plot_workflow",
42+
"nipype.sphinxext.apidoc",
4243
]
4344

4445
autodoc_mock_imports = [
@@ -62,6 +63,9 @@
6263
napoleon_custom_sections = [
6364
("Inputs", "Parameters"),
6465
("Outputs", "Parameters"),
66+
("Attributes", "Parameters"),
67+
("Mandatory Inputs", "Parameters"),
68+
("Optional Inputs", "Parameters"),
6569
]
6670

6771
# Add any paths that contain templates here, relative to this directory.

0 commit comments

Comments
 (0)