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
fix: Always resolve secondary URLs to closest (don't log warnings)
Downstream projects rendering aliases of objects imported from upstream ones will render these upstream objects' docstrings. These docstrings can contain cross-references to other upstream objects that are not rendered directly in downstream project's docs. If downstream project renders subclasses of upstream class, with inherited members, only primary URLs will be registered for the aliased/downstream identifiers, and only secondary URLs will be registered for the upstream identifiers. When trying to apply the cross-reference for the upstream docstring, autorefs will find only secondary URLs, and multiple ones. But the end user does not have control over this. It means we shouldn't log warnings when multiple secondary URLs are found, and always resolve to closest.
Issue-52: #52
0 commit comments