Skip to content

Conversation

@joseph-gio
Copy link
Member

Objective

I noticed while working on #5366 that the documentation for label types wasn't working correctly. Having experimented with this for a few weeks, I believe that generating docs in macros is more effort than it's worth.

Solution

Add more boilerplate, copy-paste and edit the docs across types. This also lets us add custom doctests for specific types. Also, we don't need concat_idents as a dependency anymore.

@alice-i-cecile alice-i-cecile added C-Docs An addition or correction to our documentation A-ECS Entities, components, systems, and events labels Jul 18, 2022
@alice-i-cecile alice-i-cecile added this to the Bevy 0.8 milestone Jul 18, 2022
@alice-i-cecile
Copy link
Member

Unblocks #5366, so into the milestone it goes.

@alice-i-cecile
Copy link
Member

I'm on board with this as a direction. Let me know when it's ready for review.

@joseph-gio joseph-gio marked this pull request as ready for review July 18, 2022 13:36
@joseph-gio
Copy link
Member Author

@alice-i-cecile ready now :)

@cart
Copy link
Member

cart commented Jul 20, 2022

bors r+

bors bot pushed a commit that referenced this pull request Jul 20, 2022
# Objective

I noticed while working on #5366 that the documentation for label types wasn't working correctly. Having experimented with this for a few weeks, I believe that generating docs in macros is more effort than it's worth.

## Solution

Add more boilerplate, copy-paste and edit the docs across types. This also lets us add custom doctests for specific types. Also, we don't need `concat_idents` as a dependency anymore.
@bors
Copy link
Contributor

bors bot commented Jul 20, 2022

@bors bors bot changed the title improve documentation for macro-generated label types [Merged by Bors] - improve documentation for macro-generated label types Jul 20, 2022
@bors bors bot closed this Jul 20, 2022
@joseph-gio joseph-gio deleted the label-doc-fix branch July 20, 2022 20:08
inodentry pushed a commit to IyesGames/bevy that referenced this pull request Aug 8, 2022
# Objective

I noticed while working on bevyengine#5366 that the documentation for label types wasn't working correctly. Having experimented with this for a few weeks, I believe that generating docs in macros is more effort than it's worth.

## Solution

Add more boilerplate, copy-paste and edit the docs across types. This also lets us add custom doctests for specific types. Also, we don't need `concat_idents` as a dependency anymore.
james7132 pushed a commit to james7132/bevy that referenced this pull request Oct 28, 2022
# Objective

I noticed while working on bevyengine#5366 that the documentation for label types wasn't working correctly. Having experimented with this for a few weeks, I believe that generating docs in macros is more effort than it's worth.

## Solution

Add more boilerplate, copy-paste and edit the docs across types. This also lets us add custom doctests for specific types. Also, we don't need `concat_idents` as a dependency anymore.
ItsDoot pushed a commit to ItsDoot/bevy that referenced this pull request Feb 1, 2023
# Objective

I noticed while working on bevyengine#5366 that the documentation for label types wasn't working correctly. Having experimented with this for a few weeks, I believe that generating docs in macros is more effort than it's worth.

## Solution

Add more boilerplate, copy-paste and edit the docs across types. This also lets us add custom doctests for specific types. Also, we don't need `concat_idents` as a dependency anymore.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-ECS Entities, components, systems, and events C-Docs An addition or correction to our documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants