Skip to content

Commit bb65399

Browse files
committed
DOC: Fix non-standard Input/Output docstring section management
Fix non-standard Input/Output docstring section management: map `Inputs` and `Outputs` to `params_style` for `napoleon` custom sections (instead of mapping them to `Parameters`).
1 parent 03e209f commit bb65399

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@
6969
# https://github.com/sphinx-contrib/napoleon/pull/10 is merged.
7070
napoleon_use_param = False
7171
napoleon_custom_sections = [
72-
('Inputs', 'Parameters'),
73-
('Outputs', 'Parameters'),
72+
('Inputs', 'params_style'),
73+
('Outputs', 'params_style'),
7474
]
7575

7676
# The suffix(es) of source filenames.

0 commit comments

Comments
 (0)