Skip to content

Commit aa5a06e

Browse files
committed
docs(conf): Improve documentation of dataclass variables / attributes
See also: - https://stackoverflow.com/a/66168767/1396928 - https://stackoverflow.com/a/64601933/1396928
1 parent 3519d61 commit aa5a06e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,10 @@
101101
autoapi_generate_api_docs = False # when fales, use directives
102102
suppress_warnings = ["autoapi.python_import_resolution", "autoapi.not_readable"]
103103

104+
# sphinx.ext.napoleon
105+
napoleon_google_docstring = True
106+
napoleon_include_init_with_doc = True
107+
104108
# sphinxext.opengraph
105109
ogp_site_url = about["__docs__"]
106110
ogp_image = "_static/img/icons/icon-192x192.png"

0 commit comments

Comments
 (0)