Commit 1aab7b5
committed
Enable autorefs plugin option to resolve closest references
The new version of the plugin will warn if there are multiple
references to the same object, for example:
```
WARNING - mkdocs_autorefs: Multiple secondary URLs found for
'frequenz.client.base.exception.ApiClientError.description':
['reference/frequenz/client/microgrid/#frequenz.client.microgrid.ApiClientError.description',
'reference/frequenz/client/microgrid/#frequenz.client.microgrid.ClientNotConnected.description'].
```
To avoid this we enable the `resolve_closest` option:
https://mkdocstrings.github.io/autorefs/#non-unique-headings
But this looks like a bug in the plugin, so we'll see:
mkdocstrings/autorefs#52 (comment)
Signed-off-by: Leandro Lucarella <[email protected]>1 parent 83d15a4 commit 1aab7b5
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
| 91 | + | |
90 | 92 | | |
91 | 93 | | |
92 | 94 | | |
| |||
0 commit comments