Skip to content

Direct link when searching for a short code #13684

@opk12

Description

@opk12

When I type a short code in the search bar on the website (https://docs.astral.sh/ruff), for example ruf005, the search suggestion is a link to the list of warnings. When I type a long code, for example collection-literal-concatenation, the search suggestion is a direct link to the warning's article. Could the short code case be changed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationhelp wantedContributions especially welcome

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions