Skip to content

rustdoc: Add reexport info - #162091

Draft
GuillaumeGomez wants to merge 1 commit into
rust-lang:mainfrom
GuillaumeGomez:show-reexport-info
Draft

rustdoc: Add reexport info#162091
GuillaumeGomez wants to merge 1 commit into
rust-lang:mainfrom
GuillaumeGomez:show-reexport-info

Conversation

@GuillaumeGomez

Copy link
Copy Markdown
Member

It looks like this:

image

For this code:

#[doc(inline)]
pub use std::vec::Vec as integer_32;

So now come a few questions:

  • Should we do it for local items too?
  • What should we do for reexported doc(hidden) items?
  • What should we go for reexported items within a doc(hidden) module as ancestor?
  • Should we add an attribute to enable/disable this feature?

As this is likely going to need a lot of discussion, it's a draft for now. Nominating it for discussing it in next rustdoc meeting.

cc @rust-lang/rustdoc

@rustbot rustbot added A-rustdoc-js Area: Rustdoc's JS front-end S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output. labels Aug 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-rustdoc-js Area: Rustdoc's JS front-end S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants