Skip to content
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

refactor: Return multiple identifiers from fallback method #350

Merged
merged 1 commit into from Dec 14, 2021

Conversation

pawamoy
Copy link
Member

@pawamoy pawamoy commented Nov 28, 2021

Since an object can have aliases (different identifiers
leading to it), and since users sometimes want to
render an object using one of its aliases instead of its
canonical identifier, we make sure to register every
identifier associated to an object so that autorefs
can find it when fixing cross-references.

Issue mkdocstrings/autorefs#11
Needs PR mkdocstrings/autorefs#12

src/mkdocstrings/handlers/python.py Outdated Show resolved Hide resolved
src/mkdocstrings/handlers/base.py Show resolved Hide resolved
@oprypin oprypin self-requested a review December 4, 2021 10:28
oprypin
oprypin previously approved these changes Dec 5, 2021
src/mkdocstrings/handlers/python.py Show resolved Hide resolved
pawamoy added a commit to mkdocstrings/autorefs that referenced this pull request Dec 5, 2021
Since an object can have aliases (different identifiers
leading to it), and since users sometimes want to
render an object using one of its aliases instead of its
canonical identifier, we make sure to register every
identifier associated to an object so that autorefs
can find it when fixing cross-references.

Issue mkdocstrings/autorefs#11: mkdocstrings/autorefs#11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants