From a4ef909f9623b55ed7f108eec33a18c351020ed3 Mon Sep 17 00:00:00 2001 From: Patrick Rachford <64233065+rachfop@users.noreply.github.com> Date: Mon, 13 Feb 2023 07:59:23 -0800 Subject: [PATCH] Adds section on creating new sections Adds an additional section on how to add a section to the docs. This command creates a docs based tree with a single command. --- content/docs/how-to/pages-and-menus/pages/index.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/content/docs/how-to/pages-and-menus/pages/index.md b/content/docs/how-to/pages-and-menus/pages/index.md index 0d74383d..13e8c24d 100644 --- a/content/docs/how-to/pages-and-menus/pages/index.md +++ b/content/docs/how-to/pages-and-menus/pages/index.md @@ -1,7 +1,7 @@ --- title: "Pages" -description: "Add a default page, documentation page, blog post or contributor page. Customize the homepage and 404 page." -lead: "Add a default page, documentation page, blog post or contributor page. Customize the homepage and 404 page." +description: "Add a default page, documentation page, blog post, contributor page, or section. Customize the homepage and 404 page." +lead: "Add a default page, documentation page, blog post, contributor page or section. Customize the homepage and 404 page." date: 2020-11-23T11:55:16+01:00 lastmod: 2020-11-23T11:55:16+01:00 draft: false @@ -72,6 +72,14 @@ npm run create blog/say-hello-to-doks/index.md npm run create contributors/henk-verlinde/_index.md ``` +## Add a section + +### Example + +```bash +npm run create -- --kind docs development-guides/ +``` + ## Customize homepage See: [Page Layouts]({{< relref "page-layouts" >}}).