# Documentation template instructions An example template with best-practices that you can use to start drafting a new how-to document. Use this template if you are creating a new page in an existing folder. If you are creating a new folder, you must also create the `_index.md`. For more information, see the [`_index.md` template instructions](template-_index-page.md). [**Copy a version of this template without the instructions**](#copy-the-template) ## Frontmatter [Hugo](https://gohugo.io/) uses a set of metadata at the beginning of each page called [frontmatter](https://gohugo.io/content-management/front-matter/) to define website build required info as well as other blog page details. Frontmatter is strict YAML syntax and must be added to the top of every page. Example formatting template: ```yaml --- title: "" #linkTitle: "" weight: 50 type: "docs" --- ``` ``` ``` ``` ``` Learn how to do something very cool. ``` ``` ## Before you begin ``` ``` To complete the steps in this task, you must ..... meet/have/install/create/? the following: - A Kubernetes cluster with [Knative installed](docs/install/). - The latest version of ... running? - Privileges to ..... - Any other requirement? ## Break steps into logical sections ``` ``` Introductory statement to define the goal of these steps and the role they play in this document (why its important?): 1. Use ordered lists for steps. * Use bulleted lists for options: 1. Sub step one 1. Sub step two * Option two: Explain the value of why a user would choose this option. 1. Step number two. 1. Step number three. ### Use a sub-section to group related sub-tasks ``` ``` Introductory statement to define the goal of this sub-task and why its important: ``` ``` ## Cleaning up ``` ``` Run the following command to stop/remove/avoid running this example and prevent incurring fees from your cloud provider/your cluster/etc. ## What's next ``` ``` Now that you have an example running, learn how to enable .....: - [Link](serving/example.md) - [Link](eventing/example.md) - [Link](search-example.md) # Copy the template ```yaml --- title: "" #linkTitle: "" weight: 50 type: "docs" --- Learn how to do something very cool. ## Before you begin To complete the steps in this task, you must ..... meet/have/install/create/? the following: - A Kubernetes cluster with [Knative installed](docs/install/). - The latest version of ... running? - Privileges to ..... - Any other requirement? ## Break steps into logical sections Introductory statement to define the goal of these steps and the role they play in this document (why its important?): 1. Use ordered lists for steps. * Use bulleted lists for options: 1. Sub step one 1. Sub step two * Option two: Explain the value of why a user would choose this option. 1. Step number two. 1. Step number three. ### Use a sub-section to group related sub-tasks Introductory statement to define the goal of this sub-task and why its important: ## Cleaning up Run the following command to stop/remove/avoid running this example and prevent incurring fees from your cloud provider/your cluster/etc. ## What's next Now that you have an example running, learn how to enable .....: - [Link](serving/example.md) - [Link](eventing/example.md) - [Link](search-example.md) ```