Skip to content

Rustdoc could (have an option to) create a top-level index page #16103

Closed
@huonw

Description

@huonw

Currently rustdoc creates doc/foo/index.html doc/bar/index.html (etc.) for crates foo, bar, along with doc/searchIndex.js. We could provide a way to create a human readable doc/index.html summarising all the crates in a folder (like how the search index works).

This could even take a markdown/html file as input to provide a longer description (theoretically this may allow Rust's current index.md top-level file to be properly integrated into the crate docs, although this may not be desirable, which is why this functionality should be optional).

Metadata

Metadata

Labels

C-feature-requestCategory: A feature request, i.e: not implemented / a PR.T-dev-toolsRelevant to the dev-tools subteam, which will review and decide on the PR/issue.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