Skip to content

Feature idea: cargo doc generating an index.html for workspaces, with a list of the workspace's crates #8229

Open
@Ekleog

Description

@Ekleog

Describe the problem you are trying to solve

I have a workspace with a list of crates. cargo doc does not generate a target/doc/index.html, and cargo doc --open just opens the crate of the workspace.

Describe the solution you'd like

Ideally, cargo doc would also generate a target/doc/index.html that contains eg. an index of all the crates that are (directly) in the workspace. This would make everything more discoverable, and would allow to just point to [built-docs]/index.html without having to write one by hand that wouldn't have the expected look-and-feel :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Command-docS-blocked-externalStatus: ❌ blocked on something out of the direct control of the Cargo project, e.g., upstream fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions