Closed
Description
https://docs.python.org/3/library/importlib.metadata.html#distribution-versions doesn't actually define a Sphinx function for version
, so attempted references with `:func:`importlib.metadata.version`
(including via the intersphinx
extension) fail.
Edit: fixed the backticks thanks to @serhiy-storchaka's tip below (TIL that you can use repeated backticks with trailing and leading space for inline code markup, allowing inclusion of single backticks in the quoted code)
Linked PRs
- gh-125018: Add importlib.metadata semantic link targets #125027
- [3.13] gh-125018: Add importlib.metadata semantic link targets (GH-125027) #125047
- [3.12] gh-125018: Add importlib.metadata semantic link targets (GH-125027) #125048
- gh-125018: Fix role syntax #125050
- [3.12] gh-125018: Fix role syntax (GH-125050) #125055
- [3.13] gh-125018: Fix role syntax (GH-125050) #125080