This is an attempt to create a buildless Documentation Contributor Workflow that uses WordPress Playground to:
- Fetch the latest version of the documentation from the repository.
- Edit documentation in a browser-based editor.
- Preview the changes in real-time.
- Submit the changes as a pull request.
- Provide a live preview of the documentation PR.
Click here to try it:
It should load the doc pages from the html-pages
directory and the media attachments from uploads
. This video demonstrates it:
Documentation.Workflow.mp4
Copy everything from wp-content
into your local WordPress install, edit the docs, commit the changes back to this repo.
wp-now
workflow is on the way, but it isn't ready yet.
- Render a static documentation site to serve on GitHub pages. Currently the doc pages can be edited and previewed in Playground, but they are not rendered as a static site yet.
- Put preview links in the GitHub PRs