From f4ea8c80cbfcb8b21aa49a01dafa2bf5cfb5f1ea Mon Sep 17 00:00:00 2001 From: Marcus Kazmierczak Date: Fri, 22 Oct 2021 16:21:21 -0700 Subject: [PATCH] Docs: Add Getting Started level for documentation (#35891) * Add Getting Started level for documentation With the top-level README.md (Block Editor Handbook) having items nested the getting-started heading doesn't show which is what we want the first tutorials to nest under. This updates to match * Fix to the toc.json, needs {} around section --- docs/manifest.json | 14 ++++++++++---- docs/toc.json | 5 ++++- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/docs/manifest.json b/docs/manifest.json index d563790ded343..dfab359df6cf2 100644 --- a/docs/manifest.json +++ b/docs/manifest.json @@ -5,11 +5,17 @@ "markdown_source": "../docs/README.md", "parent": null }, + { + "title": "Getting Started", + "slug": "getting-started", + "markdown_source": "../docs/getting-started/README.md", + "parent": null + }, { "title": "Development Environment", "slug": "devenv", "markdown_source": "../docs/getting-started/devenv/README.md", - "parent": "handbook" + "parent": "getting-started" }, { "title": "How to setup local WordPress environment on Ubuntu", @@ -21,7 +27,7 @@ "title": "Create a Block Tutorial", "slug": "create-block", "markdown_source": "../docs/getting-started/create-block/README.md", - "parent": "handbook" + "parent": "getting-started" }, { "title": "WordPress Plugin", @@ -69,13 +75,13 @@ "title": "Full Site Editing", "slug": "full-site-editing", "markdown_source": "../docs/getting-started/full-site-editing.md", - "parent": "handbook" + "parent": "getting-started" }, { "title": "Outreach", "slug": "outreach", "markdown_source": "../docs/getting-started/outreach.md", - "parent": "handbook" + "parent": "getting-started" }, { "title": "How-to Guides", diff --git a/docs/toc.json b/docs/toc.json index 4bc1692282fea..b21d13e7a2071 100644 --- a/docs/toc.json +++ b/docs/toc.json @@ -1,6 +1,9 @@ [ { - "docs/README.md": [ + "docs/README.md": [] + }, + { + "docs/getting-started/README.md": [ { "docs/getting-started/devenv/README.md": [ {