bevyengine / bevyengine/bevy

Reduce macro spam in docs

Open
#2,108 6 comments 0 reactions 0 assignees View on GitHub
C-Docs
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## How can Bevy's documentation be improved?

Several of our macro-generated trait impls (e.g. [WorldQuery](https://docs.rs/bevy/0.5.0/bevy/ecs/query/trait.WorldQuery.html)) are flooded with near duplicate implementations that make it hard to browse. This is a workaround the lack of variadic generics, but we should try to reduce the end user impact.

We should be able to hide this with `#[doc(hidden)]`. Ideally, we get clever with our macro and hide all-but-one of the impls of each relevant type.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.