You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Docs: Overhaul the Development Environment section of the Block Editor Handbook - #54395
The PR aims to update the Development Environment section of the Block Editor Handbook and provide a more streamlined developer onboarding experience using wp-env or wp-now.
Why?
The current section is not up to date and does not provide an optimal developer experience. It also does not cover wp-now.
How?
To begin, the main Development Environment page is simplified. It now provides an overview of what you need to set up a dev environment for JavaScript development and provides brief explanations of "why" you need a code editor, Node.js dev tools, and a local WordPress environment.
The section covering Node.js dev tools is broken out into its own page, providing more details and installation information.
The section on creating a local WordPress environment has also been broken out into two additional guides, one for wp-env and another for wp-now. Since these are the two tools currently maintained by WordPress itself, this is why they were chosen. This structure allows additional guides to be added in the future depending on community interest.
ndiego
changed the title
Docs: Overhaul the Develop Environment section of the Block Editor Handbook
Docs: Overhaul the Developer Environment section of the Block Editor Handbook
Sep 12, 2023
@ndiego I have created the following diagram and shared some videos to share my thoughts.
Let me know what you think. Also happy to jump into a call if you prefer to.
ndiego
changed the title
Docs: Overhaul the Developer Environment section of the Block Editor Handbook
Docs: Overhaul the Development Environment section of the Block Editor Handbook
Sep 15, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What?
The PR aims to update the Development Environment section of the Block Editor Handbook and provide a more streamlined developer onboarding experience using
wp-envorwp-now.Why?
The current section is not up to date and does not provide an optimal developer experience. It also does not cover
wp-now.How?
To begin, the main Development Environment page is simplified. It now provides an overview of what you need to set up a dev environment for JavaScript development and provides brief explanations of "why" you need a code editor, Node.js dev tools, and a local WordPress environment.
The section covering Node.js dev tools is broken out into its own page, providing more details and installation information.
The section on creating a local WordPress environment has also been broken out into two additional guides, one for
wp-envand another forwp-now. Since these are the two tools currently maintained by WordPress itself, this is why they were chosen. This structure allows additional guides to be added in the future depending on community interest.Finally, the current How to setup local WordPress environment on Ubuntu doc has been removed, and that content is now part of the Troubleshooting section of the new "Guide to using wp-env".