Skip to content

Commit 24a3ebf

Browse files
committed
docs(autodoc): Use autoclass_content = both to include __init__
See also: https://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html#confval-autoclass_content
1 parent dd86e92 commit 24a3ebf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ def setup(app):
8787
]
8888
}
8989

90+
# sphinx.ext.autodoc
91+
autoclass_content = "both"
92+
9093
# sphinxext.opengraph
9194
ogp_site_url = about["__docs__"]
9295
ogp_image = "_static/img/icons/icon-192x192.png"

0 commit comments

Comments
 (0)