-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for the new intersphinx syntax (:external:
role)
#464
Comments
The I guess esbonio needs a way for extensions to register roles, like a esbonio/lib/esbonio/esbonio/lsp/roles.py Line 139 in 26d972f
|
Yes, in #453 I've just refactored support for directives and made it possible for 1st and 3rd party extensions to contribute directive completion suggestions. Once a similar refactoring for roles lands, adding support for this should be relatively straightforward. |
With #495 it should now be possible to implement this - would you be interested in having a go? 🙂 |
would love to! I'll give it a try next week. |
Sphinx 4.4 introduced a new syntax for using intersphinx (the
:external:
role) https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html#explicitly-reference-external-objects.Basically:
:external:domain:reftype:`target`
:external:reftype:`target`
:external+invname:domain:reftype:`target`
:external+invname:reftype:`target`
Esbonio should
:external:
when typing:
:external+
(or maybe even when typing just:external
):external:
invname:target
syntax doesn't work when using the external roleThe text was updated successfully, but these errors were encountered: