Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Documentation] Add @example for getNotices to create example in the handbook. #42023

Merged

Conversation

ryanwelcher
Copy link
Contributor

What?

Adds an @examples entry for the getNotices selector to provide an example in the handbook.

Why?

There are very few code examples in the Data Modules section of the developer handbook. Adding some would be very helpful. Tracking issue: WordPress/Documentation-Issue-Tracker#379

How?

Adding @example tags to each docblock.

@ryanwelcher ryanwelcher added [Package] Notices /packages/notices Developer Experience Ideas about improving block and theme developer experience [Type] Developer Documentation Documentation for developers labels Jun 28, 2022
@ryanwelcher ryanwelcher changed the title Feature/add examples to notices docs Docs: Add @example for getNotices Jun 28, 2022
@ryanwelcher ryanwelcher changed the title Docs: Add @example for getNotices [Documentation] Add @example for getNotices to create example in the handbook. Jun 28, 2022
@ryanwelcher ryanwelcher merged commit b0244c2 into WordPress:trunk Jun 30, 2022
@github-actions github-actions bot added this to the Gutenberg 13.7 milestone Jun 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Developer Experience Ideas about improving block and theme developer experience [Package] Notices /packages/notices [Type] Developer Documentation Documentation for developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants