Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add #[doc(hidden)] to more generated functions and structs. #1317

Closed
wants to merge 1 commit into from

Conversation

jebrosen
Copy link
Collaborator

This PR hides items with names such as static_rocket_route_info_for_index from documentation. I believe this covers all generated top-level items that were not already #[doc(hidden)].

It might be nicer to provide some sort of documentation (#297), but I think hiding it is preferable until something like that exists.

Hidden items can still be documented with the following command: RUSTDOCFLAGS='-Z unstable-options --document-hidden-items' cargo doc [--open]. It is expected that that command will be less cumbersome in the future (rust-lang/cargo#7766).

@jebrosen jebrosen requested a review from SergioBenitez May 31, 2020 18:51
@SergioBenitez
Copy link
Member

Merged in 91fb080.

@SergioBenitez SergioBenitez added the pr: merged This pull request was merged manually. label Jun 5, 2020
@jebrosen jebrosen deleted the doc-hidden branch June 5, 2020 01:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: merged This pull request was merged manually.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants