Skip to content

Include shared docs in both trait and derive documentation #19537

Open
@alice-i-cecile

Description

@alice-i-cecile

I think it would make sense to split out the derive syntax section of the Component and Event docs into a separate markdown file, then #[doc = include_str!("…")] it in both the trait doc and the derive macro doc.

Originally posted by @SpecificProtagonist in #19523 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ECSEntities, components, systems, and eventsC-DocsAn addition or correction to our documentationD-StraightforwardSimple bug fixes and API improvements, docs, test and examplesS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!X-UncontroversialThis work is generally agreed upon

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions