leanprover / doc-gen4

Document Generator for Lean 4
Apache License 2.0
63 stars 41 forks source link

Binder symbols in Exists is not linked #91

Open eric-wieser opened 1 year ago

eric-wieser commented 1 year ago

Compare:

Only the Lean3 versions let you inspect the binder symbol in the docs. While for Existss this is obvious, for other binders the hover text is very useful.

It's possible this requires a patch to Lean4 itself; the Lean 3 patch was https://github.com/leanprover-community/lean/pull/781.

hargoniX commented 1 year ago

This does most likely require a patch to lean itself, doc-gen4 merely analyses datastructures on top of the info trees: https://github.com/leanprover/doc-gen4/blob/main/DocGen4/Output/Base.lean#L208

CC: @Kha what do you think?

Kha commented 1 year ago

Yes, doc-gen shows whatever the info view shows