Instance Method
resolve(_:)
Attempts to resolve an unresolved reference for an external topic.
func resolve(_ reference: TopicReference) -> TopicReferenceResolutionResult
Parameters
referenceThe unresolved external reference.
Return Value
The resolved reference for the topic, or information about why the resolver failed to resolve the reference.
Discussion
Your implementation returns a resolved reference if the topic exists in the external source of documentation, or information about why the reference failed to resolve if the topic doesn’t exist in the external source.
Your implementation will only be called once for a given unresolved reference. Failures are assumed to persist for the duration of the documentation build.