We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c186b1 commit 25221e7Copy full SHA for 25221e7
docs/source/conf.py
@@ -191,6 +191,13 @@ def get_version_path():
191
# Treat warnings as non-fatal - continue build even if there are warnings
192
keep_warnings = True
193
194
+# Napoleon settings for Google-style docstrings (from torchtitan and other dependencies)
195
+napoleon_google_docstring = True
196
+napoleon_numpy_docstring = True
197
+napoleon_use_param = True
198
+napoleon_use_rtype = True
199
+napoleon_preprocess_types = False
200
+
201
202
# -- Sphinx Gallery configuration -------------------------------------------
203
sphinx_gallery_conf = {
0 commit comments