-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[Merged by Bors] - Bevy app docs #3539
Conversation
Achieves 100% doc coverage for public items in the bevy_app crate. Also, fixes a couple of minor typos in other crates.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your current docs seem a little out-of-place IMO, in that they explain things that aren't directly relevant to understanding App
, and don't explain things that are.
I've left you some constructive criticism with suggestions for what to document instead. :)
Also, it is a convention to have the first line of a doc comment be a brief statement of what the thing is, and then have any additional explanation on following lines. Rustdoc will display the first line as the description in brief listings, like search results. You don't want to clutter it with too much text.
Co-authored-by: Alice Cecile <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few more typos and thoughts. The framing of how we introduce App
is particularly critical for the new user experience, so we should spend more time trying to really nail the explanation than might be justified otherwise. The existing docs are fine, but these should be excellent.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, left some comments on unimportant details :)
Co-authored-by: Pascal Hertleif <[email protected]>
Co-authored-by: Pascal Hertleif <[email protected]>
Co-authored-by: Pascal Hertleif <[email protected]>
bors r+ |
# Objective Achieve 100% documentation coverage for bevy_app crate. See #3492 ## Solution - Add #![warn(missing_docs)] to crate root - Add doc comments to public items - Add doc comment to bevy_utils::define_label macro trait
🔒 Permission denied Existing reviewers: click here to make dbearden a reviewer |
@dbearden That permission is for Cart, Francois and myself :) We just need to wait for the |
Oops :p |
bors seems stuck. Let's try again... |
bors r- |
Canceled. |
bors r+ |
# Objective Achieve 100% documentation coverage for bevy_app crate. See #3492 ## Solution - Add #![warn(missing_docs)] to crate root - Add doc comments to public items - Add doc comment to bevy_utils::define_label macro trait
Objective
Achieve 100% documentation coverage for bevy_app crate.
See #3492
Solution