Skip to content

Commit 27368a6

Browse files
committed
Add docs navigation
1 parent a355321 commit 27368a6

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed

.editorconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ trim_trailing_whitespace = false
3333
indent_size = 2
3434
indent_style = space
3535

36+
[*.yml]
37+
indent_size = 2
38+
indent_style = space
39+
3640
[*.go]
3741
indent_style = tab
3842

docs/_config.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
11
theme: jekyll-theme-cayman
2+
defaults:
3+
- scope:
4+
path: ""
5+
type: docs
6+
values:
7+
sidebar:
8+
nav: "main-nav"

docs/_data/navigation.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
main-nav:
2+
- title: Home
3+
url: /
4+
5+
- title: Documentation
6+
url: /docs
7+
children:
8+
- title: Project Structure
9+
url: /project-structure
10+
- title: Bulding and Deployment
11+
url: /deployment
12+
- title: Features
13+
children:
14+
- title: SLO Script
15+
url: /features/slo-script
16+
- title: Generic Elasticity Strategies
17+
url: /features/generic-elasticity-strategies
18+
- title: Generic SLOs
19+
url: /features/generic-slos
20+
- title: Predictions
21+
url: /features/predictions

0 commit comments

Comments
 (0)