We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0cedf9d commit a99a99cCopy full SHA for a99a99c
src/mkdocs_autorefs/plugin.py
@@ -102,15 +102,15 @@ def _get_item_url(
102
self._url_map[identifier] = [url]
103
return url
104
raise
105
- else:
106
- if len(urls) > 1:
107
- log.warning(
108
- "Multiple URLs found for '%s': %s. "
109
- "Make sure to use unique headings, identifiers, or Markdown anchors (see our docs).",
110
- identifier,
111
- urls,
112
- )
113
- return urls[0]
+
+ if len(urls) > 1:
+ log.warning(
+ "Multiple URLs found for '%s': %s. "
+ "Make sure to use unique headings, identifiers, or Markdown anchors (see our docs).",
+ identifier,
+ urls,
+ )
+ return urls[0]
114
115
def get_item_url(
116
self,
0 commit comments