[Merged by Bors] - Document the new pipelined renderer#3094
[Merged by Bors] - Document the new pipelined renderer#3094dataphract wants to merge 5 commits intobevyengine:pipelined-renderingfrom
Conversation
cart
left a comment
There was a problem hiding this comment.
Great work! Just a couple of small "doc philosophy" changes in a couple of places.
| } | ||
| } | ||
|
|
||
| /// Implements [`ExtractComponent`] for all asset handles. |
There was a problem hiding this comment.
I think we should do a pass to remove "obvious" docs like this that just rephrase type information (especially for trait impls like this). I think they have net negative value because they take up space
| <C::Filter as WorldQuery>::Fetch: FilterFetch, | ||
| <C::Query as WorldQuery>::Fetch: ReadOnlyFetch, | ||
| { | ||
| /// Specifies all required ECS data. |
There was a problem hiding this comment.
Re-documenting trait impl functions with copies of the source docs has net-negative value in my opinion:
- It requires updating every implementation whenever the source trait changes
- It just takes up space.
We should only add documentation to specific impls when it actually adds new context.
Can you take a pass and remove cases like this? (and in cases like this where the main Trait docs are missing, move the docs there)
2b7b6f1 to
93d27d2
Compare
|
bors r+ |
|
Merge conflict. |
|
bors r+ |
|
Pull request successfully merged into pipelined-rendering. Build succeeded: |
This is a squash-and-rebase of @ku95's documentation of the new renderer onto the latest
pipelined-renderingbranch.Original PR is #2884.