You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Stop repeating input/output type info in docstrings #454
I think Sphinx is able to figure out the types and keep them in the document by inspecting the typing info, which going forward should be our source of truth (#312 (comment)). We should not repeat ourselves.
Activity
leofang commentedon Feb 24, 2025
I noticed there are some issues for Sphinx to handle type alias properly. We need to proceed with caution.
sphinx-doc/sphinx#11991
leofang commentedon Jun 11, 2025
Found another relevant issue: sphinx-doc/sphinx#7077, and someone pointed to the
sphinx-autodoc-typehintplugin: sphinx-doc/sphinx#7077 (comment)