Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
adamziel committed Mar 20, 2024
1 parent 7c963d3 commit 0f13f56
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions GALLERY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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!

| Title | Preview | Source |
| ----- | ------- | ------ |
| Latest Gutenberg plugin | [Preview](https://playground.wordpress.net/?blueprint-url=https://raw.githubusercontent.com/adamziel/blueprints/trunk/v1-examples/latest-gutenberg/blueprint.json) | [Source](https://github.com/adamziel/blueprints/blob/trunk/v1-examples/latest-gutenberg/blueprint.json) |
| Title | Preview | Source |
| ----- | ------- | ------ |
| Latest Gutenberg plugin | [Preview](https://playground.wordpress.net/?blueprint-url=https://raw.githubusercontent.com/adamziel/blueprints/trunk/blueprints/latest-gutenberg/blueprint.json) | [Source](https://github.com/adamziel/blueprints/blob/trunk/blueprints/latest-gutenberg/blueprint.json) |

File renamed without changes.
2 changes: 1 addition & 1 deletion docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ We encourage you to contribute your own Blueprints to this repository! To make t

To add a Blueprint to this repository, submit it as a Pull Request to this repository.

Your Pull Request must contain a single, new directory created in the `v1-examples` with a `blueprint.json` file in it.
Your Pull Request must contain a single `blueprint.json` file under a path `blueprints/your-blueprint-name/blueprint.json`.

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.

Expand Down
2 changes: 1 addition & 1 deletion index.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"v1-examples/latest-gutenberg/blueprint.json": {
"blueprints/latest-gutenberg/blueprint.json": {
"title": "Latest Gutenberg plugin",
"description": "A preview of the latest version of the Gutenberg plugin.",
"author": "zieladam",
Expand Down
2 changes: 1 addition & 1 deletion make_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

def build_json_index():
index = {}
for root, dirs, files in os.walk('v1-examples'):
for root, dirs, files in os.walk('blueprints'):
for file in files:
if file == 'blueprint.json':
path = os.path.join(root, file)
Expand Down

0 comments on commit 0f13f56

Please sign in to comment.