Skip to content

Commit

Permalink
Correct the docs manifest (#12411)
Browse files Browse the repository at this point in the history
* Fix README filename

* Fix filename

* Add the Contributors handbook to the TOC

* Rebuild the root manifest with the additional Contributors handbook in the TOC

* Rebuild the manifest file with the contributors

* Rebuild the manifest file without paths in the 'parent' field as the Importer can't handle that.

* Correct the slug of the root-level index

* DEBUG: This is the tool I used to re-generate the root-manifest file, altered slightly from a0a6349

* Remove generate.php tool from PR
  • Loading branch information
dd32 authored and youknowriad committed Nov 29, 2018
1 parent 2a66db0 commit c446d06
Show file tree
Hide file tree
Showing 3 changed files with 286 additions and 49 deletions.
156 changes: 132 additions & 24 deletions docs/manifest.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[
{
"title": "Gutenberg Handbook",
"slug": "readme",
"slug": "handbook",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/readme.md",
"parent": null
},
{
"title": "Designer & Developer Handbook",
"slug": "designers-developers",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/designers-developers/README.md",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/designers-developers/readme.md",
"parent": null
},
{
Expand All @@ -27,115 +27,115 @@
"title": "Block API Reference",
"slug": "block-api",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/designers-developers/developers/block-api/README.md",
"parent": "designers-developers/developers"
"parent": "developers"
},
{
"title": "Block Registration ",
"slug": "block-registration",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/designers-developers/developers/block-api/block-registration.md",
"parent": "designers-developers/developers/block-api"
"parent": "block-api"
},
{
"title": "Edit and Save",
"slug": "block-edit-save",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/designers-developers/developers/block-api/block-edit-save.md",
"parent": "designers-developers/developers/block-api"
"parent": "block-api"
},
{
"title": "Attributes",
"slug": "block-attributes",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/designers-developers/developers/block-api/block-attributes.md",
"parent": "designers-developers/developers/block-api"
"parent": "block-api"
},
{
"title": "Deprecated Blocks",
"slug": "block-deprecation",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/designers-developers/developers/block-api/block-deprecation.md",
"parent": "designers-developers/developers/block-api"
"parent": "block-api"
},
{
"title": "Templates",
"slug": "block-templates",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/designers-developers/developers/block-api/block-templates.md",
"parent": "designers-developers/developers/block-api"
"parent": "block-api"
},
{
"title": "Annotations",
"slug": "block-annotations",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/designers-developers/developers/block-api/block-annotations.md",
"parent": "designers-developers/developers/block-api"
"parent": "block-api"
},
{
"title": "Filter Reference",
"slug": "filters",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/designers-developers/developers/filters/README.md",
"parent": "designers-developers/developers"
"parent": "developers"
},
{
"title": "Block Filters",
"slug": "block-filters",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/designers-developers/developers/filters/block-filters.md",
"parent": "designers-developers/developers/filters"
"parent": "filters"
},
{
"title": "Editor Filters (Experimental)",
"slug": "editor-filters",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/designers-developers/developers/filters/editor-filters.md",
"parent": "designers-developers/developers/filters"
"parent": "filters"
},
{
"title": "Parser Filters",
"slug": "parser-filters",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/designers-developers/developers/filters/parser-filters.md",
"parent": "designers-developers/developers/filters"
"parent": "filters"
},
{
"title": "Autocomplete",
"slug": "autocomplete-filters",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/designers-developers/developers/filters/autocomplete-filters.md",
"parent": "designers-developers/developers/filters"
"parent": "filters"
},
{
"title": "Data Module Reference",
"slug": "data",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/designers-developers/developers/data/README.md",
"parent": "designers-developers/developers"
"parent": "developers"
},
{
"title": "Packages",
"slug": "packages",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/designers-developers/developers/packages.md",
"parent": "designers-developers/developers"
"parent": "developers"
},
{
"title": "Theming for Gutenberg",
"slug": "themes",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/designers-developers/developers/themes/README.md",
"parent": "designers-developers/developers"
"parent": "developers"
},
{
"title": "Theme Support",
"slug": "theme-support",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/designers-developers/developers/themes/theme-support.md",
"parent": "designers-developers/developers/themes"
"parent": "themes"
},
{
"title": "Backwards Compatibility",
"slug": "backwards-compatibility",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/designers-developers/developers/backwards-compatibility/README.md",
"parent": "designers-developers/developers"
"parent": "developers"
},
{
"title": "Deprecations",
"slug": "deprecations",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/designers-developers/developers/backwards-compatibility/deprecations.md",
"parent": "designers-developers/developers/backwards-compatibility"
"parent": "backwards-compatibility"
},
{
"title": "Meta Boxes",
"slug": "meta-box",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/designers-developers/developers/backwards-compatibility/meta-box.md",
"parent": "designers-developers/developers/backwards-compatibility"
"parent": "backwards-compatibility"
},
{
"title": "Designer Documentation",
Expand All @@ -147,19 +147,19 @@
"title": "Block Design",
"slug": "block-design",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/designers-developers/designers/block-design.md",
"parent": "designers-developers/designers"
"parent": "designers"
},
{
"title": "Patterns",
"slug": "design-patterns",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/designers-developers/designers/design-patterns.md",
"parent": "designers-developers/designers"
"parent": "designers"
},
{
"title": "Resources",
"slug": "design-resources",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/designers-developers/designers/design-resources.md",
"parent": "designers-developers/designers"
"parent": "designers"
},
{
"title": "Glossary",
Expand All @@ -173,6 +173,114 @@
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/designers-developers/faq.md",
"parent": "designers-developers"
},
{
"title": "Contributors",
"slug": "contributors",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/contributors/readme.md",
"parent": null
},
{
"title": "Coding Guidelines",
"slug": "coding-guidelines",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/contributors/coding-guidelines.md",
"parent": "contributors"
},
{
"title": "Gutencopy Guidelines",
"slug": "copy-guide",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/contributors/copy-guide.md",
"parent": "contributors"
},
{
"title": "Gutenberg Design Principles & Vision",
"slug": "design",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/contributors/design.md",
"parent": "contributors"
},
{
"title": "The Gutenberg block grammar",
"slug": "grammar",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/contributors/grammar.md",
"parent": "contributors"
},
{
"title": "History",
"slug": "history",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/contributors/history.md",
"parent": "contributors"
},
{
"title": "Outreach",
"slug": "outreach",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/contributors/outreach.md",
"parent": "contributors"
},
{
"title": "Articles",
"slug": "articles",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/contributors/outreach/articles.md",
"parent": "outreach"
},
{
"title": "Meetups",
"slug": "meetups",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/contributors/outreach/meetups.md",
"parent": "outreach"
},
{
"title": "Resources",
"slug": "resources",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/contributors/outreach/resources.md",
"parent": "outreach"
},
{
"title": "Talks",
"slug": "talks",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/contributors/outreach/talks.md",
"parent": "outreach"
},
{
"title": "Principles",
"slug": "principles",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/contributors/principles.md",
"parent": "contributors"
},
{
"title": "Blocks are the Interface",
"slug": "the-block",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/contributors/principles/the-block.md",
"parent": "principles"
},
{
"title": "Reference",
"slug": "reference",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/contributors/reference.md",
"parent": "contributors"
},
{
"title": "Gutenberg Release Process",
"slug": "release",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/contributors/release.md",
"parent": "contributors"
},
{
"title": "Repository Management",
"slug": "repository-management",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/contributors/repository-management.md",
"parent": "contributors"
},
{
"title": "Scripts",
"slug": "scripts",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/contributors/scripts.md",
"parent": "contributors"
},
{
"title": "Testing Overview",
"slug": "testing-overview",
"markdown_source": "https://raw.githubusercontent.com/WordPress/gutenberg/master/docs/contributors/testing-overview.md",
"parent": "contributors"
},
{
"title": "Packages",
"slug": "packages",
Expand Down
Loading

0 comments on commit c446d06

Please sign in to comment.