jekyll-open-sdg-plugins 1.2.0.pre.beta1 → 1.2.0.pre.beta6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll-open-sdg-plugins/create_goals.rb +10 -5
- data/lib/jekyll-open-sdg-plugins/create_indicators.rb +30 -31
- data/lib/jekyll-open-sdg-plugins/create_pages.rb +10 -8
- data/lib/jekyll-open-sdg-plugins/schema-indicator-config.json +42 -33
- data/lib/jekyll-open-sdg-plugins/schema-site-config.json +161 -108
- data/lib/jekyll-open-sdg-plugins/sdg_variables.rb +1 -1
- data/lib/jekyll-open-sdg-plugins/version.rb +1 -1
- metadata +2 -2
@@ -10,7 +10,7 @@
|
|
10
10
|
"format": "checkbox",
|
11
11
|
"links": [
|
12
12
|
{
|
13
|
-
"rel": "More information",
|
13
|
+
"rel": "More information on the accessible charts setting",
|
14
14
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#accessible_charts"
|
15
15
|
}
|
16
16
|
]
|
@@ -22,7 +22,7 @@
|
|
22
22
|
"format": "checkbox",
|
23
23
|
"links": [
|
24
24
|
{
|
25
|
-
"rel": "More information",
|
25
|
+
"rel": "More information on the accessible tabs setting",
|
26
26
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#accessible_tabs"
|
27
27
|
}
|
28
28
|
]
|
@@ -41,7 +41,7 @@
|
|
41
41
|
},
|
42
42
|
"links": [
|
43
43
|
{
|
44
|
-
"rel": "More information",
|
44
|
+
"rel": "More information on the analytics setting",
|
45
45
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#analytics"
|
46
46
|
}
|
47
47
|
]
|
@@ -54,7 +54,6 @@
|
|
54
54
|
"properties": {
|
55
55
|
"goal": {
|
56
56
|
"options": {"collapsed": true},
|
57
|
-
"format": "table",
|
58
57
|
"type": "array",
|
59
58
|
"title": "Goal breadcrumbs",
|
60
59
|
"description": "The breadcrumb items for goal pages.",
|
@@ -64,7 +63,6 @@
|
|
64
63
|
},
|
65
64
|
"indicator": {
|
66
65
|
"options": {"collapsed": true},
|
67
|
-
"format": "table",
|
68
66
|
"type": "array",
|
69
67
|
"title": "Indicator breadcrumbs",
|
70
68
|
"description": "The breadcrumb items for indicator pages. Note that there will automatically be a final item, which is a link to the goal that the indicator belongs to. You do not need to specify this, since it is done dynamically and automatically.",
|
@@ -74,7 +72,6 @@
|
|
74
72
|
},
|
75
73
|
"post": {
|
76
74
|
"options": {"collapsed": true},
|
77
|
-
"format": "table",
|
78
75
|
"type": "array",
|
79
76
|
"title": "Post breadcrumbs",
|
80
77
|
"description": "The breadcrumb items for post pages.",
|
@@ -85,7 +82,7 @@
|
|
85
82
|
},
|
86
83
|
"links": [
|
87
84
|
{
|
88
|
-
"rel": "More information",
|
85
|
+
"rel": "More information on the breadcrumbs setting",
|
89
86
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#breadcrumbs"
|
90
87
|
}
|
91
88
|
]
|
@@ -111,11 +108,40 @@
|
|
111
108
|
},
|
112
109
|
"links": [
|
113
110
|
{
|
114
|
-
"rel": "More information",
|
111
|
+
"rel": "More information on the country setting",
|
115
112
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#country"
|
116
113
|
}
|
117
114
|
]
|
118
115
|
},
|
116
|
+
"create_config_forms": {
|
117
|
+
"options": {"collapsed": true},
|
118
|
+
"type": "object",
|
119
|
+
"title": "Create configuration forms",
|
120
|
+
"description": "This setting can be used to automatically create the configuration form pages.",
|
121
|
+
"properties": {
|
122
|
+
"layout": {
|
123
|
+
"type": "string",
|
124
|
+
"title": "Layout",
|
125
|
+
"enum": [
|
126
|
+
"",
|
127
|
+
"config-builder"
|
128
|
+
],
|
129
|
+
"options": {
|
130
|
+
"enum_titles": [
|
131
|
+
"Do not automatically create config forms",
|
132
|
+
"config-builder"
|
133
|
+
]
|
134
|
+
},
|
135
|
+
"description": "The layout to use for the configuration form pages."
|
136
|
+
}
|
137
|
+
},
|
138
|
+
"links": [
|
139
|
+
{
|
140
|
+
"rel": "More information on the create config forms setting",
|
141
|
+
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#create_config_forms"
|
142
|
+
}
|
143
|
+
]
|
144
|
+
},
|
119
145
|
"create_goals": {
|
120
146
|
"options": {"collapsed": true},
|
121
147
|
"type": "object",
|
@@ -125,12 +151,44 @@
|
|
125
151
|
"layout": {
|
126
152
|
"type": "string",
|
127
153
|
"title": "Layout",
|
154
|
+
"enum": [
|
155
|
+
"",
|
156
|
+
"goal",
|
157
|
+
"goal-by-target",
|
158
|
+
"goal-by-target-vertical"
|
159
|
+
],
|
160
|
+
"options": {
|
161
|
+
"enum_titles": [
|
162
|
+
"Do not automatically create goals",
|
163
|
+
"goal",
|
164
|
+
"goal-by-target",
|
165
|
+
"goal-by-target-vertical"
|
166
|
+
]
|
167
|
+
},
|
128
168
|
"description": "The layout to use for the goal pages."
|
169
|
+
},
|
170
|
+
"goals": {
|
171
|
+
"options": {"collapsed": true},
|
172
|
+
"type": "array",
|
173
|
+
"title": "Content per goal",
|
174
|
+
"description": "This setting can be used to enter details for each goal.",
|
175
|
+
"items": {
|
176
|
+
"type": "object",
|
177
|
+
"title": "Goal",
|
178
|
+
"properties": {
|
179
|
+
"content": {
|
180
|
+
"type": "string",
|
181
|
+
"title": "Content",
|
182
|
+
"format": "markdown",
|
183
|
+
"description": "Markdown content or a translation key for this goal."
|
184
|
+
}
|
185
|
+
}
|
186
|
+
}
|
129
187
|
}
|
130
188
|
},
|
131
189
|
"links": [
|
132
190
|
{
|
133
|
-
"rel": "More information",
|
191
|
+
"rel": "More information on the create goals setting",
|
134
192
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#create_goals"
|
135
193
|
}
|
136
194
|
]
|
@@ -144,19 +202,28 @@
|
|
144
202
|
"layout": {
|
145
203
|
"type": "string",
|
146
204
|
"title": "Layout",
|
205
|
+
"enum": [
|
206
|
+
"",
|
207
|
+
"indicator"
|
208
|
+
],
|
209
|
+
"options": {
|
210
|
+
"enum_titles": [
|
211
|
+
"Do not automatically create indicators",
|
212
|
+
"indicator"
|
213
|
+
]
|
214
|
+
},
|
147
215
|
"description": "The layout to use for the indicator pages."
|
148
216
|
}
|
149
217
|
},
|
150
218
|
"links": [
|
151
219
|
{
|
152
|
-
"rel": "More information",
|
220
|
+
"rel": "More information on the create indicators setting",
|
153
221
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#create_indicators"
|
154
222
|
}
|
155
223
|
]
|
156
224
|
},
|
157
225
|
"create_pages": {
|
158
226
|
"options": {"collapsed": true},
|
159
|
-
"format": "table",
|
160
227
|
"type": "array",
|
161
228
|
"title": "Create pages",
|
162
229
|
"description": "This setting can be used to automatically create the pages.",
|
@@ -190,14 +257,13 @@
|
|
190
257
|
},
|
191
258
|
"links": [
|
192
259
|
{
|
193
|
-
"rel": "More information",
|
260
|
+
"rel": "More information on the create pages setting",
|
194
261
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#create_pages"
|
195
262
|
}
|
196
263
|
]
|
197
264
|
},
|
198
265
|
"custom_css": {
|
199
266
|
"options": {"collapsed": true},
|
200
|
-
"format": "table",
|
201
267
|
"type": "array",
|
202
268
|
"title": "Custom CSS files",
|
203
269
|
"description": "Deprecated: instead of using this, it is recommended to put custom CSS in a _sass/custom.scss file.",
|
@@ -207,14 +273,13 @@
|
|
207
273
|
},
|
208
274
|
"links": [
|
209
275
|
{
|
210
|
-
"rel": "More information",
|
276
|
+
"rel": "More information on the custom CSS setting",
|
211
277
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#custom_css"
|
212
278
|
}
|
213
279
|
]
|
214
280
|
},
|
215
281
|
"custom_js": {
|
216
282
|
"options": {"collapsed": true},
|
217
|
-
"format": "table",
|
218
283
|
"type": "array",
|
219
284
|
"title": "Custom JavaScript files",
|
220
285
|
"description": "This setting can be used to load additional JavaScript files on each page.",
|
@@ -224,7 +289,7 @@
|
|
224
289
|
},
|
225
290
|
"links": [
|
226
291
|
{
|
227
|
-
"rel": "More information",
|
292
|
+
"rel": "More information on the custom JS setting",
|
228
293
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#custom_js"
|
229
294
|
}
|
230
295
|
]
|
@@ -236,14 +301,13 @@
|
|
236
301
|
"description": "This setting controls the URL of the 'Edit Data' buttons that appear on the staging site's indicator pages.",
|
237
302
|
"links": [
|
238
303
|
{
|
239
|
-
"rel": "More information",
|
304
|
+
"rel": "More information on the data edit URL setting",
|
240
305
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#data_edit_url"
|
241
306
|
}
|
242
307
|
]
|
243
308
|
},
|
244
309
|
"date_formats": {
|
245
310
|
"options": {"collapsed": true},
|
246
|
-
"format": "table",
|
247
311
|
"type": "array",
|
248
312
|
"title": "Date formats",
|
249
313
|
"description": "This setting can be used to control date formats for use in the site, such as in the news/category/post layouts. Any number date formats can be entered, and each must have an arbitrary type, such as `standard`. Make sure that each type has a variant for each of your languages.",
|
@@ -273,7 +337,7 @@
|
|
273
337
|
},
|
274
338
|
"links": [
|
275
339
|
{
|
276
|
-
"rel": "More information",
|
340
|
+
"rel": "More information on the date formats setting",
|
277
341
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#date_formats"
|
278
342
|
}
|
279
343
|
]
|
@@ -297,7 +361,7 @@
|
|
297
361
|
},
|
298
362
|
"links": [
|
299
363
|
{
|
300
|
-
"rel": "More information",
|
364
|
+
"rel": "More information on the disclaimer setting",
|
301
365
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#disclaimer"
|
302
366
|
}
|
303
367
|
]
|
@@ -332,7 +396,7 @@
|
|
332
396
|
},
|
333
397
|
"links": [
|
334
398
|
{
|
335
|
-
"rel": "More information",
|
399
|
+
"rel": "More information on the email contacts setting",
|
336
400
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#email_contacts"
|
337
401
|
}
|
338
402
|
]
|
@@ -342,11 +406,10 @@
|
|
342
406
|
"minLength": 1,
|
343
407
|
"title": "Environment",
|
344
408
|
"description": "Which environment (staging or production) this configuration is for.",
|
345
|
-
"format": "choices",
|
346
409
|
"enum": ["staging", "production"],
|
347
410
|
"links": [
|
348
411
|
{
|
349
|
-
"rel": "More information",
|
412
|
+
"rel": "More information on the environment setting",
|
350
413
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#environment"
|
351
414
|
}
|
352
415
|
]
|
@@ -355,18 +418,16 @@
|
|
355
418
|
"type": "string",
|
356
419
|
"title": "Footer language toggle",
|
357
420
|
"description": "This setting controls the type of language toggle to be used in the footer.",
|
358
|
-
"format": "choices",
|
359
421
|
"enum": ["none", "dropdown", "links"],
|
360
422
|
"links": [
|
361
423
|
{
|
362
|
-
"rel": "More information",
|
424
|
+
"rel": "More information on the footer language toggle setting",
|
363
425
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#footer_language_toggle"
|
364
426
|
}
|
365
427
|
]
|
366
428
|
},
|
367
429
|
"footer_menu": {
|
368
430
|
"options": {"collapsed": true},
|
369
|
-
"format": "table",
|
370
431
|
"type": "array",
|
371
432
|
"title": "Footer menu",
|
372
433
|
"description": "The links to display in the footer menu.",
|
@@ -375,7 +436,7 @@
|
|
375
436
|
},
|
376
437
|
"links": [
|
377
438
|
{
|
378
|
-
"rel": "More information",
|
439
|
+
"rel": "More information on the footer menu setting",
|
379
440
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#footer_menu"
|
380
441
|
}
|
381
442
|
]
|
@@ -425,7 +486,7 @@
|
|
425
486
|
},
|
426
487
|
"links": [
|
427
488
|
{
|
428
|
-
"rel": "More information",
|
489
|
+
"rel": "More information on the frontpage cards setting",
|
429
490
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#frontpage_cards"
|
430
491
|
}
|
431
492
|
]
|
@@ -438,7 +499,7 @@
|
|
438
499
|
"$ref": "#/definitions/title_and_description",
|
439
500
|
"links": [
|
440
501
|
{
|
441
|
-
"rel": "More information",
|
502
|
+
"rel": "More information on the frontpage goals grid setting",
|
442
503
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#frontpage_goals_grid"
|
443
504
|
}
|
444
505
|
]
|
@@ -449,7 +510,7 @@
|
|
449
510
|
"description": "This setting can control the heading that appears on the front page. This setting is only used in the frontpage layout.",
|
450
511
|
"links": [
|
451
512
|
{
|
452
|
-
"rel": "More information",
|
513
|
+
"rel": "More information on the frontpage heading setting",
|
453
514
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#frontpage_heading"
|
454
515
|
}
|
455
516
|
]
|
@@ -460,7 +521,7 @@
|
|
460
521
|
"description": "This setting can control the instructions that appear on the front page. This setting is only used in the frontpage layout.",
|
461
522
|
"links": [
|
462
523
|
{
|
463
|
-
"rel": "More information",
|
524
|
+
"rel": "More information on the frontpage instructions setting",
|
464
525
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#frontpage_instructions"
|
465
526
|
}
|
466
527
|
]
|
@@ -473,7 +534,7 @@
|
|
473
534
|
"$ref": "#/definitions/title_and_description",
|
474
535
|
"links": [
|
475
536
|
{
|
476
|
-
"rel": "More information",
|
537
|
+
"rel": "More information on the frontpage introduction banner setting",
|
477
538
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#frontpage_introduction_banner"
|
478
539
|
}
|
479
540
|
]
|
@@ -485,7 +546,7 @@
|
|
485
546
|
"description": "This setting controls the base URL for downloading the imagery for the goals.",
|
486
547
|
"links": [
|
487
548
|
{
|
488
|
-
"rel": "More information",
|
549
|
+
"rel": "More information on the goal image base setting",
|
489
550
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#goal_image_base"
|
490
551
|
}
|
491
552
|
]
|
@@ -496,7 +557,7 @@
|
|
496
557
|
"description": "This setting controls the type of file (the file extension) that will be used for the goal images.",
|
497
558
|
"links": [
|
498
559
|
{
|
499
|
-
"rel": "More information",
|
560
|
+
"rel": "More information on the goal image extension setting",
|
500
561
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#goal_image_extension"
|
501
562
|
}
|
502
563
|
]
|
@@ -509,7 +570,7 @@
|
|
509
570
|
"$ref": "#/definitions/title_and_description",
|
510
571
|
"links": [
|
511
572
|
{
|
512
|
-
"rel": "More information",
|
573
|
+
"rel": "More information on the goals page setting",
|
513
574
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#goals_page"
|
514
575
|
}
|
515
576
|
]
|
@@ -519,18 +580,16 @@
|
|
519
580
|
"title": "Graph color set",
|
520
581
|
"description": "This setting can be used to customize the color set used in the charts.",
|
521
582
|
"examples": [],
|
522
|
-
"format": "choices",
|
523
583
|
"enum": ["default", "sdg", "goal", "custom"],
|
524
584
|
"links": [
|
525
585
|
{
|
526
|
-
"rel": "More information",
|
586
|
+
"rel": "More information on the graph color set setting",
|
527
587
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#graph_color_set"
|
528
588
|
}
|
529
589
|
]
|
530
590
|
},
|
531
591
|
"graph_color_list": {
|
532
592
|
"options": {"collapsed": true},
|
533
|
-
"format": "table",
|
534
593
|
"type": "array",
|
535
594
|
"title": "Graph color list",
|
536
595
|
"description": "This setting can be used to define a set of colors to be used in the charts. This is only used when graph_color_set is 'custom'.",
|
@@ -542,7 +601,7 @@
|
|
542
601
|
},
|
543
602
|
"links": [
|
544
603
|
{
|
545
|
-
"rel": "More information",
|
604
|
+
"rel": "More information on the graph color list setting",
|
546
605
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#graph_color_list"
|
547
606
|
}
|
548
607
|
]
|
@@ -553,7 +612,7 @@
|
|
553
612
|
"description": "This setting can be used to limit the length of the list of colors selected via graph_color_set.",
|
554
613
|
"links": [
|
555
614
|
{
|
556
|
-
"rel": "More information",
|
615
|
+
"rel": "More information on the graph color number setting",
|
557
616
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#graph_color_number"
|
558
617
|
}
|
559
618
|
]
|
@@ -562,11 +621,10 @@
|
|
562
621
|
"type": "string",
|
563
622
|
"title": "Header language toggle",
|
564
623
|
"description": "This setting controls the type of language toggle to be used in the header.",
|
565
|
-
"format": "choices",
|
566
624
|
"enum": ["none", "dropdown", "links"],
|
567
625
|
"links": [
|
568
626
|
{
|
569
|
-
"rel": "More information",
|
627
|
+
"rel": "More information on the header language toggle setting",
|
570
628
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#header_language_toggle"
|
571
629
|
}
|
572
630
|
]
|
@@ -578,7 +636,7 @@
|
|
578
636
|
"format": "checkbox",
|
579
637
|
"links": [
|
580
638
|
{
|
581
|
-
"rel": "More information",
|
639
|
+
"rel": "More information on the hide empty metadata setting",
|
582
640
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#hide_empty_metadata"
|
583
641
|
}
|
584
642
|
]
|
@@ -592,7 +650,6 @@
|
|
592
650
|
},
|
593
651
|
"languages": {
|
594
652
|
"options": {"collapsed": true},
|
595
|
-
"format": "table",
|
596
653
|
"type": "array",
|
597
654
|
"minItems": 1,
|
598
655
|
"title": "Languages",
|
@@ -604,14 +661,13 @@
|
|
604
661
|
},
|
605
662
|
"links": [
|
606
663
|
{
|
607
|
-
"rel": "More information",
|
664
|
+
"rel": "More information on the languages setting",
|
608
665
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#languages"
|
609
666
|
}
|
610
667
|
]
|
611
668
|
},
|
612
669
|
"languages_public": {
|
613
670
|
"options": {"collapsed": true},
|
614
|
-
"format": "table",
|
615
671
|
"type": "array",
|
616
672
|
"title": "Language code overrides",
|
617
673
|
"description": "This setting can be used if you are not happy with any of the standard language codes.",
|
@@ -635,14 +691,13 @@
|
|
635
691
|
},
|
636
692
|
"links": [
|
637
693
|
{
|
638
|
-
"rel": "More information",
|
694
|
+
"rel": "More information on the language override setting",
|
639
695
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#languages_public"
|
640
696
|
}
|
641
697
|
]
|
642
698
|
},
|
643
699
|
"map_layers": {
|
644
700
|
"options": {"collapsed": true},
|
645
|
-
"format": "table",
|
646
701
|
"type": "array",
|
647
702
|
"title": "Map layers",
|
648
703
|
"description": "Configure any number of layers to display on all indicator maps. A minimum of one layer is required to display maps.",
|
@@ -680,7 +735,7 @@
|
|
680
735
|
},
|
681
736
|
"links": [
|
682
737
|
{
|
683
|
-
"rel": "More information",
|
738
|
+
"rel": "More information on the map layers setting",
|
684
739
|
"href": "https://open-sdg.readthedocs.io/en/latest/maps/#map_layers"
|
685
740
|
}
|
686
741
|
]
|
@@ -690,41 +745,18 @@
|
|
690
745
|
"type": "object",
|
691
746
|
"title": "Map options",
|
692
747
|
"description": "Site-wide configuration of map behavior and style.",
|
693
|
-
"default": {
|
694
|
-
"minZoom": 5,
|
695
|
-
"maxZoom": 10,
|
696
|
-
"colorRange": "chroma.brewer.BuGn",
|
697
|
-
"noValueColor": "#f0f0f0",
|
698
|
-
"styleNormal": {
|
699
|
-
"weight": 1,
|
700
|
-
"opacity": 1,
|
701
|
-
"fillOpacity": 0.7,
|
702
|
-
"color": "#888888"
|
703
|
-
},
|
704
|
-
"styleHighlighted": {
|
705
|
-
"weight": 1,
|
706
|
-
"opacity": 1,
|
707
|
-
"fillOpacity": 0.7,
|
708
|
-
"color": "#111111"
|
709
|
-
},
|
710
|
-
"styleStatic": {
|
711
|
-
"weight": 2,
|
712
|
-
"opacity": 1,
|
713
|
-
"fillOpacity": 0,
|
714
|
-
"color": "#172d44",
|
715
|
-
"dashArray": "5,5"
|
716
|
-
}
|
717
|
-
},
|
718
748
|
"properties": {
|
719
749
|
"minZoom": {
|
720
750
|
"title": "Minimum zoom",
|
721
751
|
"type": "integer",
|
722
|
-
"description": "The lowest amount of 'zoom' possible for users."
|
752
|
+
"description": "The lowest amount of 'zoom' possible for users.",
|
753
|
+
"default": 5
|
723
754
|
},
|
724
755
|
"maxZoom": {
|
725
756
|
"title": "Maximum zoom",
|
726
757
|
"type": "integer",
|
727
|
-
"description": "The highest amount of 'zoom' possible for users."
|
758
|
+
"description": "The highest amount of 'zoom' possible for users.",
|
759
|
+
"default": 10
|
728
760
|
},
|
729
761
|
"tileURL": {
|
730
762
|
"title": "Tile URL",
|
@@ -756,9 +788,10 @@
|
|
756
788
|
"type": "string",
|
757
789
|
"title": "Color range",
|
758
790
|
"description": "The color range for the choropleth map.",
|
791
|
+
"default": "chroma.brewer.BuGn",
|
759
792
|
"links": [
|
760
793
|
{
|
761
|
-
"ref": "More information",
|
794
|
+
"ref": "More information on the color range setting",
|
762
795
|
"href": "https://gka.github.io/chroma.js/#chroma-brewer"
|
763
796
|
}
|
764
797
|
]
|
@@ -767,40 +800,56 @@
|
|
767
800
|
"type": "string",
|
768
801
|
"format": "color",
|
769
802
|
"title": "No-value color",
|
770
|
-
"description": "Color for boundaries that have no data."
|
803
|
+
"description": "Color for boundaries that have no data.",
|
804
|
+
"default": "#f0f0f0"
|
771
805
|
},
|
772
806
|
"styleNormal": {
|
773
807
|
"type": "object",
|
774
|
-
"format": "table",
|
775
808
|
"title": "Style (normal)",
|
776
809
|
"description": "Style for boundaries in normal state",
|
777
|
-
"$ref": "#/definitions/map_style"
|
810
|
+
"$ref": "#/definitions/map_style",
|
811
|
+
"default": {
|
812
|
+
"weight": 1,
|
813
|
+
"opacity": 1,
|
814
|
+
"fillOpacity": 0.7,
|
815
|
+
"color": "#888888"
|
816
|
+
}
|
778
817
|
},
|
779
818
|
"styleHighlighted": {
|
780
819
|
"type": "object",
|
781
|
-
"format": "table",
|
782
820
|
"title": "Style (highlighted)",
|
783
821
|
"description": "Style for boundaries in highlighted state",
|
784
|
-
"$ref": "#/definitions/map_style"
|
822
|
+
"$ref": "#/definitions/map_style",
|
823
|
+
"default": {
|
824
|
+
"weight": 1,
|
825
|
+
"opacity": 1,
|
826
|
+
"fillOpacity": 0.7,
|
827
|
+
"color": "#111111"
|
828
|
+
}
|
785
829
|
},
|
786
830
|
"styleStatic": {
|
787
831
|
"type": "object",
|
788
|
-
"format": "table",
|
789
832
|
"title": "Style (static)",
|
790
833
|
"description": "Style for boundaries in static state (map layers using the 'static boundaries' option).",
|
791
|
-
"$ref": "#/definitions/map_style"
|
834
|
+
"$ref": "#/definitions/map_style",
|
835
|
+
"default": {
|
836
|
+
"weight": 2,
|
837
|
+
"opacity": 1,
|
838
|
+
"fillOpacity": 0,
|
839
|
+
"color": "#172d44",
|
840
|
+
"dashArray": "5,5"
|
841
|
+
}
|
792
842
|
}
|
793
843
|
},
|
794
844
|
"links": [
|
795
845
|
{
|
796
|
-
"rel": "More information",
|
846
|
+
"rel": "More information on the map options setting",
|
797
847
|
"href": "https://open-sdg.readthedocs.io/en/latest/maps/#map_options"
|
798
848
|
}
|
799
849
|
]
|
800
850
|
},
|
801
851
|
"menu": {
|
802
852
|
"options": {"collapsed": true},
|
803
|
-
"format": "table",
|
804
853
|
"type": "array",
|
805
854
|
"minItems": 1,
|
806
855
|
"title": "Main menu",
|
@@ -810,7 +859,7 @@
|
|
810
859
|
},
|
811
860
|
"links": [
|
812
861
|
{
|
813
|
-
"rel": "More information",
|
862
|
+
"rel": "More information on the menu setting",
|
814
863
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#menu"
|
815
864
|
}
|
816
865
|
]
|
@@ -822,14 +871,13 @@
|
|
822
871
|
"description": "This setting controls the URL of the 'Edit Metadata' buttons that appear on the staging site's indicator pages.",
|
823
872
|
"links": [
|
824
873
|
{
|
825
|
-
"rel": "More information",
|
874
|
+
"rel": "More information on the metadata edit URL setting",
|
826
875
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#metadata_edit_url"
|
827
876
|
}
|
828
877
|
]
|
829
878
|
},
|
830
879
|
"metadata_tabs": {
|
831
880
|
"options": {"collapsed": true},
|
832
|
-
"format": "table",
|
833
881
|
"type": "array",
|
834
882
|
"title": "Metadata tabs",
|
835
883
|
"description": "This setting can control the metadata tabs which appear on the indicator pages.",
|
@@ -859,7 +907,7 @@
|
|
859
907
|
},
|
860
908
|
"links": [
|
861
909
|
{
|
862
|
-
"rel": "More information",
|
910
|
+
"rel": "More information on the metadata tabs setting",
|
863
911
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#metadata_tabs"
|
864
912
|
}
|
865
913
|
]
|
@@ -879,7 +927,7 @@
|
|
879
927
|
},
|
880
928
|
"links": [
|
881
929
|
{
|
882
|
-
"rel": "More information",
|
930
|
+
"rel": "More information on the news setting",
|
883
931
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#news"
|
884
932
|
}
|
885
933
|
]
|
@@ -890,7 +938,7 @@
|
|
890
938
|
"description": "This setting can be used to control the text of the tab containing non-global metadata.",
|
891
939
|
"links": [
|
892
940
|
{
|
893
|
-
"rel": "More information",
|
941
|
+
"rel": "More information on the non-global metadata setting",
|
894
942
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#non_global_metadata"
|
895
943
|
}
|
896
944
|
]
|
@@ -902,7 +950,7 @@
|
|
902
950
|
"description": "Specify the URL of your published data repository.",
|
903
951
|
"links": [
|
904
952
|
{
|
905
|
-
"rel": "More information",
|
953
|
+
"rel": "More information on the remote data prefix setting",
|
906
954
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#remote_data_prefix"
|
907
955
|
}
|
908
956
|
]
|
@@ -912,17 +960,28 @@
|
|
912
960
|
"type": "object",
|
913
961
|
"title": "Reporting status",
|
914
962
|
"description": "This setting is used in the 'reportingstatus' layout. It can display a title and description above the reporting status page.",
|
915
|
-
"
|
963
|
+
"allOf": [
|
964
|
+
{ "$ref": "#/definitions/title_and_description" },
|
965
|
+
{
|
966
|
+
"properties": {
|
967
|
+
"disaggregation_tabs": {
|
968
|
+
"title": "Disaggregation tabs",
|
969
|
+
"type": "boolean",
|
970
|
+
"description": "Whether or not to display disaggregation status tabs. If you enable this setting, you should also use 'expected_disaggregations' in your indicator configuration, in order to provide the disaggregation status report with useful metrics.",
|
971
|
+
"format": "checkbox"
|
972
|
+
}
|
973
|
+
}
|
974
|
+
}
|
975
|
+
],
|
916
976
|
"links": [
|
917
977
|
{
|
918
|
-
"rel": "More information",
|
978
|
+
"rel": "More information on the reporting status setting",
|
919
979
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#reporting_status"
|
920
980
|
}
|
921
981
|
]
|
922
982
|
},
|
923
983
|
"search_index_boost": {
|
924
984
|
"options": {"collapsed": true},
|
925
|
-
"format": "table",
|
926
985
|
"type": "array",
|
927
986
|
"title": "Search index boost",
|
928
987
|
"description": "This setting can be used to give a boost to one or more fields in the search index.",
|
@@ -946,14 +1005,13 @@
|
|
946
1005
|
},
|
947
1006
|
"links": [
|
948
1007
|
{
|
949
|
-
"rel": "More information",
|
1008
|
+
"rel": "More information on the search index boost setting",
|
950
1009
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#search_index_boost"
|
951
1010
|
}
|
952
1011
|
]
|
953
1012
|
},
|
954
1013
|
"search_index_extra_fields": {
|
955
1014
|
"options": {"collapsed": true},
|
956
|
-
"format": "table",
|
957
1015
|
"type": "array",
|
958
1016
|
"title": "Search index extra fields",
|
959
1017
|
"description": "This setting can be used to index additional metadata fields in your indicators, for the purposes of affecting the site-wide search.",
|
@@ -963,7 +1021,7 @@
|
|
963
1021
|
},
|
964
1022
|
"links": [
|
965
1023
|
{
|
966
|
-
"rel": "More information",
|
1024
|
+
"rel": "More information on the search index extra fields setting",
|
967
1025
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#search_index_extra_fields"
|
968
1026
|
}
|
969
1027
|
]
|
@@ -975,7 +1033,7 @@
|
|
975
1033
|
"format": "checkbox",
|
976
1034
|
"links": [
|
977
1035
|
{
|
978
|
-
"rel": "More information",
|
1036
|
+
"rel": "More information on the series toggle setting",
|
979
1037
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#series_toggle"
|
980
1038
|
}
|
981
1039
|
]
|
@@ -986,7 +1044,7 @@
|
|
986
1044
|
"description": "This setting creates a ShareThis widget along the left side of every page. It should be the property id for your ShareThis account.",
|
987
1045
|
"links": [
|
988
1046
|
{
|
989
|
-
"rel": "More information",
|
1047
|
+
"rel": "More information on the sharethis setting",
|
990
1048
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#sharethis_property"
|
991
1049
|
}
|
992
1050
|
]
|
@@ -1005,7 +1063,7 @@
|
|
1005
1063
|
"format": "checkbox",
|
1006
1064
|
"links": [
|
1007
1065
|
{
|
1008
|
-
"rel": "More information",
|
1066
|
+
"rel": "More information on the validate indicator config setting",
|
1009
1067
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#validate_indicator_config"
|
1010
1068
|
}
|
1011
1069
|
]
|
@@ -1017,7 +1075,7 @@
|
|
1017
1075
|
"format": "checkbox",
|
1018
1076
|
"links": [
|
1019
1077
|
{
|
1020
|
-
"rel": "More information",
|
1078
|
+
"rel": "More information on the validate site config setting",
|
1021
1079
|
"href": "https://open-sdg.readthedocs.io/en/latest/configuration/#validate_site_config"
|
1022
1080
|
}
|
1023
1081
|
]
|
@@ -1066,12 +1124,10 @@
|
|
1066
1124
|
"properties": {
|
1067
1125
|
"title": {
|
1068
1126
|
"type": "string",
|
1069
|
-
"minLength": 1,
|
1070
1127
|
"title": "Title"
|
1071
1128
|
},
|
1072
1129
|
"description": {
|
1073
1130
|
"type": "string",
|
1074
|
-
"minLength": 1,
|
1075
1131
|
"title": "Description",
|
1076
1132
|
"format": "markdown"
|
1077
1133
|
}
|
@@ -1116,7 +1172,6 @@
|
|
1116
1172
|
"description": "Set options for any dropdown lists.",
|
1117
1173
|
"items": {
|
1118
1174
|
"type": "object",
|
1119
|
-
"format": "table",
|
1120
1175
|
"title": "Dropdown list",
|
1121
1176
|
"properties": {
|
1122
1177
|
"jsonschema": {
|
@@ -1126,7 +1181,6 @@
|
|
1126
1181
|
},
|
1127
1182
|
"values": {
|
1128
1183
|
"type": "array",
|
1129
|
-
"format": "table",
|
1130
1184
|
"title": "Values",
|
1131
1185
|
"description": "List of dropdown option values",
|
1132
1186
|
"items": {
|
@@ -1136,7 +1190,6 @@
|
|
1136
1190
|
},
|
1137
1191
|
"labels": {
|
1138
1192
|
"type": "array",
|
1139
|
-
"format": "table",
|
1140
1193
|
"title": "Labels",
|
1141
1194
|
"description": "Optional list of dropdown option labels. Should correspond to the values above.",
|
1142
1195
|
"items": {
|