-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
2 changed files
with
13 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters