Zulip Chat Archive
Stream: general
Topic: give more detail in search bar
Yaël Dillies (Jun 08 2021 at 19:28):
I'm thinking we could add their paths next to the names of the declarations that come up when searchin the doc. This could be in grey and italic, to avoid obscuring the window. Typical polymorphism
It would help distinguish some synonyms.
Eric Rodriguez (Jun 08 2021 at 19:55):
this is in the beta docs, https://leanprover-community.github.io/mathlib_docs_demo/, but it sadly hasn't been updated for a while :(
Eric Rodriguez (Jun 08 2021 at 19:56):
for reference image.png
Eric Wieser (Jun 08 2021 at 20:01):
Right, that's https://github.com/leanprover-community/doc-gen/pull/131
Yaël Dillies (Jun 08 2021 at 20:29):
Wow! That's amazinger than what I ought to dream!
Bryan Gin-ge Chen (Jun 08 2021 at 20:57):
I was planning on reviewing that PR in more detail, but I haven't had time yet. So please try out the PR; if enough folks are mostly happy with it, I think we can merge it as is.
Bryan Gin-ge Chen (Jun 08 2021 at 20:58):
For now, I'll re-deploy it so that it's more up to date with current mathlib.
Eric Rodriguez (Jun 08 2021 at 21:33):
FWIW, Bryan, it seemed really good when it was up-to-date. No teething issues (apart from wishing search was faster :b )
Eric Rodriguez (Jun 08 2021 at 21:33):
I'll try it again now
Eric Wieser (Jun 08 2021 at 22:06):
That PR probably makes it much slower, since the search index grows from 2mb to 15mb
Last updated: Dec 20 2023 at 11:08 UTC