forked from thanos-io/thanos
-
Notifications
You must be signed in to change notification settings - Fork 15
/
.mdox.yaml
156 lines (135 loc) · 3.87 KB
/
.mdox.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
version: 1
inputDir: "$(INPUT_DIR)"
outputDir: "$(OUTPUT_DIR)"
extraInputGlobs:
- "CHANGELOG.md"
- "SECURITY.md"
- "MAINTAINERS.md"
- "CONTRIBUTING.md"
- "CODE_OF_CONDUCT.md"
gitIgnored: true
localLinksStyle:
hugo:
indexFileName: "_index.md"
linkPrefixForNonMarkdownResources: "https://github.com/thanos-io/thanos/blob/main"
transformations:
- glob: "$(EXTERNAL_GLOB_REL)CHANGELOG.md"
path: /thanos/CHANGELOG.md
frontMatter:
template: |
title: Changelog
type: docs
menu: thanos
lastmod: "{{ .Origin.LastMod }}"
backMatter: &docBackMatter
template: |
Found a typo, inconsistency or missing information in our docs?
Help us to improve [Thanos](https://thanos.io) documentation by proposing a fix [on GitHub here](https://github.com/thanos-io/thanos/edit/main/{{ .Origin.Path }}) :heart:
- glob: "$(EXTERNAL_GLOB_REL)MAINTAINERS.md"
path: /thanos/MAINTAINERS.md
frontMatter:
template: |
title: Maintainers
type: docs
menu: thanos
lastmod: "{{ .Origin.LastMod }}"
backMatter: *docBackMatter
- glob: "$(EXTERNAL_GLOB_REL)SECURITY.md"
path: /thanos/SECURITY.md
frontMatter:
template: |
title: Security
type: docs
menu: thanos
lastmod: "{{ .Origin.LastMod }}"
backMatter: *docBackMatter
- glob: "$(EXTERNAL_GLOB_REL)CODE_OF_CONDUCT.md"
path: /contributing/CODE_OF_CONDUCT.md
frontMatter:
template: |
title: Code of Conduct
type: docs
menu: contributing
lastmod: "{{ .Origin.LastMod }}"
backMatter: *docBackMatter
- glob: "$(EXTERNAL_GLOB_REL)CONTRIBUTING.md"
path: /contributing/CONTRIBUTING.md
frontMatter:
template: |
title: Contributing
type: docs
menu: contributing
lastmod: "{{ .Origin.LastMod }}"
backMatter: *docBackMatter
# Non-versioned element: Blog.
- glob: "support/*"
path: /../support/*
- glob: "blog/*"
path: /../blog/*
- glob: "**/README.md"
path: _index.md
frontMatter: &justTitleFrontMatter
template: |
title: "{{ .Origin.FirstHeader }}"
backMatter: *docBackMatter
- glob: "getting-started.md"
path: /thanos/getting-started.md
popHeader: false
frontMatter: &weightOneFrontMatter
template: |
type: docs
title: "{{ .Origin.FirstHeader }}"
menu: thanos
weight: 1
lastmod: "{{ .Origin.LastMod }}"
backMatter: *docBackMatter
- glob: "quick-tutorial.md"
path: /thanos/quick-tutorial.md
popHeader: false
frontMatter: *weightOneFrontMatter
backMatter: *docBackMatter
- glob: "proposals-*/README.md"
path: /proposals-*/_index.md
frontMatter: *justTitleFrontMatter
backMatter: *docBackMatter
- glob: "README.md"
path: /thanos/_index.md
frontMatter: *justTitleFrontMatter
backMatter: *docBackMatter
- glob: "*.md"
path: /thanos/*
popHeader: false
frontMatter:
template: |
type: docs
title: "{{ .Origin.FirstHeader }}"
menu: thanos
lastmod: "{{ .Origin.LastMod }}"
backMatter: *docBackMatter
- glob: "operating/*.md"
path: /operating/*
frontMatter:
template: |
type: docs
title: "{{ .Origin.FirstHeader }}"
menu: operating
lastmod: "{{ .Origin.LastMod }}"
backMatter: *docBackMatter
- glob: "contributing/*.md"
path: /contributing/*
frontMatter:
template: |
type: docs
title: "{{ .Origin.FirstHeader }}"
menu: contributing
lastmod: "{{ .Origin.LastMod }}"
backMatter: *docBackMatter
- glob: "components/*.md"
path: /components/*
frontMatter:
template: |
type: docs
title: "{{ .Origin.FirstHeader }}"
menu: components
lastmod: "{{ .Origin.LastMod }}"
backMatter: *docBackMatter