-
Notifications
You must be signed in to change notification settings - Fork 39
Expand file tree
/
Copy pathnav.json
More file actions
64 lines (64 loc) · 2.43 KB
/
nav.json
File metadata and controls
64 lines (64 loc) · 2.43 KB
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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "array",
"items": {
"type": "object",
"description": "ナビゲーションの1つのまとまりです.上部ナビゲーションではプルダウンの根本に,下部ナビゲーションでは見出しのように表示されます.",
"properties": {
"name": {
"type": "string",
"description": "ナビゲーションのまとまりのタイトルです."
},
"sitemap": {
"type": "object",
"description": "`/sitemap/` の生成に関する設定です.存在する場合はこの名前の見出しが生成され,`contents` の全ての項目の親となります.",
"properties": {
"section": {
"type": "boolean",
"description": "見出しに現れることを宣言します."
}
},
"required": ["section"]
},
"contents": {
"type": "array",
"description": "そのまとまりのナビゲーションの中身です.",
"items": {
"type": "object",
"description": "ナビゲーションの1行です.",
"properties": {
"name": {
"type": "string",
"description": "ナビゲーションのタイトルです.Markdown+HTML形式で記述することができます."
},
"url": {
"type": "string",
"description": "ナビゲーションのリンク先です.`/`から始めてください."
},
"sitemap": {
"type": "object",
"properties": {
"section": {
"type": "boolean",
"description": "見出しに現れるかどうかを指定します.`false` の場合,親の見出しの中に直接入ります."
},
"parent": {
"type": "string",
"description": "親の見出しがどれかを指定します."
}
}
},
"hidden": {
"type": "boolean",
"description": "ヘッダーとフッターには表示しない場合に指定します."
}
},
"required": ["name", "url"],
"additionalProperties": false
}
}
},
"required": ["name", "contents"],
"additionalProperties": false
}
}