If a literal ... is in a type annotation, it should link to Python documentation like any other builtin type. TODOs:
[ ] right now it's changed to a link that says Ellipsis instead of ..., which isn't desired
[ ] there has to be either some special-casing inside m.sphinx inventory parsing (but that'd have to narrow this patching down to just Python's own inventory, which is rather impossible to detect)
[ ] or there has to be e.g. an optional argument to make_name_link() that overrides the link title.
If a literal
...
is in a type annotation, it should link to Python documentation like any other builtin type. TODOs:...
, which isn't desiredm.sphinx
inventory parsing (but that'd have to narrow this patching down to just Python's own inventory, which is rather impossible to detect)make_name_link()
that overrides the link title.