linaro-jekyll-theme 4.1.6 → 4.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/_config.yml +20 -0
  3. data/_data/nav.yml +18 -3
  4. data/_data/picture.yml +35 -5
  5. data/_data/sticky_tab_bar.yml +24 -0
  6. data/_data/universal_nav.yml +23 -10
  7. data/_includes/blog/post_search_fess.html +11 -0
  8. data/_includes/components/breadcrumb.html +5 -2
  9. data/_includes/components/cookie_manager.html +2 -2
  10. data/_includes/components/github_edit.html +5 -5
  11. data/_includes/components/head.html +4 -2
  12. data/_includes/components/jumbotron.html +30 -11
  13. data/_includes/components/sticky_tab_bar.html +76 -0
  14. data/_includes/js_bundles/vendor.html +1 -0
  15. data/_includes/nav/nav.html +24 -14
  16. data/_includes/nav/universal_nav.html +39 -8
  17. data/_layouts/documentation.html +19 -0
  18. data/_layouts/flow.html +3 -0
  19. data/_sass/app/overrides.scss +27 -9
  20. data/_sass/core.scss +2 -0
  21. data/_sass/core/blog.scss +6 -1
  22. data/_sass/core/breadcrumb.scss +36 -13
  23. data/_sass/core/carousel-header.scss +53 -61
  24. data/_sass/core/cookies.scss +104 -90
  25. data/_sass/core/documentation.scss +39 -0
  26. data/_sass/core/flow.scss +5 -0
  27. data/_sass/core/fontello.scss +180 -45
  28. data/_sass/core/footer.scss +58 -53
  29. data/_sass/core/jumbotron.scss +32 -31
  30. data/_sass/core/navbar.scss +171 -58
  31. data/_sass/core/sticky_tab_bar.scss +35 -0
  32. data/_sass/core/theme.scss +78 -46
  33. data/assets/fonts/fontello/fontello.eot +0 -0
  34. data/assets/fonts/fontello/fontello.svg +34 -0
  35. data/assets/fonts/fontello/fontello.ttf +0 -0
  36. data/assets/fonts/fontello/fontello.woff +0 -0
  37. data/assets/fonts/fontello/fontello.woff2 +0 -0
  38. data/assets/images/breadcrumb-banner.png +0 -0
  39. data/assets/js/app/main.js +156 -24
  40. data/assets/js/vendor/ofi.js +132 -0
  41. metadata +26 -19
  42. data/_includes/sticky-tab-bar.html +0 -61
Binary file
@@ -6,6 +6,14 @@
6
6
  <font id="fontello" horiz-adv-x="1000" >
7
7
  <font-face font-family="fontello" font-weight="400" font-stretch="normal" units-per-em="1000" ascent="850" descent="-150" />
8
8
  <missing-glyph horiz-adv-x="1000" />
9
+ <glyph glyph-name="cancel" unicode="&#x2715;" d="M724 112q0-22-15-38l-76-76q-16-15-38-15t-38 15l-164 165-164-165q-16-15-38-15t-38 15l-76 76q-16 16-16 38t16 38l164 164-164 164q-16 16-16 38t16 38l76 76q16 16 38 16t38-16l164-164 164 164q16 16 38 16t38-16l76-76q15-15 15-38t-15-38l-164-164 164-164q15-15 15-38z" horiz-adv-x="785.7" />
10
+
11
+ <glyph glyph-name="cancel-circled" unicode="&#x2716;" d="M641 224q0 14-10 25l-101 101 101 101q10 11 10 25 0 15-10 26l-51 50q-10 11-25 11-15 0-25-11l-101-101-101 101q-11 11-25 11-16 0-26-11l-50-50q-11-11-11-26 0-14 11-25l101-101-101-101q-11-11-11-25 0-15 11-26l50-50q10-11 26-11 14 0 25 11l101 101 101-101q10-11 25-11 15 0 25 11l51 50q10 11 10 26z m216 126q0-117-57-215t-156-156-215-58-216 58-155 156-58 215 58 215 155 156 216 58 215-58 156-156 57-215z" horiz-adv-x="857.1" />
12
+
13
+ <glyph glyph-name="left-open" unicode="&#xe75d;" d="M654 682l-297-296 297-297q10-10 10-25t-10-25l-93-93q-11-10-25-10t-25 10l-414 415q-11 10-11 25t11 25l414 414q10 11 25 11t25-11l93-93q10-10 10-25t-10-25z" horiz-adv-x="714.3" />
14
+
15
+ <glyph glyph-name="right-open" unicode="&#xe75e;" d="M618 361l-414-415q-11-10-25-10t-25 10l-93 93q-11 11-11 25t11 25l296 297-296 296q-11 11-11 25t11 25l93 93q10 11 25 11t25-11l414-414q10-11 10-25t-10-25z" horiz-adv-x="714.3" />
16
+
9
17
  <glyph glyph-name="search" unicode="&#xe800;" d="M643 386q0 103-73 176t-177 74-177-74-73-176 73-177 177-73 177 73 73 177z m286-465q0-29-22-50t-50-21q-30 0-50 21l-191 191q-100-69-223-69-80 0-153 31t-125 84-84 125-31 153 31 152 84 126 125 84 153 31 153-31 125-84 84-126 31-152q0-123-69-223l191-191q21-21 21-51z" horiz-adv-x="928.6" />
10
18
 
11
19
  <glyph glyph-name="stop" unicode="&#xe801;" d="M857 743v-786q0-14-10-25t-26-11h-785q-15 0-25 11t-11 25v786q0 14 11 25t25 11h785q15 0 26-11t10-25z" horiz-adv-x="857.1" />
@@ -42,12 +50,32 @@
42
50
 
43
51
  <glyph glyph-name="link-ext" unicode="&#xf08e;" d="M786 332v-178q0-67-47-114t-114-47h-464q-67 0-114 47t-47 114v464q0 66 47 113t114 48h393q7 0 12-5t5-13v-36q0-8-5-13t-12-5h-393q-37 0-63-26t-27-63v-464q0-37 27-63t63-27h464q37 0 63 27t26 63v178q0 8 5 13t13 5h36q8 0 13-5t5-13z m214 482v-285q0-15-11-25t-25-11-25 11l-98 98-364-364q-5-6-13-6t-12 6l-64 64q-6 5-6 12t6 13l364 364-98 98q-11 11-11 25t11 25 25 11h285q15 0 25-11t11-25z" horiz-adv-x="1000" />
44
52
 
53
+ <glyph glyph-name="sort-down" unicode="&#xf0dd;" d="M571 243q0-15-10-25l-250-250q-11-11-25-11t-25 11l-250 250q-11 10-11 25t11 25 25 11h500q14 0 25-11t10-25z" horiz-adv-x="571.4" />
54
+
55
+ <glyph glyph-name="sort-up" unicode="&#xf0de;" d="M571 457q0-14-10-25t-25-11h-500q-15 0-25 11t-11 25 11 25l250 250q10 11 25 11t25-11l250-250q10-10 10-25z" horiz-adv-x="571.4" />
56
+
57
+ <glyph glyph-name="angle-left" unicode="&#xf104;" d="M350 546q0-7-6-12l-219-220 219-219q6-6 6-13t-6-13l-28-28q-5-5-12-5t-13 5l-260 261q-6 5-6 12t6 13l260 260q5 6 13 6t12-6l28-28q6-5 6-13z" horiz-adv-x="357.1" />
58
+
59
+ <glyph glyph-name="angle-right" unicode="&#xf105;" d="M332 314q0-7-5-12l-261-261q-5-5-12-5t-13 5l-28 28q-6 6-6 13t6 13l219 219-219 220q-6 5-6 12t6 13l28 28q5 6 13 6t12-6l261-260q5-5 5-13z" horiz-adv-x="357.1" />
60
+
45
61
  <glyph glyph-name="terminal-1" unicode="&#xf120;" d="M327 302l-261-261q-5-5-12-5t-13 5l-28 28q-6 6-6 13t6 13l219 219-219 220q-6 5-6 12t6 13l28 28q5 6 13 6t12-6l261-260q5-5 5-13t-5-12z m602-256v-35q0-8-5-13t-13-5h-536q-8 0-13 5t-5 13v35q0 8 5 13t13 5h536q8 0 13-5t5-13z" horiz-adv-x="928.6" />
46
62
 
47
63
  <glyph glyph-name="play-circled" unicode="&#xf144;" d="M429 779q116 0 215-58t156-156 57-215-57-215-156-156-215-58-216 58-155 156-58 215 58 215 155 156 216 58z m214-460q18 10 18 31t-18 31l-304 178q-17 11-35 1-18-11-18-31v-358q0-20 18-31 9-4 17-4 10 0 18 5z" horiz-adv-x="857.1" />
48
64
 
49
65
  <glyph glyph-name="link-ext-alt" unicode="&#xf14c;" d="M714 332v268q0 15-10 25t-25 11h-268q-24 0-33-22-10-23 8-39l80-80-298-298q-11-11-11-26t11-25l57-57q11-10 25-10t25 10l298 298 81-80q10-11 25-11 6 0 14 3 21 10 21 33z m143 286v-536q0-66-47-113t-114-48h-535q-67 0-114 48t-47 113v536q0 66 47 113t114 48h535q67 0 114-48t47-113z" horiz-adv-x="857.1" />
50
66
 
67
+ <glyph glyph-name="sort-name-up" unicode="&#xf15d;" d="M665 622h98l-40 122-6 26q-2 9-2 11h-2l-1-11q0 0-2-10t-5-16z m-254-576q0-6-6-13l-178-178q-5-5-13-5-6 0-12 5l-179 179q-8 9-4 19 4 11 17 11h107v768q0 8 5 13t13 5h107q8 0 13-5t5-13v-768h107q8 0 13-5t5-13z m466-66v-130h-326v50l206 295q7 11 12 16l6 5v1q-1 0-3 0t-5 0q-6-2-16-2h-130v-64h-67v128h317v-50l-206-296q-4-4-12-14l-6-7v-1l8 1q5 2 16 2h139v66h67z m50 501v-60h-161v60h42l-26 80h-136l-26-80h42v-60h-160v60h39l128 369h91l128-369h39z" horiz-adv-x="928.6" />
68
+
69
+ <glyph glyph-name="sort-name-down" unicode="&#xf15e;" d="M665 51h98l-40 122-6 26q-2 9-2 11h-2l-1-11q0-1-2-10t-5-16z m-254-5q0-6-6-13l-178-178q-5-5-13-5-6 0-12 5l-179 179q-8 9-4 19 4 11 17 11h107v768q0 8 5 13t13 5h107q8 0 13-5t5-13v-768h107q8 0 13-5t5-13z m516-137v-59h-161v59h42l-26 80h-136l-26-80h42v-59h-160v59h39l128 370h91l128-370h39z m-50 643v-131h-326v51l206 295q7 10 12 15l6 5v2q-1 0-3-1t-5 0q-6-2-16-2h-130v-64h-67v128h317v-50l-206-295q-4-5-12-15l-6-5v-2l8 2q5 0 16 0h139v67h67z" horiz-adv-x="928.6" />
70
+
71
+ <glyph glyph-name="sort-alt-up" unicode="&#xf160;" d="M411 46q0-6-6-13l-178-178q-5-5-13-5-6 0-12 5l-179 179q-8 9-4 19 4 11 17 11h107v768q0 8 5 13t13 5h107q8 0 13-5t5-13v-768h107q8 0 13-5t5-13z m589-71v-107q0-8-5-13t-13-5h-464q-8 0-13 5t-5 13v107q0 8 5 13t13 5h464q8 0 13-5t5-13z m-107 286v-107q0-8-5-13t-13-5h-357q-8 0-13 5t-5 13v107q0 8 5 13t13 5h357q8 0 13-5t5-13z m-107 285v-107q0-7-5-12t-13-6h-250q-8 0-13 6t-5 12v107q0 8 5 13t13 5h250q8 0 13-5t5-13z m-107 286v-107q0-8-5-13t-13-5h-143q-8 0-13 5t-5 13v107q0 8 5 13t13 5h143q8 0 13-5t5-13z" horiz-adv-x="1000" />
72
+
73
+ <glyph glyph-name="sort-alt-down" unicode="&#xf161;" d="M679-25v-107q0-8-5-13t-13-5h-143q-8 0-13 5t-5 13v107q0 8 5 13t13 5h143q8 0 13-5t5-13z m-268 71q0-6-6-13l-178-178q-5-5-13-5-6 0-12 5l-179 179q-8 9-4 19 4 11 17 11h107v768q0 8 5 13t13 5h107q8 0 13-5t5-13v-768h107q8 0 13-5t5-13z m375 215v-107q0-8-5-13t-13-5h-250q-8 0-13 5t-5 13v107q0 8 5 13t13 5h250q8 0 13-5t5-13z m107 285v-107q0-7-5-12t-13-6h-357q-8 0-13 6t-5 12v107q0 8 5 13t13 5h357q8 0 13-5t5-13z m107 286v-107q0-8-5-13t-13-5h-464q-8 0-13 5t-5 13v107q0 8 5 13t13 5h464q8 0 13-5t5-13z" horiz-adv-x="1000" />
74
+
75
+ <glyph glyph-name="sort-number-up" unicode="&#xf162;" d="M751 117q0 36-24 65t-58 30q-29 0-46-21t-17-52 20-53 58-22q28 0 48 15t19 38z m-340-71q0-6-6-13l-178-178q-5-5-13-5-6 0-12 5l-179 179q-8 9-4 19 4 11 17 11h107v768q0 8 5 13t13 5h107q8 0 13-5t5-13v-768h107q8 0 13-5t5-13z m418 39q0-35-7-68t-23-64-38-53-55-36-71-14q-35 0-60 9-14 4-24 8l22 63q9-4 17-6 21-7 42-7 47 0 75 33t37 81h-1q-11-13-34-21t-47-8q-59 0-97 40t-37 97q0 58 40 99t101 41q69 0 115-53t45-141z m-16 400v-64h-262v64h93v241q0 4 0 11t1 9v9h-2l-3-7q-5-7-15-17l-35-32-45 48 107 103h68v-365h93z" horiz-adv-x="857.1" />
76
+
77
+ <glyph glyph-name="sort-number-down" unicode="&#xf163;" d="M751 689q0 35-24 65t-58 29q-29 0-46-21t-17-52 20-53 58-21q28 0 48 15t19 38z m-340-643q0-6-6-13l-178-178q-5-5-13-5-6 0-12 5l-179 179q-8 9-4 19 4 11 17 11h107v768q0 8 5 13t13 5h107q8 0 13-5t5-13v-768h107q8 0 13-5t5-13z m402-132v-64h-262v64h93v241q0 4 0 10t1 10v9h-2l-3-7q-5-7-15-17l-35-33-45 48 107 104h68v-365h93z m16 742q0-34-7-67t-23-64-38-53-55-37-71-14q-35 0-60 9-14 5-24 9l22 63q9-4 17-6 21-8 42-8 47 0 75 33t37 81h-1q-11-13-34-20t-47-8q-59 0-97 40t-37 96q0 59 40 99t101 41q69 0 115-53t45-141z" horiz-adv-x="857.1" />
78
+
51
79
  <glyph glyph-name="youtube-squared" unicode="&#xf166;" d="M513 123v88q0 27-16 27-10 0-19-8v-125q9-9 19-9 16 0 16 27z m103 68h36v19q0 28-18 28t-18-28v-19z m-319 148v-39h-45v-236h-41v236h-44v39h130z m112-70v-205h-37v23q-22-25-43-25-18 0-23 15-3 10-3 30v162h36v-151q0-13 1-14 0-8 8-8 11 0 24 17v156h37z m141-62v-81q0-29-4-41-7-23-30-23-19 0-38 22v-20h-37v275h37v-89q18 22 38 22 23 0 30-24 4-11 4-41z m140-72v-5q0-16-1-24-2-12-9-22-15-22-44-22-29 0-46 21-11 15-11 48v72q0 33 11 48 16 21 45 21t43-21q12-16 12-48v-43h-74v-36q0-28 19-28 13 0 16 14 0 1 1 4t0 9v12h38z m-252 460v-87q0-28-18-28t-18 28v87q0 29 18 29t18-29z m298-398q0 99-11 145-6 25-24 41t-42 20q-76 8-230 8-154 0-230-8-24-3-42-20t-24-41q-11-48-11-145 0-98 11-145 5-24 24-41t42-19q76-9 230-9t230 9q24 2 42 19t23 41q12 47 12 145z m-422 363l50 166h-41l-29-109-29 109h-44q4-13 13-39l13-38q20-58 26-89v-112h41v112z m161-45v73q0 32-11 48-16 22-44 22-28 0-43-22-12-16-12-48v-73q0-32 12-48 15-22 43-22 28 0 44 22 11 15 11 48z m102-67h37v207h-37v-158q-13-17-24-17-8 0-9 8 0 2 0 15v152h-38v-164q0-20 4-30 6-16 24-16 20 0 43 26v-23z m280 170v-536q0-66-47-113t-114-48h-535q-67 0-114 48t-47 113v536q0 66 47 113t114 48h535q67 0 114-48t47-113z" horiz-adv-x="857.1" />
52
80
 
53
81
  <glyph glyph-name="youtube" unicode="&#xf167;" d="M542 156v-118q0-37-22-37-13 0-25 12v168q12 12 25 12 22 0 22-37z m189-1v-25h-51v25q0 38 25 38t26-38z m-540 122h60v52h-174v-52h59v-318h55v318z m161-318h50v276h-50v-211q-17-23-32-23-10 0-11 11-1 2-1 20v203h-50v-218q0-28 5-41 7-21 32-21 27 0 57 34v-30z m240 83v110q0 41-5 55-10 31-40 31-28 0-52-30v121h-50v-370h50v27q25-31 52-31 30 0 40 31 5 15 5 56z m188 6v7h-51q0-29-1-34-4-20-22-20-26 0-26 38v49h100v57q0 44-15 65-22 28-59 28-38 0-60-28-15-21-15-65v-96q0-44 16-65 22-29 60-29 40 0 60 30 10 15 12 30 1 5 1 33z m-339 509v117q0 39-24 39t-24-39v-117q0-39 24-39t24 39z m401-419q0-131-14-195-8-33-33-56t-57-25q-102-12-309-12t-310 12q-32 3-57 25t-32 56q-15 62-15 195 0 131 15 195 7 33 32 56t57 26q103 11 310 11t309-11q33-4 58-26t32-56q14-62 14-195z m-557 712h57l-67-223v-151h-56v151q-8 42-34 119-21 57-37 104h60l39-147z m207-186v-97q0-46-16-66-21-29-59-29-37 0-59 29-15 21-15 66v97q0 45 15 66 22 28 59 28 38 0 59-28 16-21 16-66z m187 91v-279h-51v31q-30-35-58-35-25 0-33 21-4 13-4 42v220h51v-205q0-19 0-20 2-12 12-12 15 0 32 24v213h51z" horiz-adv-x="857.1" />
@@ -60,6 +88,8 @@
60
88
 
61
89
  <glyph glyph-name="cart-plus" unicode="&#xf217;" d="M679 457q0 15-11 25t-25 11h-72v71q0 15-10 25t-25 11-25-11-11-25v-71h-71q-15 0-25-11t-11-25 11-25 25-11h71v-71q0-14 11-25t25-11 25 11 10 25v71h72q14 0 25 11t11 25z m-322-464q0-30-21-51t-50-21-51 21-21 51 21 50 51 21 50-21 21-50z m500 0q0-30-21-51t-50-21-51 21-21 51 21 50 51 21 50-21 21-50z m72 607v-286q0-13-9-23t-23-12l-583-68q1-4 3-12t3-15 1-13q0-8-13-35h513q15 0 26-11t10-25-10-25-26-11h-571q-14 0-25 11t-11 25q0 8 6 22t17 33 11 22l-98 459h-114q-15 0-25 10t-11 25 11 26 25 10h143q9 0 16-3t11-9 7-14 4-15 3-16 3-14h670q14 0 25-11t11-25z" horiz-adv-x="928.6" />
62
90
 
91
+ <glyph glyph-name="microchip" unicode="&#xf2db;" d="M107 136v-72h-62q-9 0-9 9v9h-27q-9 0-9 9v18q0 9 9 9h27v9q0 9 9 9h62z m0 143v-72h-62q-9 0-9 9v9h-27q-9 0-9 9v18q0 9 9 9h27v9q0 9 9 9h62z m0 142v-71h-62q-9 0-9 9v9h-27q-9 0-9 9v18q0 9 9 9h27v9q0 8 9 8h62z m0 143v-71h-62q-9 0-9 9v9h-27q-9 0-9 9v18q0 8 9 8h27v9q0 9 9 9h62z m0 143v-71h-62q-9 0-9 9v9h-27q-9 0-9 9v17q0 9 9 9h27v9q0 9 9 9h62z m607 89v-821q0-22-15-38t-38-16h-465q-22 0-37 16t-16 38v821q0 23 16 38t37 16h465q22 0 38-16t15-38z m143-687v-18q0-9-9-9h-27v-9q0-9-8-9h-63v72h63q8 0 8-9v-9h27q9 0 9-9z m0 143v-18q0-9-9-9h-27v-9q0-9-8-9h-63v72h63q8 0 8-9v-9h27q9 0 9-9z m0 143v-18q0-9-9-9h-27v-9q0-9-8-9h-63v71h63q8 0 8-8v-9h27q9 0 9-9z m0 143v-18q0-9-9-9h-27v-9q0-9-8-9h-63v71h63q8 0 8-9v-9h27q9 0 9-8z m0 142v-17q0-9-9-9h-27v-9q0-9-8-9h-63v71h63q8 0 8-9v-9h27q9 0 9-9z" horiz-adv-x="857.1" />
92
+
63
93
  <glyph glyph-name="github" unicode="&#xf300;" d="M620 286q26 0 45-26t19-64-19-64-45-26q-28 0-47 26t-19 64 19 64 47 26z m226 234q74-80 74-194 0-74-17-133t-43-96-64-65-70-41-73-20-62-8-45-1q-6 0-36-1t-50-1-50 1-36 1q-24 0-45 1t-62 8-73 20-70 41-64 65-43 96-17 133q0 114 74 194-8 4-1 80t33 140q92-10 228-104 46 12 126 12 84 0 126-12 62 42 119 68t83 30l26 6q26-64 33-140t-1-80z m-384-514q166 0 251 40t85 164q0 72-54 120-28 26-65 32t-113 0-104-6l-4 0q-32 0-83 4t-80 5-63-7-56-28q-52-46-52-120 0-124 84-164t250-40l4 0z m-160 280q26 0 45-26t19-64-19-64-45-26q-28 0-47 26t-19 64 19 64 47 26z" horiz-adv-x="920" />
64
94
 
65
95
  <glyph glyph-name="github-circled" unicode="&#xf301;" d="M480 354q16 0 42 2t41 2 32-4 29-14q26-26 26-60 0-64-43-84t-127-20-127 20-43 84q0 34 26 60 12 10 29 14t32 4 41-2 42-2z m-80-128q14 0 23 14t9 32q0 46-32 46t-32-46q0-18 9-32t23-14z m160 0q14 0 24 14t10 32q0 20-10 33t-24 13q-32 0-32-46 0-18 9-32t23-14z m-80 604q200 0 340-140t140-340q0-198-140-339t-340-141q-198 0-339 141t-141 339q0 200 141 340t339 140z m44-676q188 0 188 184 0 56-38 98 4 4 1 41t-17 71q-44-6-114-52-20 6-64 6-40 0-64-6-30 20-59 33t-41 17l-14 2q-14-34-17-71t1-41q-38-42-38-98 0-184 188-184l88 0z" horiz-adv-x="960" />
@@ -89,6 +119,10 @@
89
119
  <glyph glyph-name="spotify-circled" unicode="&#xf328;" d="M480 830q198 0 339-140t141-340q0-120-56-224t-152-170q-108 186-338 192-176 6-296-114-118 138-118 316 0 200 140 340t340 140z m234-650q14 26-10 40-188 114-460 54-30-8-22-36 8-30 36-22 246 58 416-46 26-14 40 10z m58 136q18 34-12 50-110 68-256 85t-276-21q-34-10-24-46 10-34 46-26 112 34 244 19t228-73q32-20 50 12z m4 142q38-24 62 14 20 38-16 62-126 74-314 89t-306-27q-18-4-27-21t-3-33q6-18 22-27t34-3q102 36 271 23t277-77z m-364-454q130-4 186-118-60-16-118-16-126 0-234 62 66 74 166 72z" horiz-adv-x="960" />
90
120
 
91
121
  <glyph glyph-name="instagram" unicode="&#xf32d;" d="M690 350q0 26-6 50l176 0 0-344q0-56-39-96t-95-40l-592 0q-56 0-95 40t-39 96l0 344 174 0q-4-32-4-50 0-106 76-183t184-77q106 0 183 77t77 183z m36 430q56 0 95-39t39-95l0-146-218 0q-78 110-212 110-138 0-212-110l-218 0 0 146q0 56 39 95t95 39l592 0z m64-166l0 72q0 24-24 24l-72 0q-24 0-24-24l0-72q0-8 7-16t17-8l72 0q24 0 24 24z m-200-264q0-66-47-113t-113-47-113 47-47 113q0 68 47 114t113 46 113-46 47-114z" horiz-adv-x="860" />
122
+
123
+ <glyph glyph-name="calendar" unicode="&#x1f4c5;" d="M71-79h161v161h-161v-161z m197 0h178v161h-178v-161z m-197 197h161v178h-161v-178z m197 0h178v178h-178v-178z m-197 214h161v161h-161v-161z m411-411h179v161h-179v-161z m-214 411h178v161h-178v-161z m428-411h161v161h-161v-161z m-214 197h179v178h-179v-178z m-196 482v161q0 7-6 12t-12 6h-36q-7 0-12-6t-6-12v-161q0-7 6-13t12-5h36q7 0 12 5t6 13z m410-482h161v178h-161v-178z m-214 214h179v161h-179v-161z m214 0h161v161h-161v-161z m18 268v161q0 7-5 12t-13 6h-35q-7 0-13-6t-5-12v-161q0-7 5-13t13-5h35q8 0 13 5t5 13z m215 36v-715q0-29-22-50t-50-21h-786q-29 0-50 21t-21 50v715q0 29 21 50t50 21h72v54q0 37 26 63t63 26h36q37 0 63-26t26-63v-54h214v54q0 37 27 63t63 26h35q37 0 64-26t26-63v-54h71q29 0 50-21t22-50z" horiz-adv-x="928.6" />
124
+
125
+ <glyph glyph-name="book" unicode="&#x1f4d5;" d="M915 583q22-31 10-72l-154-505q-10-36-42-60t-69-25h-515q-43 0-83 30t-55 74q-14 37-1 71 0 2 1 15t3 20q0 5-2 12t-2 11q1 6 5 12t9 13 9 13q13 21 25 51t17 51q2 6 0 17t0 16q2 6 9 15t10 13q12 20 23 51t14 51q1 5-1 17t0 16q2 7 12 17t13 13q10 14 23 47t16 54q0 4-2 14t-1 15q1 4 5 10t10 13 10 11q4 7 9 17t8 20 9 20 11 18 15 13 20 6 26-3l0-1q21 5 28 5h425q41 0 64-32t10-72l-153-506q-20-66-40-85t-72-20h-485q-15 0-21-8-6-9-1-24 14-39 81-39h515q16 0 31 9t20 23l167 550q4 13 3 32 21-8 33-24z m-594-1q-2-7 1-12t11-6h339q8 0 15 6t9 12l12 36q2 7-1 12t-12 6h-339q-7 0-14-6t-9-12z m-46-143q-3-7 1-12t11-6h339q7 0 14 6t10 12l11 36q3 7-1 13t-11 5h-339q-7 0-14-5t-10-13z" horiz-adv-x="928.6" />
92
126
  </font>
93
127
  </defs>
94
128
  </svg>
Binary file
Binary file
Binary file
Binary file
@@ -201,16 +201,40 @@ $(document).ready(function () {
201
201
  }
202
202
  }
203
203
  navbar();
204
- $(window).scroll(function () {
205
- navbar();
206
- });
204
+ // Sticky tab bar setup
205
+ var stickyNav;
206
+ if ($("#tabbed-nav-bar").length > 0) {
207
+ var text = $("#tabbed-nav-bar ul li a.active").text();
208
+ $("#sub-navigation-header").text(text);
209
+ var stickyTabBarOffset = $("#tabbed-nav-bar").offset().top;
210
+ stickyNav = () => {
211
+ var scroll = $(window).scrollTop();
212
+ if (scroll > stickyTabBarOffset) {
213
+ $("#tabbed-nav-bar").addClass("fixed-top");
214
+ } else {
215
+ $("#tabbed-nav-bar").removeClass("fixed-top");
216
+ }
217
+ };
218
+ }
219
+ // Passive window scroll listener.
220
+ window.addEventListener(
221
+ "scroll",
222
+ () => {
223
+ if ($("#tabbed-nav-bar").length > 0) {
224
+ stickyNav();
225
+ }
226
+ navbar();
227
+ },
228
+ { passive: true }
229
+ );
207
230
 
208
- // Multi-level dropdowns
209
- $(".navbar .dropdown-menu > li:not(.dropdown-item)").on("click", function (
210
- e
211
- ) {
212
- e.stopPropagation();
213
- });
231
+ // Multi-level dropdowns
232
+ $(".navbar .dropdown-menu > li:not(.dropdown-item)").on(
233
+ "click",
234
+ function (e) {
235
+ e.stopPropagation();
236
+ }
237
+ );
214
238
  $(".navbar .dropdown-item").on("click", function (e) {
215
239
  var $el = $(this).children(".dropdown-toggle");
216
240
  var $parent = $el.offsetParent(".dropdown-menu");
@@ -390,36 +414,144 @@ $(document).ready(function () {
390
414
  $('[data-toggle="tooltip"]').tooltip();
391
415
  });
392
416
 
393
- if ($("#post_search").length > 0) {
394
- var file_path = $("#post_search").data("file-path");
417
+ // SimpleJekyllSearch
418
+ // if ($("#post_search").length > 0) {
419
+ // var file_path = $("#post_search").data("file-path");
420
+
421
+ // $("#results-container").hide();
422
+ // $("#search-input").keyup(function () {
423
+ // if ($("#search-input").val().length == 0) {
424
+ // $("#results-container").fadeOut("fast");
425
+ // $(".close_search").hide();
426
+ // } else {
427
+ // $("#results-container").fadeIn("fast");
428
+ // $(".close_search").show();
429
+ // }
430
+ // });
431
+ // $(".close_search").click(function (e) {
432
+ // e.preventDefault();
433
+ // $("#search-input").val("");
434
+ // $("#results-container").fadeOut("fast");
435
+ // $(".close_search").hide();
436
+ // });
395
437
 
438
+ // console.log(file_path);
439
+ // SimpleJekyllSearch({
440
+ // searchInput: document.getElementById("search-input"),
441
+ // resultsContainer: document.getElementById("results-container"),
442
+ // searchResultTemplate:
443
+ // '<li class="media flex-row"><picture><img class="lazyload mr-3 img-thumbnail suggested_post_thumb search_result_img" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="{image}"></picture><div class="media-body"><a href="{url}"><h5 class="mt-0 mb-1">{title}</h5><em class="suggested_post_date">{date}</em><p>{description}</p></a></div></li>',
444
+ // json: file_path,
445
+ // success: function (data) {
446
+ // console.log(data);
447
+ // },
448
+ // });
449
+ // }
450
+ // Post Search Functionality using the FESS search API.
451
+ if ($("#post_search").length > 0) {
396
452
  $("#results-container").hide();
397
- $("#search-input").keyup(function () {
453
+
454
+ function getSearchResults(
455
+ progress,
456
+ url,
457
+ searchLabel,
458
+ searchVal,
459
+ startPosition,
460
+ limit,
461
+ searchResults = []
462
+ ) {
463
+ return new Promise((resolve, reject) =>
464
+ fetch(url)
465
+ .then((response) => {
466
+ if (response.status !== 200) {
467
+ throw `${response.status}: ${response.statusText}`;
468
+ }
469
+ console.log(searchVal);
470
+ response
471
+ .json()
472
+ .then((data) => {
473
+ console.log(data);
474
+ searchResults = searchResults.concat(data.response.result);
475
+ if (data.response.next_page && searchResults.length < limit) {
476
+ // progress && progress(searchResults);
477
+ startPosition += 10;
478
+ var nextUrl = `https://search.linaro.org/json/?fields.label=${searchLabel}&q=${searchVal}&start=${startPosition}&sort=last_modified.desc`;
479
+ getSearchResults(
480
+ progress,
481
+ nextUrl,
482
+ searchLabel,
483
+ searchVal,
484
+ startPosition,
485
+ limit,
486
+ searchResults
487
+ )
488
+ .then(resolve)
489
+ .catch(reject);
490
+ } else {
491
+ var responseData = {
492
+ results: searchResults.slice(0, limit),
493
+ response: data.response,
494
+ };
495
+ resolve(responseData);
496
+ }
497
+ })
498
+ .catch(reject);
499
+ })
500
+ .catch(reject)
501
+ );
502
+ }
503
+ var timer;
504
+ $("#search-input").keyup(() => {
398
505
  if ($("#search-input").val().length == 0) {
399
506
  $("#results-container").fadeOut("fast");
400
507
  $(".close_search").hide();
401
508
  } else {
402
509
  $("#results-container").fadeIn("fast");
403
510
  $(".close_search").show();
511
+ clearTimeout(timer);
512
+ timer = setTimeout(function () {
513
+ var searchLabel = $("#post_search").data("search-label");
514
+ var searchQuery = $("#search-input").val();
515
+ var searchUrl = `https://search.linaro.org/json/?fields.label=${searchLabel}&q=${searchQuery}&start=0&sort=last_modified.desc`;
516
+ getSearchResults(
517
+ 0,
518
+ searchUrl,
519
+ searchLabel,
520
+ $("#search-input").val(),
521
+ 0,
522
+ 10,
523
+ []
524
+ )
525
+ .then((responseData) => {
526
+ console.log(responseData);
527
+ console.log("Results:", responseData.results);
528
+ console.log("Response:", responseData.response);
529
+ var pageElements = [];
530
+ pageElements += `<li class="text-center">Found ${responseData.response.record_count} results</li>`;
531
+ for (var i = 0; i < responseData.results.length; i++) {
532
+ var formattedDate = new Date(
533
+ responseData.results[i].last_modified
534
+ ).toDateString();
535
+ var contentDigest = responseData.results[i].digest.slice(
536
+ 0,
537
+ 200
538
+ );
539
+ pageElements += `
540
+ <li class="media flex-row"><div class="media-body"><a href="${responseData.results[i].url}"><h5 class="mt-0 mb-1"> ${responseData.results[i].title}</h5><p>${contentDigest}</p></a></div></li>`;
541
+ }
542
+ pageElements += `<li class="text-center"><a href="/search/?q=${searchQuery}">View all search results</a></li>`;
543
+ $("#results-container").html(pageElements);
544
+ })
545
+ .catch(console.error);
546
+ }, 1000);
404
547
  }
405
548
  });
549
+
406
550
  $(".close_search").click(function (e) {
407
551
  e.preventDefault();
408
552
  $("#search-input").val("");
409
553
  $("#results-container").fadeOut("fast");
410
554
  $(".close_search").hide();
411
555
  });
412
-
413
- console.log(file_path);
414
- SimpleJekyllSearch({
415
- searchInput: document.getElementById("search-input"),
416
- resultsContainer: document.getElementById("results-container"),
417
- searchResultTemplate:
418
- '<li class="media flex-row"><picture><img class="lazyload mr-3 img-thumbnail suggested_post_thumb search_result_img" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="{image}"></picture><div class="media-body"><a href="{url}"><h5 class="mt-0 mb-1">{title}</h5><em class="suggested_post_date">{date}</em><p>{description}</p></a></div></li>',
419
- json: file_path,
420
- success: function (data) {
421
- console.log(data);
422
- },
423
- });
424
556
  }
425
557
  });
@@ -0,0 +1,132 @@
1
+ /*! lazysizes - v5.2.2 */
2
+
3
+ !(function (e, i) {
4
+ var a;
5
+ e &&
6
+ ((a = function (t) {
7
+ i(e.lazySizes, t), e.removeEventListener("lazyunveilread", a, !0);
8
+ }),
9
+ (i = i.bind(null, e, e.document)),
10
+ "object" == typeof module && module.exports
11
+ ? i(require("lazysizes"))
12
+ : "function" == typeof define && define.amd
13
+ ? define(["lazysizes"], i)
14
+ : e.lazySizes
15
+ ? a()
16
+ : e.addEventListener("lazyunveilread", a, !0));
17
+ })("undefined" != typeof window ? window : 0, function (t, u, f, e) {
18
+ "use strict";
19
+ var y,
20
+ i,
21
+ a = u.createElement("a").style,
22
+ r = "objectFit" in a,
23
+ s = /object-fit["']*\s*:\s*["']*(contain|cover)/,
24
+ l = /object-position["']*\s*:\s*["']*(.+?)(?=($|,|'|"|;))/,
25
+ A =
26
+ "data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",
27
+ n = /\(|\)|'/,
28
+ d = { center: "center", "50% 50%": "center" };
29
+ function c(o, r) {
30
+ function s() {
31
+ var t = o.currentSrc || o.src;
32
+ t &&
33
+ i !== t &&
34
+ ((i = t),
35
+ (d.backgroundImage =
36
+ "url(" + (n.test(t) ? JSON.stringify(t) : t) + ")"),
37
+ e || ((e = !0), f.rC(l, c.loadingClass), f.aC(l, c.loadedClass)));
38
+ }
39
+ function t() {
40
+ f.rAF(s);
41
+ }
42
+ var e,
43
+ i,
44
+ l,
45
+ d,
46
+ c = f.cfg;
47
+ (o._lazysizesParentFit = r.fit),
48
+ o.addEventListener("lazyloaded", t, !0),
49
+ o.addEventListener("load", t, !0),
50
+ f.rAF(function () {
51
+ var t,
52
+ e,
53
+ i,
54
+ a = o,
55
+ n = o.parentNode;
56
+ "PICTURE" == n.nodeName.toUpperCase() && (n = (a = n).parentNode),
57
+ (e = (t = a).previousElementSibling) &&
58
+ f.hC(e, y) &&
59
+ (e.parentNode.removeChild(e),
60
+ (t.style.position = e.getAttribute("data-position") || ""),
61
+ (t.style.visibility = e.getAttribute("data-visibility") || "")),
62
+ y ||
63
+ y ||
64
+ ((i = u.createElement("style")),
65
+ (y = f.cfg.objectFitClass || "lazysizes-display-clone"),
66
+ u.querySelector("head").appendChild(i)),
67
+ (l = o.cloneNode(!1)),
68
+ (d = l.style),
69
+ l.addEventListener("load", function () {
70
+ var t = l.currentSrc || l.src;
71
+ t && t != A && ((l.src = A), (l.srcset = ""));
72
+ }),
73
+ f.rC(l, c.loadedClass),
74
+ f.rC(l, c.lazyClass),
75
+ f.rC(l, c.autosizesClass),
76
+ f.aC(l, c.loadingClass),
77
+ f.aC(l, y),
78
+ [
79
+ "data-parent-fit",
80
+ "data-parent-container",
81
+ "data-object-fit-polyfilled",
82
+ c.srcsetAttr,
83
+ c.srcAttr,
84
+ ].forEach(function (t) {
85
+ l.removeAttribute(t);
86
+ }),
87
+ (l.src = A),
88
+ (l.srcset = ""),
89
+ (d.backgroundRepeat = "no-repeat"),
90
+ (d.backgroundPosition = r.position),
91
+ (d.backgroundSize = r.fit),
92
+ l.setAttribute("data-position", a.style.position),
93
+ l.setAttribute("data-visibility", a.style.visibility),
94
+ (a.style.visibility = "hidden"),
95
+ (a.style.position = "absolute"),
96
+ o.setAttribute("data-parent-fit", r.fit),
97
+ o.setAttribute("data-parent-container", "prev"),
98
+ o.setAttribute("data-object-fit-polyfilled", ""),
99
+ (o._objectFitPolyfilledDisplay = l),
100
+ n.insertBefore(l, a),
101
+ o._lazysizesParentFit && delete o._lazysizesParentFit,
102
+ o.complete && s();
103
+ });
104
+ }
105
+ (r && r && "objectPosition" in a) ||
106
+ ((i = function (t) {
107
+ if (t.detail.instance == f) {
108
+ var e,
109
+ i,
110
+ a,
111
+ n = t.target,
112
+ o =
113
+ ((e = (getComputedStyle(n, null) || {}).fontFamily || ""),
114
+ (i = e.match(s) || ""),
115
+ (a = (a = (i && e.match(l)) || "") && a[1]),
116
+ { fit: (i && i[1]) || "", position: d[a] || a || "center" });
117
+ return !(!o.fit || (r && "center" == o.position)) && (c(n, o), !0);
118
+ }
119
+ }),
120
+ t.addEventListener("lazybeforesizes", function (t) {
121
+ var e;
122
+ t.detail.instance == f &&
123
+ (null == (e = t.target).getAttribute("data-object-fit-polyfilled") ||
124
+ e._objectFitPolyfilledDisplay ||
125
+ i(t) ||
126
+ f.rAF(function () {
127
+ e.removeAttribute("data-object-fit-polyfilled");
128
+ }));
129
+ }),
130
+ t.addEventListener("lazyunveilread", i, !0),
131
+ e && e.detail && i(e));
132
+ });
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: linaro-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.6
4
+ version: 4.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-16 00:00:00.000000000 Z
11
+ date: 2021-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -80,6 +80,20 @@ dependencies:
80
80
  - - '='
81
81
  - !ruby/object:Gem::Version
82
82
  version: 0.2.2
83
+ - !ruby/object:Gem::Dependency
84
+ name: jekyll-toc
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '='
88
+ - !ruby/object:Gem::Version
89
+ version: 0.15.0
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '='
95
+ - !ruby/object:Gem::Version
96
+ version: 0.15.0
83
97
  - !ruby/object:Gem::Dependency
84
98
  name: jekyll-feed
85
99
  requirement: !ruby/object:Gem::Requirement
@@ -134,28 +148,14 @@ dependencies:
134
148
  requirements:
135
149
  - - '='
136
150
  - !ruby/object:Gem::Version
137
- version: 2.1.4
138
- type: :development
139
- prerelease: false
140
- version_requirements: !ruby/object:Gem::Requirement
141
- requirements:
142
- - - '='
143
- - !ruby/object:Gem::Version
144
- version: 2.1.4
145
- - !ruby/object:Gem::Dependency
146
- name: rake
147
- requirement: !ruby/object:Gem::Requirement
148
- requirements:
149
- - - '='
150
- - !ruby/object:Gem::Version
151
- version: 13.0.1
151
+ version: 1.17.2
152
152
  type: :development
153
153
  prerelease: false
154
154
  version_requirements: !ruby/object:Gem::Requirement
155
155
  requirements:
156
156
  - - '='
157
157
  - !ruby/object:Gem::Version
158
- version: 13.0.1
158
+ version: 1.17.2
159
159
  description:
160
160
  email:
161
161
  - kyle.kirkby@linaro.org
@@ -169,6 +169,7 @@ files:
169
169
  - _data/footer.yml
170
170
  - _data/nav.yml
171
171
  - _data/picture.yml
172
+ - _data/sticky_tab_bar.yml
172
173
  - _data/universal_nav.yml
173
174
  - _includes/blog/authors_posts.html
174
175
  - _includes/blog/blog_filler_element.html
@@ -177,6 +178,7 @@ files:
177
178
  - _includes/blog/latest_posts.html
178
179
  - _includes/blog/pagination.html
179
180
  - _includes/blog/post_search.html
181
+ - _includes/blog/post_search_fess.html
180
182
  - _includes/blog/post_series.html
181
183
  - _includes/blog/post_sidebar.html
182
184
  - _includes/blog/read_time.html
@@ -193,6 +195,7 @@ files:
193
195
  - _includes/components/linaro_404.html
194
196
  - _includes/components/schema.html
195
197
  - _includes/components/sidebar.html
198
+ - _includes/components/sticky_tab_bar.html
196
199
  - _includes/examples/custom_include.html
197
200
  - _includes/examples/custom_include_row.html
198
201
  - _includes/flow/blocks.html
@@ -220,11 +223,11 @@ files:
220
223
  - _includes/nav/nav.html
221
224
  - _includes/nav/universal_nav.html
222
225
  - _includes/social_media_icons.html
223
- - _includes/sticky-tab-bar.html
224
226
  - _includes/youtube.html
225
227
  - _layouts/author.html
226
228
  - _layouts/base.html
227
229
  - _layouts/default.html
230
+ - _layouts/documentation.html
228
231
  - _layouts/flow.html
229
232
  - _layouts/page.html
230
233
  - _layouts/post.html
@@ -324,6 +327,7 @@ files:
324
327
  - _sass/core/carousel-styles.scss
325
328
  - _sass/core/carousel.scss
326
329
  - _sass/core/cookies.scss
330
+ - _sass/core/documentation.scss
327
331
  - _sass/core/error.scss
328
332
  - _sass/core/featherlight.scss
329
333
  - _sass/core/flow.scss
@@ -334,6 +338,7 @@ files:
334
338
  - _sass/core/normalize.scss
335
339
  - _sass/core/owl.carousel.min.scss
336
340
  - _sass/core/owl.theme.default.min.scss
341
+ - _sass/core/sticky_tab_bar.scss
337
342
  - _sass/core/syntax.scss
338
343
  - _sass/core/theme.scss
339
344
  - assets/css/main.scss
@@ -352,6 +357,7 @@ files:
352
357
  - assets/images/Linaro-Sprinkle.png
353
358
  - assets/images/Linaro-logo-white.png
354
359
  - assets/images/avatar-placeholder.jpg
360
+ - assets/images/breadcrumb-banner.png
355
361
  - assets/images/breadcrumb-image.jpg
356
362
  - assets/images/clipboard.svg
357
363
  - assets/images/close.png
@@ -375,6 +381,7 @@ files:
375
381
  - assets/js/vendor/jquery.js
376
382
  - assets/js/vendor/lazysizes.js
377
383
  - assets/js/vendor/ls.unveilhooks.js
384
+ - assets/js/vendor/ofi.js
378
385
  - assets/js/vendor/owl.carousel.js
379
386
  - assets/js/vendor/simple-jekyll-search.min.js
380
387
  - assets/json/posts.json