Skip to content

Identifiers are not directly searchable in docs #331

Open
@mathrick

Description

@mathrick

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working.docsImprovements or additions to documentation UX.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions