leanprover/doc-gen4

Generate hyperlinks for `library note [XYZ]` to the corresponding `library_note` doc-string.

kim-em opened this issue · 1 comments

kim-em commented

See https://leanprover-community.github.io/mathlib4_docs/Mathlib/LinearAlgebra/Basis.html#Basis.constr for an example.

There we would like in "See library note [bundled maps over different rings]." for "bundled maps over different rings" to hyperlink to the doc-comment in Mathlib.GroupTheory.GroupAction.Defs, and moreover for the library_note in that file to actually be rendered on the documentation page! (It should come just above VAddCommClass.)

leanprover/vscode-lean4#286 is the corresponding open issue for making library notes clickable in VSCode.