cob-cli 2.11.0 → 2.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.publish.md +10 -0
- package/customizations/backend.js +1 -0
- package/customizations/backend.vuepress.js +35 -0
- package/customizations/frontend.js +1 -0
- package/lib/task_lists/rsyncFilter.txt +2 -1
- package/lib/task_lists/test_otherFilesContiousReload.js +1 -1
- package/package.json +5 -1
- package/templates/backend/vuepress/integrationm/actions/getVuePressDoc.groovy +74 -0
- package/templates/backend/vuepress/integrationm/actions/getVuePressSidebarConfig.groovy +42 -0
- package/templates/backend/vuepress/integrationm/actions/getVuePressSidebarRootElements.groovy +17 -0
- package/templates/backend/vuepress/others/vuepress/definition_contents_v234.json +619 -0
- package/templates/backend/vuepress/others/vuepress/nginx/README.md +28 -0
- package/templates/backend/vuepress/others/vuepress/package-lock.json +29656 -0
- package/templates/backend/vuepress/others/vuepress/package.json +24 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/components/DescriptVideo.vue +22 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/components/Graph.vue +124 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/components/ReadingTime.vue +26 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/components/References.vue +228 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/components/RestrictedContent.vue +77 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/config.js +101 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/config.json +31 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/enhanceApp.js +14 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/nav/getNavTranslated.js +52 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/plugins/References.js +96 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/public/Logo-Cult-of-Bits-400x400-1.png +0 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/public/favicon-cob.png +0 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/public/logo.png +0 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/styles/index.styl +39 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/styles/palette.styl +17 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/LICENSE +21 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/README.md +11 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/AlgoliaSearchBox.vue +172 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/DropdownLink.vue +252 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/DropdownTransition.vue +33 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/Home.vue +134 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/NavLink.vue +98 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/NavLinks.vue +165 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/Navbar.vue +140 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/Page.vue +31 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/PageEdit.vue +119 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/PageNav.vue +163 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/Sidebar.vue +64 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/SidebarButton.vue +40 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/SidebarGroup.vue +144 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/SidebarLink.vue +140 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/SidebarLinks.vue +114 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/global-components/Badge.vue +44 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/global-components/CodeBlock.vue +41 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/global-components/CodeGroup.vue +120 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/index.js +59 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/layouts/404.vue +30 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/layouts/Layout.vue +151 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/noopModule.js +1 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/package.json +44 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/styles/arrow.styl +22 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/styles/code.styl +137 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/styles/config.styl +1 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/styles/custom-blocks.styl +44 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/styles/index.styl +202 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/styles/mobile.styl +37 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/styles/toc.styl +3 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/styles/wrapper.styl +10 -0
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/util/index.js +244 -0
- package/templates/dashboards/dash/definition_dashboard_v59.json +1 -0
- package/templates/dashboards/dash/dist/css/app.2ca409ad.css +8 -0
- package/templates/dashboards/dash/dist/dashboard.html +10 -5
- package/templates/dashboards/dash/dist/js/{app.a65a4c2c.js → app.8423eff3.js} +2 -2
- package/templates/dashboards/dash/dist/js/app.8423eff3.js.map +1 -0
- package/templates/dashboards/dash/dist/js/app.f9c19b80.js +188 -0
- package/templates/dashboards/dash/dist/js/app.f9c19b80.js.map +1 -0
- package/templates/dashboards/dash/src/App.vue +32 -212
- package/templates/dashboards/dash/src/Dashboard.vue +31 -11
- package/templates/dashboards/dash/src/collector.js +35 -3694
- package/templates/dashboards/dash/src/components/Menu.vue +15 -4
- package/templates/dashboards/dash/src/components/Title.vue +10 -2
- package/templates/dashboards/dash/src/components/Totals.vue +19 -9
- package/templates/dashboards/dash/src/components/{TotalsBadge.vue → TotalsValue.vue} +12 -12
- package/templates/dashboards/dash/src/dashboard.html +6 -1
- package/templates/dashboards/dash/src/definition_dashboard_v59.json +394 -0
- package/templates/dashboards/dash/src/output.css +90228 -90
- package/templates/dashboards/dash/src/test_collector.js +3732 -0
- package/templates/dashboards/dash/tailwind.config.js +1 -0
- package/templates/dashboards/dash/dist/css/app.3140d0d1.css +0 -8
- package/templates/dashboards/dash/dist/js/app.a65a4c2c.js.map +0 -1
|
@@ -0,0 +1,619 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": null,
|
|
3
|
+
"name": "E-learning Contents",
|
|
4
|
+
"description": "@vuepress",
|
|
5
|
+
"duplicable": null,
|
|
6
|
+
"state": "enabled",
|
|
7
|
+
"fieldDefinitions": [
|
|
8
|
+
{
|
|
9
|
+
"id": null,
|
|
10
|
+
"name": "Metadata",
|
|
11
|
+
"required": null,
|
|
12
|
+
"description": "$group $expanded",
|
|
13
|
+
"condition": null,
|
|
14
|
+
"duplicable": false,
|
|
15
|
+
"fields": [
|
|
16
|
+
{
|
|
17
|
+
"id": null,
|
|
18
|
+
"name": "Descriptor",
|
|
19
|
+
"required": "mandatory",
|
|
20
|
+
"description": "$help[uri name part - no spaces or invalid url chars] $style[hide-in-group-edit]",
|
|
21
|
+
"condition": null,
|
|
22
|
+
"duplicable": false,
|
|
23
|
+
"fields": [
|
|
24
|
+
{
|
|
25
|
+
"id": null,
|
|
26
|
+
"name": "Parent Scope",
|
|
27
|
+
"required": null,
|
|
28
|
+
"description": "$auto.ref(Parent).field(Scope) $style[hide]",
|
|
29
|
+
"condition": "Parent!",
|
|
30
|
+
"duplicable": false,
|
|
31
|
+
"fields": [],
|
|
32
|
+
"order": 2,
|
|
33
|
+
"rootField": false,
|
|
34
|
+
"restricted": false,
|
|
35
|
+
"defaultValue": null
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"id": null,
|
|
39
|
+
"name": "Parent Path",
|
|
40
|
+
"required": null,
|
|
41
|
+
"description": "$auto.ref(Parent).field(Path) $style[hide]",
|
|
42
|
+
"condition": "Parent!",
|
|
43
|
+
"duplicable": false,
|
|
44
|
+
"fields": [],
|
|
45
|
+
"order": 3,
|
|
46
|
+
"rootField": false,
|
|
47
|
+
"restricted": false,
|
|
48
|
+
"defaultValue": null
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"id": null,
|
|
52
|
+
"name": "Parent SortableField",
|
|
53
|
+
"required": null,
|
|
54
|
+
"description": "$auto.ref(Parent).field(SortableField) $style[hide] $restricted(System)",
|
|
55
|
+
"condition": "Parent!",
|
|
56
|
+
"duplicable": false,
|
|
57
|
+
"fields": [],
|
|
58
|
+
"order": 4,
|
|
59
|
+
"rootField": false,
|
|
60
|
+
"restricted": true,
|
|
61
|
+
"defaultValue": null
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"id": null,
|
|
65
|
+
"name": "Scope",
|
|
66
|
+
"required": null,
|
|
67
|
+
"description": "$auto.text(Parent Scope,Descriptor).join(Parent Scope,Descriptor,'.') $instanceLabel",
|
|
68
|
+
"condition": "Parent!",
|
|
69
|
+
"duplicable": false,
|
|
70
|
+
"fields": [],
|
|
71
|
+
"order": 5,
|
|
72
|
+
"rootField": false,
|
|
73
|
+
"restricted": false,
|
|
74
|
+
"defaultValue": null
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"id": null,
|
|
78
|
+
"name": "Path",
|
|
79
|
+
"required": null,
|
|
80
|
+
"description": "$auto.text(Parent Path,Descriptor).join(Parent Path,Descriptor,'/') $instanceLabel",
|
|
81
|
+
"condition": "Parent!",
|
|
82
|
+
"duplicable": false,
|
|
83
|
+
"fields": [],
|
|
84
|
+
"order": 6,
|
|
85
|
+
"rootField": false,
|
|
86
|
+
"restricted": false,
|
|
87
|
+
"defaultValue": null
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"id": null,
|
|
91
|
+
"name": "SortableField",
|
|
92
|
+
"required": null,
|
|
93
|
+
"description": "$auto.text(Order,Parent SortableField,Descriptor).join(Parent SortableField,Order,Descriptor,'/') $style[hide]",
|
|
94
|
+
"condition": "Parent!",
|
|
95
|
+
"duplicable": false,
|
|
96
|
+
"fields": [],
|
|
97
|
+
"order": 7,
|
|
98
|
+
"rootField": false,
|
|
99
|
+
"restricted": false,
|
|
100
|
+
"defaultValue": null
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"id": null,
|
|
104
|
+
"name": "ParentFormat",
|
|
105
|
+
"required": null,
|
|
106
|
+
"description": "$auto.ref(Parent).field(Format) $style[hide] ",
|
|
107
|
+
"condition": "Parent!",
|
|
108
|
+
"duplicable": false,
|
|
109
|
+
"fields": [],
|
|
110
|
+
"order": 8,
|
|
111
|
+
"rootField": false,
|
|
112
|
+
"restricted": false,
|
|
113
|
+
"defaultValue": null
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"id": null,
|
|
117
|
+
"name": "Scope",
|
|
118
|
+
"required": null,
|
|
119
|
+
"description": "$auto.text(Descriptor).join('.',Descriptor,'.') $instanceLabel",
|
|
120
|
+
"condition": "Parent=",
|
|
121
|
+
"duplicable": false,
|
|
122
|
+
"fields": [],
|
|
123
|
+
"order": 9,
|
|
124
|
+
"rootField": false,
|
|
125
|
+
"restricted": false,
|
|
126
|
+
"defaultValue": null
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"id": null,
|
|
130
|
+
"name": "Path",
|
|
131
|
+
"required": null,
|
|
132
|
+
"description": "$auto.text(Descriptor).join('/',Descriptor,'/') ",
|
|
133
|
+
"condition": "Parent=",
|
|
134
|
+
"duplicable": false,
|
|
135
|
+
"fields": [],
|
|
136
|
+
"order": 10,
|
|
137
|
+
"rootField": false,
|
|
138
|
+
"restricted": false,
|
|
139
|
+
"defaultValue": null
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"id": null,
|
|
143
|
+
"name": "SortableField",
|
|
144
|
+
"required": null,
|
|
145
|
+
"description": "$auto.text(Descriptor).join('/',Descriptor,'/') $style[hide]",
|
|
146
|
+
"condition": "Parent=",
|
|
147
|
+
"duplicable": false,
|
|
148
|
+
"fields": [],
|
|
149
|
+
"order": 11,
|
|
150
|
+
"rootField": false,
|
|
151
|
+
"restricted": false,
|
|
152
|
+
"defaultValue": null
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"id": null,
|
|
156
|
+
"name": "Target",
|
|
157
|
+
"required": null,
|
|
158
|
+
"description": "$auto.ref(Parent).field(Target) $instanceDescription",
|
|
159
|
+
"condition": "ParentFormat!",
|
|
160
|
+
"duplicable": false,
|
|
161
|
+
"fields": [],
|
|
162
|
+
"order": 12,
|
|
163
|
+
"rootField": false,
|
|
164
|
+
"restricted": false,
|
|
165
|
+
"defaultValue": null
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"id": null,
|
|
169
|
+
"name": "Type",
|
|
170
|
+
"required": null,
|
|
171
|
+
"description": "$auto.ref(Parent).field(Type) $instanceDescription",
|
|
172
|
+
"condition": "ParentFormat!",
|
|
173
|
+
"duplicable": false,
|
|
174
|
+
"fields": [],
|
|
175
|
+
"order": 13,
|
|
176
|
+
"rootField": false,
|
|
177
|
+
"restricted": false,
|
|
178
|
+
"defaultValue": null
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"id": null,
|
|
182
|
+
"name": "Format",
|
|
183
|
+
"required": null,
|
|
184
|
+
"description": " $auto.text(id).join('chapter') $instanceDescription",
|
|
185
|
+
"condition": "ParentFormat!",
|
|
186
|
+
"duplicable": false,
|
|
187
|
+
"fields": [],
|
|
188
|
+
"order": 14,
|
|
189
|
+
"rootField": false,
|
|
190
|
+
"restricted": false,
|
|
191
|
+
"defaultValue": null
|
|
192
|
+
}
|
|
193
|
+
],
|
|
194
|
+
"order": 1,
|
|
195
|
+
"rootField": false,
|
|
196
|
+
"restricted": false,
|
|
197
|
+
"defaultValue": null
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"id": null,
|
|
201
|
+
"name": "Parent",
|
|
202
|
+
"required": null,
|
|
203
|
+
"description": "$ref(E-learning Contents,-id:__instanceId__) $expanded $style[hide-inline] $groupEdit $help[The parent SCOPE of this content in the hierarchy.]",
|
|
204
|
+
"condition": null,
|
|
205
|
+
"duplicable": false,
|
|
206
|
+
"fields": [],
|
|
207
|
+
"order": 15,
|
|
208
|
+
"rootField": false,
|
|
209
|
+
"restricted": false,
|
|
210
|
+
"defaultValue": null
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"id": null,
|
|
214
|
+
"name": "Visibility",
|
|
215
|
+
"required": "mandatory",
|
|
216
|
+
"description": "$[Public,*Restricted] $radio $groupEdit $instanceDescription",
|
|
217
|
+
"condition": null,
|
|
218
|
+
"duplicable": false,
|
|
219
|
+
"fields": [
|
|
220
|
+
{
|
|
221
|
+
"id": null,
|
|
222
|
+
"name": "Audience Group",
|
|
223
|
+
"required": null,
|
|
224
|
+
"description": "$groupEdit",
|
|
225
|
+
"condition": "=Restricted",
|
|
226
|
+
"duplicable": true,
|
|
227
|
+
"fields": [],
|
|
228
|
+
"order": 17,
|
|
229
|
+
"rootField": false,
|
|
230
|
+
"restricted": false,
|
|
231
|
+
"defaultValue": null
|
|
232
|
+
}
|
|
233
|
+
],
|
|
234
|
+
"order": 16,
|
|
235
|
+
"rootField": false,
|
|
236
|
+
"restricted": false,
|
|
237
|
+
"defaultValue": "Restricted"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"id": null,
|
|
241
|
+
"name": "Order",
|
|
242
|
+
"required": null,
|
|
243
|
+
"description": "$help[on a search result, with is used on book Indexs and menu cards] $groupEdit",
|
|
244
|
+
"condition": null,
|
|
245
|
+
"duplicable": false,
|
|
246
|
+
"fields": [],
|
|
247
|
+
"order": 18,
|
|
248
|
+
"rootField": false,
|
|
249
|
+
"restricted": false,
|
|
250
|
+
"defaultValue": null
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"id": null,
|
|
254
|
+
"name": "Tags",
|
|
255
|
+
"required": null,
|
|
256
|
+
"description": "$instanceDescription $groupEdit",
|
|
257
|
+
"condition": null,
|
|
258
|
+
"duplicable": false,
|
|
259
|
+
"fields": [],
|
|
260
|
+
"order": 19,
|
|
261
|
+
"rootField": false,
|
|
262
|
+
"restricted": false,
|
|
263
|
+
"defaultValue": null
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"id": null,
|
|
267
|
+
"name": "Type",
|
|
268
|
+
"required": "mandatory",
|
|
269
|
+
"description": "$[Tutorial,Howto,Reference,Explanation,Solution,SiteItem] $radio $groupEdit $expanded ",
|
|
270
|
+
"condition": "ParentFormat=",
|
|
271
|
+
"duplicable": false,
|
|
272
|
+
"fields": [
|
|
273
|
+
{
|
|
274
|
+
"id": null,
|
|
275
|
+
"name": "Target",
|
|
276
|
+
"required": "mandatory",
|
|
277
|
+
"description": "$[Everyone,User,Manager,Developer] $radio $instanceDescription $groupEdit $expanded",
|
|
278
|
+
"condition": "=Tutorial,Howto,Reference,Explanation,Solution",
|
|
279
|
+
"duplicable": false,
|
|
280
|
+
"fields": [],
|
|
281
|
+
"order": 21,
|
|
282
|
+
"rootField": false,
|
|
283
|
+
"restricted": false,
|
|
284
|
+
"defaultValue": null
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"id": null,
|
|
288
|
+
"name": "Format",
|
|
289
|
+
"required": "mandatory",
|
|
290
|
+
"description": "$[Book,SinglePage] $radio $instanceDescription $groupEdit $help[A 'Book' will have a sidebar to index SubContents while a 'SinglePages' won't]",
|
|
291
|
+
"condition": "=Tutorial,Howto,Reference,Explanation,Solution",
|
|
292
|
+
"duplicable": false,
|
|
293
|
+
"fields": [],
|
|
294
|
+
"order": 22,
|
|
295
|
+
"rootField": false,
|
|
296
|
+
"restricted": false,
|
|
297
|
+
"defaultValue": null
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"id": null,
|
|
301
|
+
"name": "SiteItemType",
|
|
302
|
+
"required": "mandatory",
|
|
303
|
+
"description": "$[Page,directory] $radio $instanceDescription $groupEdit",
|
|
304
|
+
"condition": "=SiteItem",
|
|
305
|
+
"duplicable": false,
|
|
306
|
+
"fields": [],
|
|
307
|
+
"order": 23,
|
|
308
|
+
"rootField": false,
|
|
309
|
+
"restricted": false,
|
|
310
|
+
"defaultValue": null
|
|
311
|
+
}
|
|
312
|
+
],
|
|
313
|
+
"order": 20,
|
|
314
|
+
"rootField": false,
|
|
315
|
+
"restricted": false,
|
|
316
|
+
"defaultValue": null
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"id": null,
|
|
320
|
+
"name": "Live Content",
|
|
321
|
+
"required": null,
|
|
322
|
+
"description": "$auto.text(Path).join('/docs',Path) $link",
|
|
323
|
+
"condition": "SiteItemType!directory",
|
|
324
|
+
"duplicable": false,
|
|
325
|
+
"fields": [],
|
|
326
|
+
"order": 24,
|
|
327
|
+
"rootField": false,
|
|
328
|
+
"restricted": false,
|
|
329
|
+
"defaultValue": null
|
|
330
|
+
}
|
|
331
|
+
],
|
|
332
|
+
"order": 0,
|
|
333
|
+
"rootField": true,
|
|
334
|
+
"restricted": false,
|
|
335
|
+
"defaultValue": null
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"id": null,
|
|
339
|
+
"name": "Content",
|
|
340
|
+
"required": null,
|
|
341
|
+
"description": "$group $expanded $style[hide-in-group-edit]",
|
|
342
|
+
"condition": null,
|
|
343
|
+
"duplicable": false,
|
|
344
|
+
"fields": [
|
|
345
|
+
{
|
|
346
|
+
"id": null,
|
|
347
|
+
"name": "Guidelines",
|
|
348
|
+
"required": null,
|
|
349
|
+
"description": "$group $expanded $style[guidelines]",
|
|
350
|
+
"condition": null,
|
|
351
|
+
"duplicable": false,
|
|
352
|
+
"fields": [
|
|
353
|
+
{
|
|
354
|
+
"id": null,
|
|
355
|
+
"name": "A <a href=\"/docs/solutions/cob/learning/diataxis-documentation-framework/tutorials/\">tutorial</a> must help a beginner achieve basic competence with a product, so that they can go on to use the product for their own purposes.<br><br> Pay attention who the reader is (__Target__) and what the scope is (__Parent Path__)",
|
|
356
|
+
"required": null,
|
|
357
|
+
"description": "$group",
|
|
358
|
+
"condition": "Type=Tutorial",
|
|
359
|
+
"duplicable": false,
|
|
360
|
+
"fields": [],
|
|
361
|
+
"order": 27,
|
|
362
|
+
"rootField": false,
|
|
363
|
+
"restricted": false,
|
|
364
|
+
"defaultValue": null
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"id": null,
|
|
368
|
+
"name": "<a href=\"/docs/solutions/cob/learning/diataxis-documentation-framework/how-to-guides/\">How-to guides</a> can be thought of as recipes, directions that guide the reader through the steps to achieve a specific end.<br><br> Pay attention who the reader is (__Target__) and what the scope is (__Parent Path__)",
|
|
369
|
+
"required": null,
|
|
370
|
+
"description": "$group",
|
|
371
|
+
"condition": "Type=Howto",
|
|
372
|
+
"duplicable": false,
|
|
373
|
+
"fields": [],
|
|
374
|
+
"order": 28,
|
|
375
|
+
"rootField": false,
|
|
376
|
+
"restricted": false,
|
|
377
|
+
"defaultValue": null
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"id": null,
|
|
381
|
+
"name": "The only purpose of a <a href=\"/docs/solutions/cob/learning/diataxis-documentation-framework/reference/\">reference guide</a> is to describe, as succinctly as possible, and in an orderly way. Whereas the content of tutorials and how-to guides are led by needs of the user, reference material is led by the product it describes.<br><br> Pay attention who the reader is (__Target__) and what the scope is (__Parent Path__)",
|
|
382
|
+
"required": null,
|
|
383
|
+
"description": "$group",
|
|
384
|
+
"condition": "Type=Reference",
|
|
385
|
+
"duplicable": false,
|
|
386
|
+
"fields": [],
|
|
387
|
+
"order": 29,
|
|
388
|
+
"rootField": false,
|
|
389
|
+
"restricted": false,
|
|
390
|
+
"defaultValue": null
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"id": null,
|
|
394
|
+
"name": "<a href=\"/solutions/cob/learning/diataxis-documentation-framework/explanation/\">Explanation</a> clarifies, deepens and broadens the reader’s understanding of a subject.<br><br> Pay attention who the reader is (__Target__) and what the scope is (__Parent Path__)",
|
|
395
|
+
"required": null,
|
|
396
|
+
"description": "$group",
|
|
397
|
+
"condition": "Type=Explanation",
|
|
398
|
+
"duplicable": false,
|
|
399
|
+
"fields": [],
|
|
400
|
+
"order": 30,
|
|
401
|
+
"rootField": false,
|
|
402
|
+
"restricted": false,
|
|
403
|
+
"defaultValue": null
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
"id": null,
|
|
407
|
+
"name": "Brief Description of a solution with advantages and motivation from lack of adequate alternatives.",
|
|
408
|
+
"required": null,
|
|
409
|
+
"description": "$group",
|
|
410
|
+
"condition": "Type=Showcase,Solution",
|
|
411
|
+
"duplicable": false,
|
|
412
|
+
"fields": [],
|
|
413
|
+
"order": 31,
|
|
414
|
+
"rootField": false,
|
|
415
|
+
"restricted": false,
|
|
416
|
+
"defaultValue": null
|
|
417
|
+
}
|
|
418
|
+
],
|
|
419
|
+
"order": 26,
|
|
420
|
+
"rootField": false,
|
|
421
|
+
"restricted": false,
|
|
422
|
+
"defaultValue": null
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"id": null,
|
|
426
|
+
"name": "Name",
|
|
427
|
+
"required": null,
|
|
428
|
+
"description": "$instanceDescription",
|
|
429
|
+
"condition": null,
|
|
430
|
+
"duplicable": false,
|
|
431
|
+
"fields": [
|
|
432
|
+
{
|
|
433
|
+
"id": null,
|
|
434
|
+
"name": "Content",
|
|
435
|
+
"required": "mandatory",
|
|
436
|
+
"description": "$markdown $style[shortMD]",
|
|
437
|
+
"condition": "!",
|
|
438
|
+
"duplicable": false,
|
|
439
|
+
"fields": [],
|
|
440
|
+
"order": 33,
|
|
441
|
+
"rootField": false,
|
|
442
|
+
"restricted": false,
|
|
443
|
+
"defaultValue": null
|
|
444
|
+
}
|
|
445
|
+
],
|
|
446
|
+
"order": 32,
|
|
447
|
+
"rootField": false,
|
|
448
|
+
"restricted": false,
|
|
449
|
+
"defaultValue": null
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"id": null,
|
|
453
|
+
"name": "Name-PT",
|
|
454
|
+
"required": null,
|
|
455
|
+
"description": null,
|
|
456
|
+
"condition": null,
|
|
457
|
+
"duplicable": false,
|
|
458
|
+
"fields": [
|
|
459
|
+
{
|
|
460
|
+
"id": null,
|
|
461
|
+
"name": "Content-PT",
|
|
462
|
+
"required": "mandatory",
|
|
463
|
+
"description": "$markdown $style[shortMD]",
|
|
464
|
+
"condition": "!",
|
|
465
|
+
"duplicable": false,
|
|
466
|
+
"fields": [],
|
|
467
|
+
"order": 35,
|
|
468
|
+
"rootField": false,
|
|
469
|
+
"restricted": false,
|
|
470
|
+
"defaultValue": null
|
|
471
|
+
}
|
|
472
|
+
],
|
|
473
|
+
"order": 34,
|
|
474
|
+
"rootField": false,
|
|
475
|
+
"restricted": false,
|
|
476
|
+
"defaultValue": null
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
"id": null,
|
|
480
|
+
"name": "Name-ES",
|
|
481
|
+
"required": null,
|
|
482
|
+
"description": null,
|
|
483
|
+
"condition": null,
|
|
484
|
+
"duplicable": false,
|
|
485
|
+
"fields": [
|
|
486
|
+
{
|
|
487
|
+
"id": null,
|
|
488
|
+
"name": "Content-ES",
|
|
489
|
+
"required": "mandatory",
|
|
490
|
+
"description": "$markdown $style[shortMD]",
|
|
491
|
+
"condition": "!",
|
|
492
|
+
"duplicable": false,
|
|
493
|
+
"fields": [],
|
|
494
|
+
"order": 37,
|
|
495
|
+
"rootField": false,
|
|
496
|
+
"restricted": false,
|
|
497
|
+
"defaultValue": null
|
|
498
|
+
}
|
|
499
|
+
],
|
|
500
|
+
"order": 36,
|
|
501
|
+
"rootField": false,
|
|
502
|
+
"restricted": false,
|
|
503
|
+
"defaultValue": null
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
"id": null,
|
|
507
|
+
"name": "Contents that reuse this content",
|
|
508
|
+
"required": null,
|
|
509
|
+
"description": "$group $style[hide,use-reference-count]",
|
|
510
|
+
"condition": null,
|
|
511
|
+
"duplicable": false,
|
|
512
|
+
"fields": [
|
|
513
|
+
{
|
|
514
|
+
"id": null,
|
|
515
|
+
"name": "Contents that reuse this content",
|
|
516
|
+
"required": null,
|
|
517
|
+
"description": "$references(E-learning Contents,Original Content,[view:vContents]) ",
|
|
518
|
+
"condition": null,
|
|
519
|
+
"duplicable": false,
|
|
520
|
+
"fields": [],
|
|
521
|
+
"order": 39,
|
|
522
|
+
"rootField": false,
|
|
523
|
+
"restricted": false,
|
|
524
|
+
"defaultValue": null
|
|
525
|
+
}
|
|
526
|
+
],
|
|
527
|
+
"order": 38,
|
|
528
|
+
"rootField": false,
|
|
529
|
+
"restricted": false,
|
|
530
|
+
"defaultValue": null
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"id": null,
|
|
534
|
+
"name": "Sub Content",
|
|
535
|
+
"required": null,
|
|
536
|
+
"description": "$references(E-learning Contents,Parent,[view:vContents]) $style[hide-in-new-instance]",
|
|
537
|
+
"condition": null,
|
|
538
|
+
"duplicable": false,
|
|
539
|
+
"fields": [],
|
|
540
|
+
"order": 40,
|
|
541
|
+
"rootField": false,
|
|
542
|
+
"restricted": false,
|
|
543
|
+
"defaultValue": null
|
|
544
|
+
}
|
|
545
|
+
],
|
|
546
|
+
"order": 25,
|
|
547
|
+
"rootField": true,
|
|
548
|
+
"restricted": false,
|
|
549
|
+
"defaultValue": null
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
"id": null,
|
|
553
|
+
"name": "Tasks",
|
|
554
|
+
"required": null,
|
|
555
|
+
"description": "$tasks $instanceDescription $groupEdit",
|
|
556
|
+
"condition": null,
|
|
557
|
+
"duplicable": false,
|
|
558
|
+
"fields": [],
|
|
559
|
+
"order": 41,
|
|
560
|
+
"rootField": true,
|
|
561
|
+
"restricted": false,
|
|
562
|
+
"defaultValue": null
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
"id": null,
|
|
566
|
+
"name": "Proposed Changes",
|
|
567
|
+
"required": null,
|
|
568
|
+
"description": "$references(E-learning Content RFCs,Original Content) $style[hide-in-new-instance,hide-in-group-edit]",
|
|
569
|
+
"condition": null,
|
|
570
|
+
"duplicable": false,
|
|
571
|
+
"fields": [],
|
|
572
|
+
"order": 42,
|
|
573
|
+
"rootField": true,
|
|
574
|
+
"restricted": false,
|
|
575
|
+
"defaultValue": null
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
"id": null,
|
|
579
|
+
"name": "Evaluations",
|
|
580
|
+
"required": null,
|
|
581
|
+
"description": "$references(E-learning Content Evaluations,Content) $style[hide-in-new-instance,hide-in-group-edit]",
|
|
582
|
+
"condition": null,
|
|
583
|
+
"duplicable": false,
|
|
584
|
+
"fields": [],
|
|
585
|
+
"order": 43,
|
|
586
|
+
"rootField": true,
|
|
587
|
+
"restricted": false,
|
|
588
|
+
"defaultValue": null
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
"id": null,
|
|
592
|
+
"name": "Files",
|
|
593
|
+
"required": null,
|
|
594
|
+
"description": "$group $style[hide-in-group-edit]",
|
|
595
|
+
"condition": null,
|
|
596
|
+
"duplicable": false,
|
|
597
|
+
"fields": [
|
|
598
|
+
{
|
|
599
|
+
"id": null,
|
|
600
|
+
"name": "File",
|
|
601
|
+
"required": null,
|
|
602
|
+
"description": "$file",
|
|
603
|
+
"condition": null,
|
|
604
|
+
"duplicable": true,
|
|
605
|
+
"fields": [],
|
|
606
|
+
"order": 45,
|
|
607
|
+
"rootField": false,
|
|
608
|
+
"restricted": false,
|
|
609
|
+
"defaultValue": null
|
|
610
|
+
}
|
|
611
|
+
],
|
|
612
|
+
"order": 44,
|
|
613
|
+
"rootField": true,
|
|
614
|
+
"restricted": false,
|
|
615
|
+
"defaultValue": null
|
|
616
|
+
}
|
|
617
|
+
],
|
|
618
|
+
"version": null
|
|
619
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Steps to setup the site
|
|
2
|
+
|
|
3
|
+
1. add the vuepress to the site by linking the nginx configuration file:
|
|
4
|
+
```sh
|
|
5
|
+
ln -s /opt/others/vuepress/nginx/dist/ /usr/share/nginx/html/docs
|
|
6
|
+
```
|
|
7
|
+
|
|
8
|
+
2. change the following lines in `/etc/nginx/nginx.conf` to make the docs the default content to the site:
|
|
9
|
+
from
|
|
10
|
+
```js
|
|
11
|
+
location = / {
|
|
12
|
+
return 302 /recordm/index.html
|
|
13
|
+
}
|
|
14
|
+
```
|
|
15
|
+
to
|
|
16
|
+
```js
|
|
17
|
+
location = / {
|
|
18
|
+
return 302 /docs/
|
|
19
|
+
}
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
3. restart the nginx service
|
|
23
|
+
```sh
|
|
24
|
+
su -
|
|
25
|
+
systemctl restart nginx.service
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
4. check that `learning.cultofbits.com` is redirected to the vuepress site and everything is ok
|