From d0caea088298d76dbf3f4ef6e0648df870a69081 Mon Sep 17 00:00:00 2001 From: SpecificProtagonist Date: Tue, 4 Mar 2025 09:05:16 +0100 Subject: [PATCH] =?UTF-8?q?Relationship(=E2=80=A6Target)=20html=20trait=20?= =?UTF-8?q?tag=20(#18140)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # Objective Fixes #18117 These are component subtraits, but unlike for `Event` (before that bound got removed) this still shows it as a component because it's actually used as such. ## Testing ```sh RUSTDOCFLAGS="--html-after-content docs-rs/trait-tags.html --cfg docsrs_dep" RUSTFLAGS="--cfg docsrs_dep" cargo doc --no-deps --package bevy_ecs ``` --- ## Showcase ![Screenshot from 2025-03-03 17-31-24](https://github.com/user-attachments/assets/4b152b3f-f9c3-4ee6-a3d4-ad10f09040b6) --- docs-rs/trait-tags.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs-rs/trait-tags.html b/docs-rs/trait-tags.html index 3f65362213..bdd7ba1fb2 100644 --- a/docs-rs/trait-tags.html +++ b/docs-rs/trait-tags.html @@ -16,6 +16,8 @@ 'ScheduleLabel', 'SystemSet', 'SystemParam', + 'Relationship', + 'RelationshipTarget' ]; // Find all traits that are implemented by the current type. @@ -138,7 +140,7 @@ } .resource-tag { - --tag-color: oklch(50% 27% 130); + --tag-color: oklch(50% 27% 110); } .asset-tag { @@ -162,4 +164,9 @@ .systemparam-tag { --tag-color: oklch(50% 27% 200); } + + .relationship-tag, + .relationshiptarget-tag { + --tag-color: oklch(50% 27% 150); + } \ No newline at end of file