Skip to content

Commit e3c9296

Browse files
committed
docs: introduce custom "Members" section, for lib.wiring signatures.
1 parent 6b51252 commit e3c9296

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/conf.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,11 @@
3939
napoleon_use_ivar = True
4040
napoleon_include_init_with_doc = True
4141
napoleon_include_special_with_doc = True
42-
napoleon_custom_sections = ["Platform overrides"]
42+
napoleon_custom_sections = [
43+
("Attributes", "params_style"), # by default displays as "Variables", which is confusing
44+
("Members", "params_style"), # `lib.wiring` signature members
45+
"Platform overrides"
46+
]
4347

4448
html_theme = "sphinx_rtd_theme"
4549
html_static_path = ["_static"]

0 commit comments

Comments
 (0)