Skip to content

'Could not find cross-reference target' for custom handler #392

Closed Answered by pawamoy
makkus asked this question in Q&A
Discussion options

You must be logged in to vote

Nice work! I think your collector and renderer just lack one or two things.

First, the permalink of your hash objects is #valuehash. This is a good indication that autorefs, the plugin responsible for resolving cross-references, won't be able to find it using the full path kiara_info.modules.value.hash.

Second, and it's a bit hard to understand because lots of things happen in the code between mkdocstrings itself, autorefs, and the handlers: when autorefs cannot resolve a reference immediately, it falls back to asking every handler if it knows the reference, and if yes, what are its possible identifiers/anchors (in Python an object can have multiple identifiers, depending where it is defi…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@pawamoy
Comment options

Answer selected by makkus
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@pawamoy
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
handlers Related to handlers
2 participants
Converted from issue

This discussion was converted from issue #391 on February 24, 2022 19:42.