-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Wrong URL for external package cross-reference #32
Labels
bug
Something isn't working
Comments
Hi @jaywonchung, sorry for the late reply and thank you for the report. I'll eventually get time to investigate and fix this issue :) |
pawamoy
added a commit
to mkdocstrings/griffe
that referenced
this issue
Jul 13, 2023
Previously `import a.b.c` was creating an alias with name `a` pointing to `a.b.c`. Now it creates an alias with name `a` pointing to `a`. We don't care about the nested attributes. Issue mkdocstrings/python#32: mkdocstrings/python#32
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
A cross reference to
torch.utils.data.DataLoader
is rendered with incorrect links.Here,
torch
points to https://pytorch.org/docs/1.10.1/data.html#module-torch.utils.data.data
andDataLoader
point to correct URLs.I opened up the
objects.inv
file provided by PyTorch withInventory.parse_sphinx
and found that it does not have entries fortorch
andtorch.utils
. In such a case, I thinktorch
should not point to anything like howtorch.utils
is not linked to anything.To Reproduce
<!-- docs/index.md --> ::: test.MyDataLoader
System:
mkdocstrings-python
version: 0.7.1The text was updated successfully, but these errors were encountered: