Added pdoc helper to find reference errors
url = get_url_for_object_from_imports(phrase, ident)
if url is None:
+ module_part = module.find_ident(phrase.split('.')[0])
+ if not isinstance(module_part, pdoc.External):
+ print(f"Code reference `{phrase}` in module '{ident.refname}' does not match any documented object.")
+
bits = ident.name.split(".")[:-1]
while bits:
