Skip to content

Commit cf51f27

Browse files
adamzielironnyshbph
authored
Blueprints Crash Course (#5)
Launching this Blueprint community space hinges on good materials to explain what Blueprints are and how developers can work with them. This PR proposes a few pages to cover: 1. What are Blueprints and how are they useful? 2. How to run Blueprints 3. Building your first Blueprint 4. Debugging Blueprints 5. Developer Tools 6. More Resources It's a loose interpretation of [the previously proposed outline](WordPress/blueprints-library#64) that covers roughly the same topics in a lean way. ## Reviewing [<kbd> <br>Preview proposed documentation<br> </kbd>](https://github.com/adamziel/blueprints/blob/blueprints-crash-course/docs/index.md) cc @flexseth @bph @jonathanbossenger @ironnysh @westnz @justintadlock @annezazu @bgrgicak @brandonpayton @dmsnell for your opinions. I'd love to learn: 1. Do you think this covers enough to launch the Community Space and iterate later? 2. Are these pages clear? Do they do a good job of getting a person from 0 to familiar? 3. What would you change? ## Documentation format This PR uses Markdown because it's easy to write and can be readily previewed on GitHub. In parallel, we're exploring [a Playground-based documentation writing workflow](https://github.com/adamziel/playground-docs-workflow). It's not ready for production use yet and I didn't want to block the community space on these explorations. Once it's finished, these docs should be easy to migrate. Closes #2 --------- Co-authored-by: Ronny Shani <[email protected]> Co-authored-by: Birgit Pauli-Haack <[email protected]>
1 parent 608e0da commit cf51f27

15 files changed

+636
-49
lines changed

CONTRIBUTING.md

+19-20
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,33 @@
1-
## Contributing Guidelines
1+
# Contribution Guidelines
22

33
We encourage you to contribute your own Blueprints to this repository!
44

5-
### Building your first Blueprint
5+
## Build your first Blueprint
66

7-
See [Building your first Blueprint](./docs/how-to-build-a-blueprint/your-first-blueprint.md).
7+
Not sure how? Check out the [Blueprints 101](./docs/index.md).
88

9-
### Submitting your Blueprint to this repository
9+
## Submit your Blueprint to this repository
1010

11-
To keep the submission process smooth, please follow the following guidelines:
11+
To keep the submission process smooth, please follow these guidelines:
1212

13-
Submit your Blueprint as a Pull Request to this repository.
13+
1. Submit [a Pull Request (PR)](https://github.com/adamziel/blueprints/pulls) with your Blueprint.
14+
2. The PR must contain a single `blueprint.json` file under the path `blueprints/your-blueprint-name/blueprint.json` (like [the examples here](https://github.com/adamziel/blueprints/tree/trunk/blueprints)).
15+
3. Include all static files (WXR, ZIP, JPG, etc.) listed in the Blueprint in the submitted directory of your PR, and reference them via the `https://raw.githubusercontent.com` domain.
16+
4. By submitting a Blueprint, you agree to license it under [GPLv2 or later license](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html).
1417

15-
Your Pull Request must contain a single `blueprint.json` file under a path `blueprints/your-blueprint-name/blueprint.json`.
18+
## Blueprint metadata
1619

17-
All static files (WXR, ZIP, JPG etc.) referenced by the Blueprint must be included in the submitted directory in your Pull Request and referenced via the `raw.githubusercontent.com` domain.
20+
Each Blueprint should include metadata within the top-level "meta" key of the `blueprint.json` file.
1821

19-
By submitting a Blueprint, you agree to license it under GPLv2 or later license.
22+
Here's what's required:
2023

21-
### Blueprint Metadata
24+
- **Title:** a clear and concise name for your Blueprint.
25+
- **Author:** your GitHub username, to let others know who created the Blueprint.
2226

23-
Each Blueprint should include some basic metadata within the top-level "meta" key in the blueprint.json file. Here's what's required:
27+
Optionally, you can add:
2428

25-
* Title: A clear and concise name for your Blueprint.
26-
* Author (GitHub Username): Let others know who created the Blueprint.
27-
28-
Optionally, you can also include:
29-
30-
* Description: Provide a brief explanation of what your Blueprint offers.
31-
* Categories: Specify relevant categories to help users find your Blueprint in the future Blueprints section on WordPress.org.
29+
- **Description:** a brief explanation of what the Blueprint offers.
30+
- **Categories:** specify relevant categories to help users find your Blueprint in the future Blueprints section on WordPress.org.
3231

3332
Here's an example:
3433

@@ -43,6 +42,6 @@ Here's an example:
4342
}
4443
```
4544

46-
### Needing Help?
45+
## Need help?
4746

48-
If you have questions or need assistance, start a new issue in this repository.
47+
If you have questions or comments, [open a new issue](https://github.com/adamziel/blueprints/issues) in this repository.

GALLERY.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# WordPress Blueprints Gallery
22

3-
Here's the list of all the community Blueprints submitted to this repository. See the [contribution guidelines](./README.md#contributing-your-blueprint) to submit your Blueprint and share your WordPress setup with the world!
3+
Here are all the community Blueprints submitted to this repository.
4+
5+
Want to share your WordPress setup with the world? See the [contribution guidelines](./CONTRIBUTING.md) for more information on how to submit your Blueprint.
46

57
| Title | Preview | Source |
68
| ----- | ------- | ------ |

README.md

+20-14
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@
55
66
## What are Blueprints?
77

8-
Blueprints are WordPress setup descriptions that can be previewed live in [WordPress Playground](https://w.org/playground). Just like this one:
8+
Check out [Blueprints 101](./docs/index.md) to get started.
9+
10+
Here's a quick overview:
11+
12+
Blueprints are WordPress setup scripts that you can preview live in [WordPress Playground](https://w.org/playground). Here's a simple example:
913

1014
```json
1115
{
@@ -17,31 +21,33 @@ Blueprints are WordPress setup descriptions that can be previewed live in [WordP
1721

1822
[<kbd> <br> Preview in WordPress Playground <br> </kbd>](https://playground.wordpress.net/#%7B%22plugins%22:%5B%22hello-dolly%22,%22gutenberg%22%5D,%20%22login%22:%20true,%20%22landingPage%22:%20%22/wp-admin/plugins.php%22%20%7D)
1923

20-
Blueprints contain all the setup information including plugins, themes, site options, starter content to import, and more. See [Building your first Blueprint](./docs/how-to-build-a-blueprint/your-first-blueprint.md) for more details.
24+
Blueprints contain all the installation instructions needed to setup WordPress, including plugins, themes, site options, starter content to import, and more.
25+
26+
Check out [Blueprints 101](./docs/index.md) to get started with Blueprints.
2127

2228
## Why use Blueprints?
2329

24-
Blueprints can help you:
30+
Blueprints can help you
2531

26-
* Explore different setups – Try out different themes and plugins without the risk of breaking your site. It's a safe environment to see what works best for your needs.
27-
* Save time – Instead of manually setting up your site, choosing themes, and installing plugins one by one, Blueprints do all that work for you in a few clicks.
28-
* Learn WordPress Blueprints are a fantastic way to play with a variety of WordPress configurations.
32+
- **Explore different setups:** try out different themes and plugins without the risk of breaking your site. It's a safe environment to see what works best for your needs.
33+
- **Save time**:** instead of manually setting up your site, choosing themes, and installing plugins one by one, Blueprints do all work for you.
34+
- **Learn WordPress:** Blueprints are a fantastic way to play with a variety of WordPress configurations.
2935

3036
## Ready to jump in?
3137

32-
In this community space, you can:
38+
This community space allows you to
3339

34-
* [Browse the Blueprints Gallery](./GALLERY.md) to explore a variety of WordPress sites.
35-
* [Submit your own Blueprint](./CONTRIBUTING.md) to share your WordPress setup with the community.
40+
* [Browse the Blueprints Gallery](./GALLERY.md) and explore diverse WordPress sites.
41+
* [Submit your own Blueprint](./CONTRIBUTING.md) and share your WordPress setup with the community.
3642

3743
## Contributing your Blueprint
3844

39-
We encourage you to contribute your own Blueprints to this repository! New submissions are accepted as Pull Requests, for more details consult [Contributing Guidelines](./CONTRIBUTING.md)
45+
We encourage you to contribute your Blueprints to this repository! We accepet new submissions as Pull Requests. Read the [Contributing Guidelines](./CONTRIBUTING.md) for more details.
4046

41-
## Needing Help?
47+
## Need help?
4248

43-
If you have questions or need assistance, start a new issue in this repository.
49+
If you have questions or comments, [open a new issue](https://github.com/adamziel/blueprints/issues) in this repository.
4450

45-
## Let's Build the Blueprint Community Together!
51+
## Let's build the Blueprint Community together!
4652

47-
This is a minimal version 1 (v1) to get the community space up and running quickly. We plan to build upon this foundation based on your feedback. So, explore, create, and share your Blueprints!
53+
This is a minimal version 1 (v1) to get the community space up and running. We plan to build upon this foundation, expand, and improve it—with your feedback. So, explore, create, and share your Blueprints!

blueprints/grid-variations/blueprint.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
33
"meta": {
44
"title": "Grid Variations Experiments enabled",
5-
"description": "Blueprint example to toggle on enable a feature from the Experiments page in Gutenberg plugin",
65
"author": "bph",
6+
"description": "Blueprint example to toggle on enable a feature from the Experiments page in Gutenberg plugin",
77
"categories": ["Gutenberg", "Experiments"]
88
},
99
"landingPage": "/wp-admin/site-editor.php",

blueprints/latest-gutenberg/blueprint.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"meta": {
33
"title": "Latest Gutenberg plugin",
4-
"description": "A preview of the latest version of the Gutenberg plugin.",
54
"author": "zieladam",
5+
"description": "A preview of the latest version of the Gutenberg plugin.",
66
"categories": ["plugins"]
77
},
88
"plugins": ["gutenberg"]
214 KB
Loading
384 KB
Loading

docs/assets/schema-autocompletion.png

133 KB
Loading

0 commit comments

Comments
 (0)