Skip to content

Commit 8453733

Browse files
authored
Apply suggestion from @larsoner
1 parent 9d41917 commit 8453733

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

numpydoc/numpydoc.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,8 @@ def mangle_docstrings(app: SphinxApp, what, name, obj, options, lines):
185185
"xref_aliases": app.config.numpydoc_xref_aliases_complete,
186186
"xref_ignore": app.config.numpydoc_xref_ignore,
187187
}
188+
# TODO: Find a cleaner way to take care of this change away from dict
189+
# https://github.com/sphinx-doc/sphinx/issues/13942
188190
try:
189191
cfg.update(options or {})
190192
except TypeError:

0 commit comments

Comments
 (0)