typst / webapp-issues

Issue tracker for Typst's web app.
https://typst.app
13 stars 0 forks source link

Identifiers are not directly searchable in docs #331

Open mathrick opened 6 months ago

mathrick commented 6 months ago

Description

Doc groups such as calc or sys are not searchable through https://typst.app/docs. In fact, even typing the specific symbol such as sys.inputs yields no results, meaning it was very hard to confirm that the feature in typst/typst#2894 was officially released and documented, despite the fact I was looking at the issue and its proposed changes. The only way I could find to see these docs is to know somehow that they're available under "Reference/Foundations", which is not at all obvious.

It seems that the underlying cause is that, confusingly, symbols are not searchable by their actual names, only the friendly/descriptive ones, so for example sqrt yields no results (but "square root" does). And if a symbol does not have a friendly name defined, as seems to be the case for sys, it is effectively invisible in the docs.

Reproduction URL

No response

Browsers

No response

OS

No response