Commit 175b28d
docs: suppress @typing.overload signature stacking
Sphinx autodoc detects @overload via AST parsing and stacks every
overload variant with full inline type hints, ignoring autodoc_typehints
= "description". Patch ModuleAnalyzer.analyze to clear overload
collection so each method renders as a single clean signature with type
info in the description block.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent c307d97 commit 175b28d
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
95 | 109 | | |
96 | 110 | | |
97 | 111 | | |
| |||
0 commit comments