Skip to content

Commit

Permalink
Adds section on creating new sections
Browse files Browse the repository at this point in the history
Adds an additional section on how to add a section to the docs.

This command creates a docs based tree with a single command.
  • Loading branch information
rachfop authored Feb 13, 2023
1 parent bf67194 commit a4ef909
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions content/docs/how-to/pages-and-menus/pages/index.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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" >}}).
Expand Down

0 comments on commit a4ef909

Please sign in to comment.