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
I opened up the objects.inv file provided by PyTorch with Inventory.parse_sphinx and found that it does not have entries for torch and torch.utils. In such a case, I think torch should not point to anything like how torch.utils is not linked to anything.
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
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: