wai-website-theme 0.1.6 → 1.2

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.
Files changed (54) hide show
  1. checksums.yaml +5 -5
  2. data/_includes/backtotop.html +1 -0
  3. data/_includes/body-class.html +1 -1
  4. data/_includes/box.html +2 -0
  5. data/_includes/different.html +1 -0
  6. data/_includes/doc-note-msg.html +10 -0
  7. data/_includes/excol.html +13 -12
  8. data/_includes/external.html +1 -0
  9. data/_includes/feedback-box.html +62 -0
  10. data/_includes/footer.html +55 -27
  11. data/_includes/head.html +8 -9
  12. data/_includes/header.html +127 -30
  13. data/_includes/icon.html +6 -6
  14. data/_includes/img.html +1 -1
  15. data/_includes/menuitem.html +13 -0
  16. data/_includes/navlist.html +9 -21
  17. data/_includes/path.html +6 -0
  18. data/_includes/prevnext.html +18 -16
  19. data/_includes/resources.html +3 -3
  20. data/_includes/secondarynav.html +70 -0
  21. data/_includes/sidenav.html +42 -48
  22. data/_includes/sitemap.html +29 -0
  23. data/_includes/video-link.html +5 -0
  24. data/_includes/video-player.html +12 -10
  25. data/_layouts/default.html +30 -10
  26. data/_layouts/home.html +17 -4
  27. data/_layouts/news.html +26 -8
  28. data/_layouts/policy.html +23 -9
  29. data/_layouts/sidenav.html +28 -9
  30. data/_layouts/sidenavsidebar.html +29 -9
  31. data/assets/css/style.css +1 -4407
  32. data/assets/css/style.css.map +1 -1
  33. data/assets/fonts/notosans-bold-subset.woff +0 -0
  34. data/assets/fonts/notosans-bold-subset.woff2 +0 -0
  35. data/assets/fonts/notosans-bolditalic-subset.woff +0 -0
  36. data/assets/fonts/notosans-bolditalic-subset.woff2 +0 -0
  37. data/assets/fonts/notosans-italic-subset.woff +0 -0
  38. data/assets/fonts/notosans-italic-subset.woff2 +0 -0
  39. data/assets/fonts/notosans-regular-subset.woff +0 -0
  40. data/assets/fonts/notosans-regular-subset.woff2 +0 -0
  41. data/assets/images/icons.svg +36 -1
  42. data/assets/images/social-sharing-default.jpg +0 -0
  43. data/assets/images/video-mask-16-9.svg +1 -0
  44. data/assets/images/video-mask-4-3.svg +1 -0
  45. data/assets/images/video-still-accessibility-intro-16-9.jpg +0 -0
  46. data/assets/scripts/details4everybody.js +153 -0
  47. data/assets/scripts/main.js +279 -64
  48. data/assets/search/tipuesearch.js +608 -0
  49. data/assets/search/tipuesearch_content.js +85 -0
  50. data/assets/search/tipuesearch_set.js +74 -0
  51. metadata +29 -6
  52. data/assets/images/.DS_Store +0 -0
  53. data/assets/images/teaser-image@1x.jpg +0 -0
  54. data/assets/images/teaser-image@2x.jpg +0 -0
@@ -0,0 +1,85 @@
1
+ ---
2
+ # Content index for Tipue Search
3
+ # https://github.com/jekylltools/jekyll-tipue-search
4
+ # v1.4
5
+ layout: null
6
+ ---
7
+ {%- assign index = "" | split: "" -%}
8
+ {%- assign excluded_files = site.tipue_search.exclude.files -%}
9
+ {%- assign excluded_tags = site.tipue_search.exclude.tags | uniq -%}
10
+ {%- assign excluded_categories = site.tipue_search.exclude.categories | uniq -%}
11
+ {%- assign excluded_taxonomies = excluded_tags | concat: excluded_categories | uniq -%}
12
+ {%- for post in site.posts -%}
13
+ {%- unless post.exclude_from_search == true or excluded_files contains post.path -%}
14
+ {%- assign has_excluded_taxonomy = false -%}
15
+ {%- for tag in post.tags -%}
16
+ {%- if excluded_taxonomies contains tag -%}
17
+ {%- assign has_excluded_taxonomy = true -%}
18
+ {%- endif -%}
19
+ {%- endfor -%}
20
+ {%- for category in post.categories -%}
21
+ {%- if excluded_taxonomies contains category -%}
22
+ {%- assign has_excluded_taxonomy = true -%}
23
+ {%- endif -%}
24
+ {%- endfor -%}
25
+ {%- unless has_excluded_taxonomy == true -%}
26
+ {%- assign index = index | push: post | uniq -%}
27
+ {%- endunless -%}
28
+ {%- endunless -%}
29
+ {%- endfor -%}
30
+ {%- if site.tipue_search.include.pages == true -%}
31
+ {%- for page in site.html_pages -%}
32
+ {%- unless page.exclude_from_search == true or excluded_files contains page.path -%}
33
+ {%- assign has_excluded_taxonomy = false -%}
34
+ {%- for tag in page.tags -%}
35
+ {%- if excluded_taxonomies contains tag -%}
36
+ {%- assign has_excluded_taxonomy = true -%}
37
+ {%- endif -%}
38
+ {%- endfor -%}
39
+ {%- for category in page.categories -%}
40
+ {%- if excluded_taxonomies contains category -%}
41
+ {%- assign has_excluded_taxonomy = true -%}
42
+ {%- endif -%}
43
+ {%- endfor -%}
44
+ {%- unless has_excluded_taxonomy == true -%}
45
+ {%- assign index = index | push: page | uniq -%}
46
+ {%- endunless -%}
47
+ {%- endunless -%}
48
+ {%- endfor -%}
49
+ {%- endif -%}
50
+ {%- for collection in site.tipue_search.include.collections -%}
51
+ {%- assign documents = site.documents | where:"collection",collection -%}
52
+ {%- for document in documents -%}
53
+ {%- unless document.exclude_from_search == true or excluded_files contains document.path -%}
54
+ {%- assign has_excluded_taxonomy = false -%}
55
+ {%- for tag in document.tags -%}
56
+ {%- if excluded_taxonomies contains tag -%}
57
+ {%- assign has_excluded_taxonomy = true -%}
58
+ {%- endif -%}
59
+ {%- endfor -%}
60
+ {%- for category in document.categories -%}
61
+ {%- if excluded_taxonomies contains category -%}
62
+ {%- assign has_excluded_taxonomy = true -%}
63
+ {%- endif -%}
64
+ {%- endfor -%}
65
+ {%- unless has_excluded_taxonomy == true -%}
66
+ {%- assign index = index | push: document | uniq -%}
67
+ {%- endunless -%}
68
+ {%- endunless -%}
69
+ {%- endfor -%}
70
+ {%- endfor -%}
71
+ var tipuesearch = {"pages": [
72
+ {%- for document in index -%}
73
+ {%- assign tags = document.tags | uniq -%}
74
+ {%- assign categories = document.categories | uniq -%}
75
+ {%- assign taxonomies = tags | concat: categories | uniq -%}
76
+ {%- unless document.url == null -%}
77
+ {
78
+ "title": {{ document.title | smartify | strip_html | normalize_whitespace | jsonify }},
79
+ "text": {{ document.content | strip_html | normalize_whitespace | jsonify }},
80
+ "tags": {{ taxonomies | join: " " | normalize_whitespace | jsonify }},
81
+ "url": {{ document.url | relative_url | prepend: site.github.url | jsonify }}
82
+ }{%- unless forloop.last -%},{%- endunless -%}
83
+ {%- endunless -%}
84
+ {%- endfor -%}
85
+ ]};
@@ -0,0 +1,74 @@
1
+
2
+ /*
3
+ Tipue Search 6.1
4
+ Copyright (c) 2017 Tipue
5
+ Tipue Search is released under the MIT License
6
+ http://www.tipue.com/search
7
+ */
8
+
9
+
10
+ /*
11
+ Stop words
12
+ Stop words list from http://www.ranks.nl/stopwords
13
+ */
14
+
15
+ var tipuesearch_stop_words = ["a", "about", "above", "after", "again", "against", "all", "am", "an", "and", "any", "are", "aren't", "as", "at", "be", "because", "been", "before", "being", "below", "between", "both", "but", "by", "can't", "cannot", "could", "couldn't", "did", "didn't", "do", "does", "doesn't", "doing", "don't", "down", "during", "each", "few", "for", "from", "further", "had", "hadn't", "has", "hasn't", "have", "haven't", "having", "he", "he'd", "he'll", "he's", "her", "here", "here's", "hers", "herself", "him", "himself", "his", "how", "how's", "i", "i'd", "i'll", "i'm", "i've", "if", "in", "into", "is", "isn't", "it", "it's", "its", "itself", "let's", "me", "more", "most", "mustn't", "my", "myself", "no", "nor", "not", "of", "off", "on", "once", "only", "or", "other", "ought", "our", "ours", "ourselves", "out", "over", "own", "same", "shan't", "she", "she'd", "she'll", "she's", "should", "shouldn't", "so", "some", "such", "than", "that", "that's", "the", "their", "theirs", "them", "themselves", "then", "there", "there's", "these", "they", "they'd", "they'll", "they're", "they've", "this", "those", "through", "to", "too", "under", "until", "up", "very", "was", "wasn't", "we", "we'd", "we'll", "we're", "we've", "were", "weren't", "what", "what's", "when", "when's", "where", "where's", "which", "while", "who", "who's", "whom", "why", "why's", "with", "won't", "would", "wouldn't", "you", "you'd", "you'll", "you're", "you've", "your", "yours", "yourself", "yourselves"];
16
+
17
+
18
+ // Word replace
19
+
20
+ var tipuesearch_replace = {'words': [
21
+ ]};
22
+
23
+
24
+ // Weighting
25
+
26
+ var tipuesearch_weight = {'weight': [
27
+ ]};
28
+
29
+
30
+ // Illogical stemming
31
+
32
+ var tipuesearch_stem = {'words': [
33
+ {'word': 'e-mail', 'stem': 'email'},
34
+ {'word': 'javascript', 'stem': 'jquery'},
35
+ {'word': 'javascript', 'stem': 'js'}
36
+ ]};
37
+
38
+
39
+ // Related searches
40
+
41
+ var tipuesearch_related = {'searches': [
42
+ {'search': 'tipue', 'related': 'Tipue Search'},
43
+ {'search': 'tipue', 'before': 'Tipue Search', 'related': 'Getting Started'},
44
+ {'search': 'tipue', 'before': 'Tipue', 'related': 'jQuery'},
45
+ {'search': 'tipue', 'before': 'Tipue', 'related': 'Blog'}
46
+ ]};
47
+
48
+
49
+ // Internal strings
50
+
51
+ var tipuesearch_string_1 = 'No title';
52
+ var tipuesearch_string_2 = 'Showing results for';
53
+ var tipuesearch_string_3 = 'Search instead for';
54
+ var tipuesearch_string_4 = '1 result';
55
+ var tipuesearch_string_5 = 'results';
56
+ var tipuesearch_string_6 = 'Back';
57
+ var tipuesearch_string_7 = 'More';
58
+ var tipuesearch_string_8 = 'Nothing found.';
59
+ var tipuesearch_string_9 = 'Common words are largely ignored.';
60
+ var tipuesearch_string_10 = 'Search too short';
61
+ var tipuesearch_string_11 = 'Should be one character or more.';
62
+ var tipuesearch_string_12 = 'Should be';
63
+ var tipuesearch_string_13 = 'characters or more.';
64
+ var tipuesearch_string_14 = 'seconds';
65
+ var tipuesearch_string_15 = 'Searches related to';
66
+
67
+
68
+ // Internals
69
+
70
+
71
+ // Timer for showTime
72
+
73
+ var startTimer = new Date().getTime();
74
+
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wai-website-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: '1.2'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Eggert
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-12 00:00:00.000000000 Z
11
+ date: 2019-01-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -65,14 +65,20 @@ files:
65
65
  - _data/techniques.yml
66
66
  - _data/wcag.yml
67
67
  - _includes/.DS_Store
68
+ - _includes/backtotop.html
68
69
  - _includes/body-class.html
69
70
  - _includes/box.html
71
+ - _includes/different.html
72
+ - _includes/doc-note-msg.html
70
73
  - _includes/excol.html
74
+ - _includes/external.html
75
+ - _includes/feedback-box.html
71
76
  - _includes/footer.html
72
77
  - _includes/head.html
73
78
  - _includes/header.html
74
79
  - _includes/icon.html
75
80
  - _includes/img.html
81
+ - _includes/menuitem.html
76
82
  - _includes/multilang-list-policy-links.html
77
83
  - _includes/multilang-list.html
78
84
  - _includes/multilang-policy-title.html
@@ -80,11 +86,15 @@ files:
80
86
  - _includes/multilang-title.html
81
87
  - _includes/navlist.html
82
88
  - _includes/notes.html
89
+ - _includes/path.html
83
90
  - _includes/prevnext.html
84
91
  - _includes/resources.html
92
+ - _includes/secondarynav.html
85
93
  - _includes/sidenav.html
86
94
  - _includes/sidenote.html
95
+ - _includes/sitemap.html
87
96
  - _includes/toc.html
97
+ - _includes/video-link.html
88
98
  - _includes/video-player.html
89
99
  - _layouts/default.html
90
100
  - _layouts/home.html
@@ -211,26 +221,39 @@ files:
211
221
  - assets/fonts/anonymouspro-italic.woff2
212
222
  - assets/fonts/anonymouspro-regular.woff
213
223
  - assets/fonts/anonymouspro-regular.woff2
224
+ - assets/fonts/notosans-bold-subset.woff
225
+ - assets/fonts/notosans-bold-subset.woff2
214
226
  - assets/fonts/notosans-bold.woff
215
227
  - assets/fonts/notosans-bold.woff2
228
+ - assets/fonts/notosans-bolditalic-subset.woff
229
+ - assets/fonts/notosans-bolditalic-subset.woff2
216
230
  - assets/fonts/notosans-bolditalic.woff
217
231
  - assets/fonts/notosans-bolditalic.woff2
232
+ - assets/fonts/notosans-italic-subset.woff
233
+ - assets/fonts/notosans-italic-subset.woff2
218
234
  - assets/fonts/notosans-italic.woff
219
235
  - assets/fonts/notosans-italic.woff2
236
+ - assets/fonts/notosans-regular-subset.woff
237
+ - assets/fonts/notosans-regular-subset.woff2
220
238
  - assets/fonts/notosans-regular.woff
221
239
  - assets/fonts/notosans-regular.woff2
222
- - assets/images/.DS_Store
223
240
  - assets/images/Shape.svg
224
241
  - assets/images/icon-related-content.svg
225
242
  - assets/images/icons.svg
226
243
  - assets/images/inline.png
227
- - assets/images/teaser-image@1x.jpg
228
- - assets/images/teaser-image@2x.jpg
244
+ - assets/images/social-sharing-default.jpg
245
+ - assets/images/video-mask-16-9.svg
246
+ - assets/images/video-mask-4-3.svg
247
+ - assets/images/video-still-accessibility-intro-16-9.jpg
229
248
  - assets/images/w3c.sketch
230
249
  - assets/images/w3c.svg
250
+ - assets/scripts/details4everybody.js
231
251
  - assets/scripts/jquery.min.js
232
252
  - assets/scripts/main.js
233
253
  - assets/scripts/svg4everybody.js
254
+ - assets/search/tipuesearch.js
255
+ - assets/search/tipuesearch_content.js
256
+ - assets/search/tipuesearch_set.js
234
257
  homepage: https://github.com/w3c/wai-website-theme
235
258
  licenses:
236
259
  - All Rights Reserved
@@ -251,7 +274,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
251
274
  version: '0'
252
275
  requirements: []
253
276
  rubyforge_project:
254
- rubygems_version: 2.6.14
277
+ rubygems_version: 2.7.6
255
278
  signing_key:
256
279
  specification_version: 4
257
280
  summary: This is the theme for the new W3C WAI website
Binary file
Binary file
Binary file