You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here it would be nice to be able to link to MyThing and MyResult. Even if it's not possible to do it automatically, you could still enclose MyResult in `` either in the source code, or via the autodoc-process-signature event. Same applies to MyThing.
If such a thing is attempted today, the `` will be shown as is in the HTML output, and no hyperlink will be generated.
The extension is actually not doing what is asked, i.e. adding links within the signature. Instead, it introduces annotation where it can in the docstring.
Why can't we have links within the signature?
Since 3.0, Sphinx converts type-annotations in function signature to cross references (refs: #7341). I think this issue was already resolved. Closing now!
When generating autodoc it's not possible to insert links for the types mentioned in the docstring signature:
Here it would be nice to be able to link to MyThing and MyResult. Even if it's not possible to do it automatically, you could still enclose MyResult in `` either in the source code, or via the autodoc-process-signature event. Same applies to MyThing.
If such a thing is attempted today, the `` will be shown as is in the HTML output, and no hyperlink will be generated.
The text was updated successfully, but these errors were encountered: