Skip to content

Commit fa95106

Browse files
committed
docs: use nipype's sphinx extension to document interfaces
1 parent 10649ff commit fa95106

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/conf.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@
4242
"sphinx.ext.linkcode",
4343
"sphinx.ext.githubpages",
4444
"sphinxarg.ext", # argparse extension
45-
"nipype.sphinxext.plot_workflow",
4645
"sphinxcontrib.apidoc",
47-
"sphinxcontrib.napoleon",
46+
"nipype.sphinxext.plot_workflow",
47+
"nipype.sphinxext.apidoc",
4848
]
4949

5050
autodoc_mock_imports = [
@@ -69,6 +69,9 @@
6969
napoleon_custom_sections = [
7070
("Inputs", "Parameters"),
7171
("Outputs", "Parameters"),
72+
("Attributes", "Parameters"),
73+
("Mandatory Inputs", "Parameters"),
74+
("Optional Inputs", "Parameters"),
7275
]
7376

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

0 commit comments

Comments
 (0)