Skip to content

Docs search ignores the exported name #222

@YaelDillies

Description

@YaelDillies

If you look for "inv_zero" in the mathlib docs, you would expect to find inv_zero as the first result. Annoyingly, you get this instead:
image
... because inv_zero is secretly GroupWithZero.inv_zero exported to _root_.

This is an issue because exported lemmas are usually of widespread use (else we wouldn't be exporting them in the first place), but them being exports significantly hinders their discoverability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions