cob-cli 2.23.0 → 2.26.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/.gitmodules +27 -0
- package/bin/cob-cli.js +3 -1
- package/bin/handleAutoComplete.js +1 -4
- package/lib/commands/customize.js +213 -66
- package/package.json +3 -2
- package/.vscode/launch.json +0 -106
- package/customizations/backend.email.js +0 -10
- package/customizations/backend.js +0 -14
- package/customizations/backend.updateField.js +0 -11
- package/customizations/backend.vuepress.js +0 -35
- package/customizations/dashboard.dash.js +0 -11
- package/customizations/dashboard.js +0 -14
- package/customizations/dashboard.simple.js +0 -12
- package/customizations/dashboard.vue.empty.js +0 -12
- package/customizations/dashboard.vue.grid.js +0 -10
- package/customizations/dashboard.vue.js +0 -14
- package/customizations/dashboard.vue.menuAndGrid.js +0 -10
- package/customizations/frontend.common.js +0 -15
- package/customizations/frontend.easy.js +0 -16
- package/customizations/frontend.formatList.currency.js +0 -15
- package/customizations/frontend.formatList.js +0 -13
- package/customizations/frontend.js +0 -14
- package/customizations/importer.js +0 -10
- package/customizations/keywords.audit.js +0 -17
- package/customizations/keywords.calc.js +0 -17
- package/customizations/keywords.js +0 -15
- package/customizations/keywords.log.js +0 -17
- package/customizations/keywords.styleResults.js +0 -17
- package/templates/backend/vuepress/integrationm/actions/getVuePressDoc.groovy +0 -74
- package/templates/backend/vuepress/integrationm/actions/getVuePressSidebarConfig.groovy +0 -42
- package/templates/backend/vuepress/integrationm/actions/getVuePressSidebarRootElements.groovy +0 -17
- package/templates/backend/vuepress/others/vuepress/definition_contents_v234.json +0 -619
- package/templates/backend/vuepress/others/vuepress/nginx/README.md +0 -28
- package/templates/backend/vuepress/others/vuepress/package-lock.json +0 -29656
- package/templates/backend/vuepress/others/vuepress/package.json +0 -24
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/components/DescriptVideo.vue +0 -22
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/components/Graph.vue +0 -124
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/components/ReadingTime.vue +0 -26
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/components/References.vue +0 -228
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/components/RestrictedContent.vue +0 -77
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/config.js +0 -101
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/config.json +0 -31
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/enhanceApp.js +0 -14
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/nav/getNavTranslated.js +0 -52
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/plugins/References.js +0 -96
- 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 +0 -39
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/styles/palette.styl +0 -17
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/LICENSE +0 -21
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/README.md +0 -11
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/AlgoliaSearchBox.vue +0 -172
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/DropdownLink.vue +0 -252
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/DropdownTransition.vue +0 -33
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/Home.vue +0 -134
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/NavLink.vue +0 -98
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/NavLinks.vue +0 -165
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/Navbar.vue +0 -140
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/Page.vue +0 -31
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/PageEdit.vue +0 -119
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/PageNav.vue +0 -163
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/Sidebar.vue +0 -64
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/SidebarButton.vue +0 -40
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/SidebarGroup.vue +0 -144
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/SidebarLink.vue +0 -140
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/components/SidebarLinks.vue +0 -114
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/global-components/Badge.vue +0 -44
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/global-components/CodeBlock.vue +0 -41
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/global-components/CodeGroup.vue +0 -120
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/index.js +0 -59
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/layouts/404.vue +0 -30
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/layouts/Layout.vue +0 -151
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/noopModule.js +0 -1
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/package.json +0 -44
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/styles/arrow.styl +0 -22
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/styles/code.styl +0 -137
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/styles/config.styl +0 -1
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/styles/custom-blocks.styl +0 -44
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/styles/index.styl +0 -202
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/styles/mobile.styl +0 -37
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/styles/toc.styl +0 -3
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/styles/wrapper.styl +0 -10
- package/templates/backend/vuepress/others/vuepress/src/.vuepress/theme/util/index.js +0 -244
- package/templates/dashboards/cob-dashboard-html/demoDashboard.html +0 -18
- package/templates/dashboards/cob-dashboard-vue/package-lock.json +0 -25020
- package/templates/dashboards/cob-dashboard-vue/package.json +0 -21
- package/templates/dashboards/cob-dashboard-vue/src/App.vue +0 -26
- package/templates/dashboards/cob-dashboard-vue/src/dashboard.html +0 -31
- package/templates/dashboards/cob-dashboard-vue/src/main.js +0 -12
- package/templates/dashboards/cob-dashboard-vue/src/plugins/cobUiVueComponents.js +0 -6
- package/templates/dashboards/cob-dashboard-vue/src/plugins/vuetify.js +0 -9
- package/templates/dashboards/cob-dashboard-vue/vue.config.js +0 -104
- package/templates/dashboards/dash/dist/css/app.7b16c01a.css +0 -11
- package/templates/dashboards/dash/dist/dashboard.html +0 -25
- package/templates/dashboards/dash/dist/fonts/fa-brands-400.a78ffbbe.ttf +0 -0
- package/templates/dashboards/dash/dist/fonts/fa-brands-400.cd2b4095.woff2 +0 -0
- package/templates/dashboards/dash/dist/fonts/fa-regular-400.b1a1bebb.ttf +0 -0
- package/templates/dashboards/dash/dist/fonts/fa-regular-400.e8a1ba41.woff2 +0 -0
- package/templates/dashboards/dash/dist/fonts/fa-solid-900.55b416a8.woff2 +0 -0
- package/templates/dashboards/dash/dist/fonts/fa-solid-900.73820155.ttf +0 -0
- package/templates/dashboards/dash/dist/fonts/fa-v4compatibility.0d6f5f18.ttf +0 -0
- package/templates/dashboards/dash/dist/fonts/fa-v4compatibility.786e6b33.woff2 +0 -0
- package/templates/dashboards/dash/dist/js/app.13b950c8.js +0 -199
- package/templates/dashboards/dash/dist/js/app.13b950c8.js.map +0 -1
- package/templates/dashboards/dash/package-lock.json +0 -22646
- package/templates/dashboards/dash/package.json +0 -27
- package/templates/dashboards/dash/src/App.vue +0 -124
- package/templates/dashboards/dash/src/assets/css/all.min.css +0 -6
- package/templates/dashboards/dash/src/assets/webfonts/fa-brands-400.ttf +0 -0
- package/templates/dashboards/dash/src/assets/webfonts/fa-brands-400.woff2 +0 -0
- package/templates/dashboards/dash/src/assets/webfonts/fa-regular-400.ttf +0 -0
- package/templates/dashboards/dash/src/assets/webfonts/fa-regular-400.woff2 +0 -0
- package/templates/dashboards/dash/src/assets/webfonts/fa-solid-900.ttf +0 -0
- package/templates/dashboards/dash/src/assets/webfonts/fa-solid-900.woff2 +0 -0
- package/templates/dashboards/dash/src/assets/webfonts/fa-v4compatibility.ttf +0 -0
- package/templates/dashboards/dash/src/assets/webfonts/fa-v4compatibility.woff2 +0 -0
- package/templates/dashboards/dash/src/collector.js +0 -222
- package/templates/dashboards/dash/src/components/Attention.vue +0 -30
- package/templates/dashboards/dash/src/components/Board.vue +0 -35
- package/templates/dashboards/dash/src/components/Calendar.vue +0 -422
- package/templates/dashboards/dash/src/components/Dashboard.vue +0 -27
- package/templates/dashboards/dash/src/components/Filter.vue +0 -68
- package/templates/dashboards/dash/src/components/Kibana.vue +0 -138
- package/templates/dashboards/dash/src/components/Label.vue +0 -15
- package/templates/dashboards/dash/src/components/Menu.vue +0 -44
- package/templates/dashboards/dash/src/components/Totals.vue +0 -49
- package/templates/dashboards/dash/src/components/TotalsValue.vue +0 -59
- package/templates/dashboards/dash/src/components/shared/Instance.vue +0 -64
- package/templates/dashboards/dash/src/components/shared/Waiting.vue +0 -25
- package/templates/dashboards/dash/src/dashboard.html +0 -39
- package/templates/dashboards/dash/src/definition_dashboard_v0.json +0 -924
- package/templates/dashboards/dash/src/definition_dashboard_v1.json +0 -1
- package/templates/dashboards/dash/src/input.css +0 -9
- package/templates/dashboards/dash/src/main.js +0 -11
- package/templates/dashboards/dash/src/model/ComponentStatePersistence.js +0 -66
- package/templates/dashboards/dash/src/output.css +0 -314245
- package/templates/dashboards/dash/src/test_collector.js +0 -3719
- package/templates/dashboards/dash/src/utils/EsInstanceUtils.js +0 -8
- package/templates/dashboards/dash/tailwind.config.js +0 -12
- package/templates/dashboards/dash/vue.config.js +0 -104
- package/templates/frontend/common/css/_dualColumn.css +0 -46
- package/templates/frontend/common/css/_global.css +0 -19
- package/templates/frontend/common/css/_hidden.css +0 -13
- package/templates/frontend/common/css/_history.css +0 -13
- package/templates/frontend/common/css/_mobile.css +0 -125
- package/templates/frontend/common/css/customizations.__MERGE__.css +0 -5
- package/templates/frontend/common/js/cob/_disable_save_onSubdetail.js +0 -11
- package/templates/frontend/common/js/cob/_group_references.js +0 -22
- package/templates/frontend/common/js/cob/_show_hidden.js +0 -35
- package/templates/frontend/common/js/customizations2.__MERGE__.js +0 -3
- package/templates/frontend/easy/css/_easy/googlefonts.css +0 -360
- package/templates/frontend/easy/css/_easy/vuetify.cob-scoped.css +0 -10488
- package/templates/frontend/easy/js/_easy/lib/axios.min.js +0 -9
- package/templates/frontend/easy/js/_easy/lib/marked.min.js +0 -6
- package/templates/frontend/easy/js/_easy/lib/vue.js +0 -11912
- package/templates/frontend/easy/js/_easy/lib/vue.min.js +0 -6
- package/templates/frontend/easy/js/_easy/lib/vuetify.min.js +0 -6
- package/templates/frontend/easy/js/customizations2.__MERGE__.js +0 -22
- package/templates/frontend/easy/webapp/.browserslistrc +0 -2
- package/templates/frontend/easy/webapp/.eslintrc.js +0 -17
- package/templates/frontend/easy/webapp/README.md +0 -60
- package/templates/frontend/easy/webapp/babel.config.js +0 -5
- package/templates/frontend/easy/webapp/dist/css/app.a4fb91f8.css +0 -1
- package/templates/frontend/easy/webapp/dist/dashboard.html +0 -13
- package/templates/frontend/easy/webapp/dist/js/app.63a57dcd.js +0 -2
- package/templates/frontend/easy/webapp/dist/js/app.63a57dcd.js.map +0 -1
- package/templates/frontend/easy/webapp/package-lock.json +0 -32986
- package/templates/frontend/easy/webapp/package.json +0 -32
- package/templates/frontend/easy/webapp/postcss.config.js +0 -5
- package/templates/frontend/easy/webapp/public/dashboard.html +0 -13
- package/templates/frontend/easy/webapp/src/App.vue +0 -181
- package/templates/frontend/easy/webapp/src/assets/logo.png +0 -0
- package/templates/frontend/easy/webapp/src/components/HelloWorld.vue +0 -59
- package/templates/frontend/easy/webapp/src/components/PermBuilder.vue +0 -163
- package/templates/frontend/easy/webapp/src/components/PlanExecutor.vue +0 -225
- package/templates/frontend/easy/webapp/src/components/ProductPermBuilder.vue +0 -95
- package/templates/frontend/easy/webapp/src/components/RmDefinitionChooser.vue +0 -59
- package/templates/frontend/easy/webapp/src/components/RmDomainChooser.vue +0 -60
- package/templates/frontend/easy/webapp/src/components/RoleBuilder.vue +0 -73
- package/templates/frontend/easy/webapp/src/main.js +0 -19
- package/templates/frontend/easy/webapp/src/perm-templates.js +0 -189
- package/templates/frontend/easy/webapp/src/perms.js +0 -197
- package/templates/frontend/easy/webapp/vue.config.js +0 -66
- package/templates/frontend/formatList/currency/css/_format_currency.css +0 -11
- package/templates/frontend/formatList/currency/css/customizations.__MERGE__.css +0 -1
- package/templates/frontend/formatList/currency/js/cob/_format_currency.js +0 -11
- package/templates/frontend/formatList/currency/js/customizations2.__MERGE__.js +0 -1
- package/templates/gitignore +0 -14
- package/templates/keywords/audit/backend/scripts/_audit.groovy +0 -83
- package/templates/keywords/audit/frontend/js/cob/_audit.js +0 -24
- package/templates/keywords/audit/frontend/js/customizations2.__MERGE__.js +0 -1
- package/templates/keywords/calc/backend/scripts/_calc.groovy +0 -161
- package/templates/keywords/calc/frontend/js/cob/_calc.js +0 -193
- package/templates/keywords/calc/frontend/js/customizations2.__MERGE__.js +0 -1
- package/templates/keywords/log/backend/scripts/_log.groovy +0 -99
- package/templates/keywords/log/frontend/css/_log.css +0 -5
- package/templates/keywords/log/frontend/css/customizations.__MERGE__.css +0 -1
- package/templates/keywords/styleResults/frontend/css/_styleResults.css +0 -86
- package/templates/keywords/styleResults/frontend/css/customizations.__MERGE__.css +0 -1
- package/templates/keywords/styleResults/frontend/js/cob/_styleResults.js +0 -38
- package/templates/keywords/styleResults/frontend/js/customizations2.__MERGE__.js +0 -1
|
@@ -1,619 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
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
|