WordPress / wordpress-playground

Run WordPress in the browser via WebAssembly PHP
https://w.org/playground/
GNU General Public License v2.0
1.57k stars 221 forks source link

Gutenberg Handbook PR previewer #822

Open adamziel opened 7 months ago

adamziel commented 7 months ago

Large barrier to contributing to dev docs = no preview of how my changes look like in production. Developers must merge and then test their changes in production. A PR previewer would be hugely helpful. It can be set up with GitHub actions.

Example handbook page: https://developer.wordpress.org/block-editor/how-to-guides/block-tutorial/writing-your-first-block-type/

Example PRs:

Please create new issues to separately track each item on the checklist below

Done is

adamziel commented 7 months ago

To quote @juanmaguitar:

The official instructions to set up a local DevHub environment are at: https://make.wordpress.org/docs/handbook/devhub/

To implement the development environment according to the instructions of the DevHub Handbook I created a project using @wordpress/env that is available in this repository

juanmaguitar commented 7 months ago

A comment is automatically added to each Pull Request that is against the https://github.com/WordPress/gutenberg/ repo AND updates the documentation

Maybe this process can be triggered only for those PRs labelled as [Type] Developer Documentation or only those PRs with some changes on /docs folder