What's the new feature?
Use autodoc-process-bases to substitute TypeVars for their bounds in base classes in docs. This is similar to the existing function to do it in function annotations.
See documentation/source/conf.py and https://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html#event-autodoc-process-bases.
What value does this add?
Show inheritance with Intersphinx links without needing to include TypeVars in the compiled documentation. Currently these links are broken.
Is there an alternative you've considered?
No response
Additional context
No response