-
Notifications
You must be signed in to change notification settings - Fork 189
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
Docs: Intersphinx references require fully qualified name for 2.0 documentation #5518
Comments
Thanks for reporting @janssenhenning, I noticed this in the AiiDA plugin cutter as well. Do we know what changed here? @sphuber |
Yep I changed it in 58a5d80, because it was (silently) broken before. |
We can switch over to only documenting via |
From the commit message
I just think that this is an important feature for plugin authors as well. I guess a temporary fix can be to specify those aliases in the plugin's Edit: If we make the aliases importable from the plugin side, that's already better. |
I've run into this issue again. I will open a PR to move the |
These references raise the warning: WARNING: py:meth reference target not found: This is a problem with inter-sphinx that likely has to do with the issue on `aiida-core`: aiidateam/aiida-core#5518. As a temporary fix, we remove references until the underlying problem has been properly resolved.
These references raise the warning: WARNING: py:meth reference target not found: This is a problem with inter-sphinx that likely has to do with the issue on `aiida-core`: aiidateam/aiida-core#5518. As a temporary fix, we remove references until the underlying problem has been properly resolved.
Describe the current issue
Starting with version
2.0
it is no longer possible to use interpshinx references like:py:class:`aiida.orm.Dict`
in external documentations.aiida-fleur
has intersphinx set up like thisWhich prior to
2.0
generated a link like thishttps://aiida.readthedocs.io/projects/aiida-core/en/latest/reference/apidoc/aiida.orm.html#aiida.orm.Dict
for the above reference (To see that it still works replacelatest
withv1.6.8
like here). With2.0
the reference can no longer be resolved leading to errors like in this CI jobDescribe the solution you'd like
Of course these references can be replaced with the fully qualified name
:py:class:`aiida.orm.nodes.data.dict.Dict`
, but this seems quite fragile since aiida-core relies on the exporting in__init__.py
files a lot. Replacing the intersphinx link with thev1.6.8
documentation is a fix but this would only be a temporary solutionThe text was updated successfully, but these errors were encountered: