Skip to content

Commit d0caea0

Browse files
Relationship(…Target) html trait tag (bevyengine#18140)
# Objective Fixes bevyengine#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)
1 parent 7a1972e commit d0caea0

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

docs-rs/trait-tags.html

+8-1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
'ScheduleLabel',
1717
'SystemSet',
1818
'SystemParam',
19+
'Relationship',
20+
'RelationshipTarget'
1921
];
2022

2123
// Find all traits that are implemented by the current type.
@@ -138,7 +140,7 @@
138140
}
139141

140142
.resource-tag {
141-
--tag-color: oklch(50% 27% 130);
143+
--tag-color: oklch(50% 27% 110);
142144
}
143145

144146
.asset-tag {
@@ -162,4 +164,9 @@
162164
.systemparam-tag {
163165
--tag-color: oklch(50% 27% 200);
164166
}
167+
168+
.relationship-tag,
169+
.relationshiptarget-tag {
170+
--tag-color: oklch(50% 27% 150);
171+
}
165172
</style>

0 commit comments

Comments
 (0)