jekyll-open-sdg-plugins 1.2.0.pre.beta4 → 1.2.0.pre.beta5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0a13b75f8a6bee0ac35a81bd34f1f5777adbef3892b90642d6b5d3f7a02a2cd5
4
- data.tar.gz: cd76e70a5722c7b988bd88b0e33278d0221591e17424169e38aad82186075b11
3
+ metadata.gz: 55f3d80d4acc19d67bb4d70f17c1297f04ec33d313e7a26e34a2f82e63c8c91c
4
+ data.tar.gz: 524cf624a527082236c885139cc0b2582c8b9ace8cf7d57292e2c74e8e076ebe
5
5
  SHA512:
6
- metadata.gz: 8a81989072531a863547ba9ce95f213ffa13231f3f2c3cac1a70c2f0a779f2c23c8ef7de7eb507a81a808d076e0e2b7d59108c9d24617c3968d68f88c5d12a3f
7
- data.tar.gz: e7d5024aea9d3de0c5a1edabb4d8fb5809ff608b74f1ac9d9af2f17458b1a484e8be391edb3566dd97a03c479ae4e6ca4de7595c6326094d3e95e4191de999c6
6
+ metadata.gz: d7da9b8f7fb2399ec8de5b90866fe7fab567ac4feeba5f4a91f6c4a7e550d498506caf649b6153c13befe51bcc80d71fc2da22ba74f62ac45e4cb47dfb246ba1
7
+ data.tar.gz: 2497c3cfec27dd90cab528becda64da55f14521f6e5cfbfb0b6399df14072d96cd930e8675b6c8d5959d850c5c2b658c31da4510c6ad1515d3c88f61399b41c5
@@ -109,7 +109,7 @@ module JekyllOpenSdgPlugins
109
109
  @site = site
110
110
  @base = base
111
111
 
112
- index_files = (!page.key?('filename') or page['filename'] == 'index.html')
112
+ index_files = (!page.key?('filename') or page['filename'] == 'index.html' or page['filename'] == '')
113
113
  @dir = index_files ? File.join(dir, '/') : dir
114
114
  @name = index_files ? 'index.html' : page['filename']
115
115
 
@@ -184,6 +184,23 @@
184
184
  }
185
185
  ]
186
186
  },
187
+ "expected_disaggregations": {
188
+ "options": {"collapsed": true},
189
+ "format": "table",
190
+ "type": "array",
191
+ "title": "Expected disaggregations",
192
+ "description": "An optional list of disaggregations (ie, data column names) to use when calculating the disaggregation status statistics.",
193
+ "items": {
194
+ "type": "string",
195
+ "title": "Expected disaggregation"
196
+ },
197
+ "links": [
198
+ {
199
+ "rel": "More information on the expected disaggregation setting",
200
+ "href": "https://open-sdg.readthedocs.io/en/latest/metadata-format/#recommended-special-fields"
201
+ }
202
+ ]
203
+ },
187
204
  "graph_annotations": {
188
205
  "options": {"collapsed": true},
189
206
  "type": "array",
@@ -739,41 +739,18 @@
739
739
  "type": "object",
740
740
  "title": "Map options",
741
741
  "description": "Site-wide configuration of map behavior and style.",
742
- "default": {
743
- "minZoom": 5,
744
- "maxZoom": 10,
745
- "colorRange": "chroma.brewer.BuGn",
746
- "noValueColor": "#f0f0f0",
747
- "styleNormal": {
748
- "weight": 1,
749
- "opacity": 1,
750
- "fillOpacity": 0.7,
751
- "color": "#888888"
752
- },
753
- "styleHighlighted": {
754
- "weight": 1,
755
- "opacity": 1,
756
- "fillOpacity": 0.7,
757
- "color": "#111111"
758
- },
759
- "styleStatic": {
760
- "weight": 2,
761
- "opacity": 1,
762
- "fillOpacity": 0,
763
- "color": "#172d44",
764
- "dashArray": "5,5"
765
- }
766
- },
767
742
  "properties": {
768
743
  "minZoom": {
769
744
  "title": "Minimum zoom",
770
745
  "type": "integer",
771
- "description": "The lowest amount of 'zoom' possible for users."
746
+ "description": "The lowest amount of 'zoom' possible for users.",
747
+ "default": 5
772
748
  },
773
749
  "maxZoom": {
774
750
  "title": "Maximum zoom",
775
751
  "type": "integer",
776
- "description": "The highest amount of 'zoom' possible for users."
752
+ "description": "The highest amount of 'zoom' possible for users.",
753
+ "default": 10
777
754
  },
778
755
  "tileURL": {
779
756
  "title": "Tile URL",
@@ -805,6 +782,7 @@
805
782
  "type": "string",
806
783
  "title": "Color range",
807
784
  "description": "The color range for the choropleth map.",
785
+ "default": "chroma.brewer.BuGn",
808
786
  "links": [
809
787
  {
810
788
  "ref": "More information on the color range setting",
@@ -816,28 +794,48 @@
816
794
  "type": "string",
817
795
  "format": "color",
818
796
  "title": "No-value color",
819
- "description": "Color for boundaries that have no data."
797
+ "description": "Color for boundaries that have no data.",
798
+ "default": "#f0f0f0"
820
799
  },
821
800
  "styleNormal": {
822
801
  "type": "object",
823
802
  "format": "table",
824
803
  "title": "Style (normal)",
825
804
  "description": "Style for boundaries in normal state",
826
- "$ref": "#/definitions/map_style"
805
+ "$ref": "#/definitions/map_style",
806
+ "default": {
807
+ "weight": 1,
808
+ "opacity": 1,
809
+ "fillOpacity": 0.7,
810
+ "color": "#888888"
811
+ }
827
812
  },
828
813
  "styleHighlighted": {
829
814
  "type": "object",
830
815
  "format": "table",
831
816
  "title": "Style (highlighted)",
832
817
  "description": "Style for boundaries in highlighted state",
833
- "$ref": "#/definitions/map_style"
818
+ "$ref": "#/definitions/map_style",
819
+ "default": {
820
+ "weight": 1,
821
+ "opacity": 1,
822
+ "fillOpacity": 0.7,
823
+ "color": "#111111"
824
+ }
834
825
  },
835
826
  "styleStatic": {
836
827
  "type": "object",
837
828
  "format": "table",
838
829
  "title": "Style (static)",
839
830
  "description": "Style for boundaries in static state (map layers using the 'static boundaries' option).",
840
- "$ref": "#/definitions/map_style"
831
+ "$ref": "#/definitions/map_style",
832
+ "default": {
833
+ "weight": 2,
834
+ "opacity": 1,
835
+ "fillOpacity": 0,
836
+ "color": "#172d44",
837
+ "dashArray": "5,5"
838
+ }
841
839
  }
842
840
  },
843
841
  "links": [
@@ -1115,12 +1113,10 @@
1115
1113
  "properties": {
1116
1114
  "title": {
1117
1115
  "type": "string",
1118
- "minLength": 1,
1119
1116
  "title": "Title"
1120
1117
  },
1121
1118
  "description": {
1122
1119
  "type": "string",
1123
- "minLength": 1,
1124
1120
  "title": "Description",
1125
1121
  "format": "markdown"
1126
1122
  }
@@ -1,3 +1,3 @@
1
1
  module JekyllOpenSdgPlugins
2
- VERSION = "1.2.0-beta4".freeze
2
+ VERSION = "1.2.0-beta5".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-open-sdg-plugins
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0.pre.beta4
4
+ version: 1.2.0.pre.beta5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brock Fanning
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-11 00:00:00.000000000 Z
11
+ date: 2020-12-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll