Skip to content

Commit 0249f62

Browse files
committed
add docs about archetype pages
1 parent 1950c95 commit 0249f62

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

content/en/docs/contribute/style/write-new-topic.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,17 @@ Task | A task page shows how to do a single thing. The idea is to give readers a
2828
Tutorial | A tutorial page shows how to accomplish a goal that ties together several Kubernetes features. A tutorial might provide several sequences of steps that readers can actually do as they read the page. Or it might provide explanations of related pieces of code. For example, a tutorial could provide a walkthrough of a code sample. A tutorial can include brief explanations of the Kubernetes features that are being tied together, but should link to related concept topics for deep explanations of individual features.
2929
{{< /table >}}
3030

31+
### Creating a new page
32+
3133
Use a [content type](/docs/contribute/style/page-content-types/) for each new page
32-
that you write. Using page type helps ensure
33-
consistency among topics of a given type.
34+
that you write. The docs site provides templates or
35+
[Hugo archetypes](https://gohugo.io/content-management/archetypes/) to create
36+
new content pages. To create a new type of page, run `hugo new` with the path to the file
37+
you want to create. For example:
38+
39+
```
40+
hugo new docs/concepts/my-first-concept.md
41+
```
3442

3543
## Choosing a title and filename
3644

0 commit comments

Comments
 (0)