⚠️ Next version will start considering identifiers containing spaces and slashes #56
Closed
pawamoy
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Until now, mkdocs-autorefs ignored reference markup that used spaces or slashes in the identifier. All the following references, if not already resolved during Markdown conversion, would be ignored by autorefs:
Next version will start considering them, which means users might get warnings that some references cannot be resolved.
If these references aren't intentional (you happen to be using the reference syntax by accident), the solution is to escape them, or to just use different syntax:
This change is necessary because identifiers in Sphinx-like object inventories may contain spaces and slashes, so we must support these identifiers in mkdocs-autorefs. Issue tracked here: #55. The previous decision to consider such identifiers "unintentional references" was arbitrary.
This change, even though it can make CI fail, will not be considered a breaking change, because:
mkdocs build/serve -s
), and strict builds are opt-in. More details on this reasoning here: Warning logs and strict mode mkdocs/mkdocs#3818.This announcement therefore serves as an official communication that warnings (logs and actual warnings) are not to be considered part of the public/stable API. I will add this to the docs too.
Thank you for your understanding!
Beta Was this translation helpful? Give feedback.
All reactions