Skip to content

Commit 13b2678

Browse files
committed
DOC: Remove napoleon custom section mapping from configuration
Remove `napoleon` custom section mapping from documentation configuration: as opposed to e.g. `dmriprep`, `fmriprep`, etc. `nifreeze` does not deal with workflows. Thus, no special `Inputs`, `Outputs`, etc. sections need to be mapped. For now, there is no `Attributes` sections either.
1 parent a889a82 commit 13b2678

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

docs/conf.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -65,16 +65,7 @@
6565
"transforms3d",
6666
]
6767

68-
# Accept custom section names to be parsed for numpy-style docstrings
69-
# of parameters.
7068
napoleon_use_param = False
71-
napoleon_custom_sections = [
72-
("Inputs", "Parameters"),
73-
("Outputs", "Parameters"),
74-
("Attributes", "Parameters"),
75-
("Mandatory Inputs", "Parameters"),
76-
("Optional Inputs", "Parameters"),
77-
]
7869

7970
# Add any paths that contain templates here, relative to this directory.
8071
templates_path = ["_templates"]

0 commit comments

Comments
 (0)