Skip to content

Commit 25221e7

Browse files
committed
Update
1 parent 8c186b1 commit 25221e7

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/source/conf.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,13 @@ def get_version_path():
191191
# Treat warnings as non-fatal - continue build even if there are warnings
192192
keep_warnings = True
193193

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+
194201

195202
# -- Sphinx Gallery configuration -------------------------------------------
196203
sphinx_gallery_conf = {

0 commit comments

Comments
 (0)