File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
src/mkdocstrings_handlers/python Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ classifiers = [
3030]
3131dependencies = [
3232 " mkdocstrings>=0.19" ,
33+ " mkdocs-autorefs>=1.1" ,
3334 " pytkdocs>=0.14" ,
3435]
3536
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ def do_brief_xref(path: str) -> Markup:
2020 A span containing the brief cross-reference and the full one on hover.
2121 """
2222 brief = path .split ("." )[- 1 ]
23- return Markup ("<span data-autorefs-optional-hover ={path}>{brief}</span >" ).format (path = path , brief = brief )
23+ return Markup ("<autoref identifier ={path} optional hover >{brief}</autoref >" ).format (path = path , brief = brief )
2424
2525
2626def sort_object (obj : CollectorItem , sort_function : Callable [[CollectorItem ], Any ]) -> None :
You can’t perform that action at this time.
0 commit comments