-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathexample.json
71 lines (67 loc) · 2.16 KB
/
example.json
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
// The following goes in course.json
// simple structure: all content objects are listed (except those excluded)
"_toc": {
"_excludeContentObjects": []
}
// in most scenarios it is necessary to specify a redirection page
"_start": {
"_isEnabled": true,
"_id": "co-05"
}
// custom structure: specify a hierarchy by defining groups of content objects
"_toc": {
"_isEnabled": true,
"_drawerPosition": "auto",
"_grouping": {
"_classes": "",
"_items": [
{
"_classes": "",
"_contentObjects": [
"co-01"
]
},
{
"title": "Learning material",
"_ariaLevel": 1,
"_classes": "",
"_contentObjects": [
"co-05"
],
"_grouping": {
"_classes": "",
"_items": [
{
"title": "Questionable material",
"_ariaLevel": 2,
"_classes": "",
"_contentObjects": [
"co-10"
]
}
]
}
},
{
"title": "Assessment",
"_ariaLevel": 1,
"_classes": "",
"_contentObjects": [
"co-15"
]
}
]
}
}
// _globals._extensions
"_toc": {
"navigationToc": "Open table of contents",
"toc": "Table of contents",
"tocEnd": "You have reached the end of the table of contents.",
"tocContentObject": "{{title}}. You have completed {{percentage}}%.",
"optionalContent": "Optional Content",
"_navTooltip": {
"_isEnabled": true,
"text": "Table of contents"
}
}