From e3c929681394f641ee09f0191f0c6baff90b64b7 Mon Sep 17 00:00:00 2001 From: Catherine Date: Fri, 22 Mar 2024 07:24:10 +0000 Subject: [PATCH] docs: introduce custom "Members" section, for `lib.wiring` signatures. --- docs/conf.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 71b71d8..177f454 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -39,7 +39,11 @@ napoleon_numpy_docstring = True napoleon_use_ivar = True napoleon_include_init_with_doc = True napoleon_include_special_with_doc = True -napoleon_custom_sections = ["Platform overrides"] +napoleon_custom_sections = [ + ("Attributes", "params_style"), # by default displays as "Variables", which is confusing + ("Members", "params_style"), # `lib.wiring` signature members + "Platform overrides" +] html_theme = "sphinx_rtd_theme" html_static_path = ["_static"]