Probably needs to modify the `temp_data` between these two hooks: https://github.com/sphinx-doc/sphinx/blob/5523c9bbe4d1415777669330411d4f00ad802f18/sphinx/ext/autodoc/typehints.py#L213-L214 Modify this: https://github.com/sphinx-doc/sphinx/blob/5523c9bbe4d1415777669330411d4f00ad802f18/sphinx/ext/autodoc/typehints.py#L61