Skip to content

Put the workspace crates first in the side panel #85759

Open
@real-felix

Description

@real-felix

Describe the problem you are trying to solve

I try to document a project with a few crates in a workspace. The issue is that there is a ton of dependencies (that I'd like to browse when needed), and my crates are drowned in the middle of those dependencies in the side panel.

It's impossible to see in a glance which crates are in the project, and thus to browse the project correctly.

Describe the solution you'd like

I think that the crates from the workspace should come first if the side panel, and then the dependencies. If there are 2 crates foo and bar in the workspace, the panel should looks like that:

CRATES
---------
bar
foo
---------
all
the
dependencies

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-rustdoc-uiArea: Rustdoc UI (generated HTML)C-feature-requestCategory: A feature request, i.e: not implemented / a PR.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions