Initial commit
This commit is contained in:
18
content/docs/_index.md
Normal file
18
content/docs/_index.md
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
title: Documentation
|
||||
next: first-page
|
||||
---
|
||||
|
||||
This is a demo of the theme's documentation layout.
|
||||
|
||||
## Hello, World!
|
||||
|
||||
```go {filename="main.go"}
|
||||
package main
|
||||
|
||||
import "fmt"
|
||||
|
||||
func main() {
|
||||
fmt.Println("Hello, World!")
|
||||
}
|
||||
```
|
||||
9
content/docs/first-page.md
Normal file
9
content/docs/first-page.md
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
title: Demo Page
|
||||
type: docs
|
||||
prev: /
|
||||
next: docs/folder/
|
||||
---
|
||||
|
||||
A simple demo page.
|
||||
|
||||
10
content/docs/folder/_index.md
Normal file
10
content/docs/folder/_index.md
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
title: Folder
|
||||
type: docs
|
||||
prev: docs/first-page
|
||||
next: docs/folder/leaf
|
||||
sidebar:
|
||||
open: true
|
||||
---
|
||||
|
||||
Pages can be organized into folders.
|
||||
7
content/docs/folder/leaf.md
Normal file
7
content/docs/folder/leaf.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
title: Leaf Page
|
||||
type: docs
|
||||
prev: docs/folder/
|
||||
---
|
||||
|
||||
This page is under a folder.
|
||||
Reference in New Issue
Block a user