jekyll-docs-theme 0.1.2 → 1.0.0.pre.beta.1

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 +4 -4
  2. data/LICENSE.md +20 -16
  3. data/README.md +8 -35
  4. data/_includes/anchor_headings.html +109 -0
  5. data/_includes/fa-icon.html +13 -0
  6. data/_includes/footer/content-post.html +4 -0
  7. data/_includes/footer/content-pre.html +4 -0
  8. data/_includes/footer/content.html +137 -0
  9. data/_includes/footer/full.html +13 -0
  10. data/_includes/footer/scripts-post.html +4 -0
  11. data/_includes/footer/scripts-pre.html +4 -0
  12. data/_includes/footer/scripts.html +48 -0
  13. data/_includes/head/base.html +3 -0
  14. data/_includes/head/content-post.html +0 -0
  15. data/_includes/head/content-pre.html +0 -0
  16. data/_includes/head/content.html +8 -0
  17. data/_includes/head/full.html +9 -0
  18. data/_includes/head/stylesheets-post.html +0 -0
  19. data/_includes/head/stylesheets-pre.html +0 -0
  20. data/_includes/head/stylesheets.html +16 -0
  21. data/_includes/internal/variables.html +21 -0
  22. data/_includes/masthead.html +13 -0
  23. data/_includes/masthead/button.html +11 -0
  24. data/_includes/masthead/buttons.html +30 -0
  25. data/_includes/masthead/title.html +7 -0
  26. data/_includes/navigation.html +37 -19
  27. data/_includes/toc.html +87 -0
  28. data/_layouts/default.html +4 -4
  29. data/_layouts/full.html +5 -3
  30. data/_layouts/page.html +46 -11
  31. data/_sass/abstracts/_highlight-dark.scss +136 -0
  32. data/_sass/abstracts/_highlight-light.scss +251 -0
  33. data/_sass/abstracts/_themer.scss +18 -0
  34. data/_sass/abstracts/_variables.scss +6 -0
  35. data/_sass/base/_anchor.scss +20 -0
  36. data/_sass/base/_body.scss +12 -0
  37. data/_sass/base/_scope-markdown.scss +94 -0
  38. data/_sass/components/_alert.scss +5 -0
  39. data/_sass/components/_footer.scss +39 -0
  40. data/_sass/components/_header.scss +22 -0
  41. data/_sass/components/_highlight.scss +59 -0
  42. data/_sass/components/_masthead.scss +62 -0
  43. data/_sass/components/_mobile-toc.scss +30 -0
  44. data/_sass/components/_sidebar.scss +84 -0
  45. data/_sass/utilities/_colors.scss +301 -0
  46. data/_sass/utilities/_js.scss +3 -0
  47. data/assets/css/styles.scss +38 -50
  48. data/assets/js/docs.js +49 -0
  49. metadata +48 -27
  50. data/_includes/footer.html +0 -91
  51. data/_includes/head.html +0 -26
  52. data/_includes/jumbotron.html +0 -21
  53. data/assets/css/docs.css +0 -1527
  54. data/assets/js/docs.min.js +0 -49
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3b4731715e2e8530826dec2bb48c5f1abc7834b8cbca7e5bd266aa9a9a3896cb
4
- data.tar.gz: 11af0028253c5e2efd4b231021136ab08ba52acfda55ca735f8003087c711eed
3
+ metadata.gz: 735e7eb3a1c0aaad66ab888846e1fbc0d075bde327236a25f08fb09ef1ed4201
4
+ data.tar.gz: 2921a56d61b4ef0eb601206f15fba9c3aaee9c194d57fc947dd0760c0f9a9178
5
5
  SHA512:
6
- metadata.gz: 4483808e72ba1e00b795f630d0d108189e03a3eb2614c2ad2c7d8b1ddf322e7d492479c9391fe62225d362d23a8aea63fea92bd227d8e8871f9aa37f8bb6bb6d
7
- data.tar.gz: dfaa428350430c4c3c555da3b11e6f1a1f33797e5287d7bd635c56c3c3e03c6afff85e865a7b3d7e9785af051b582a484a2606f2841394cd6e74e9cfda391ec7
6
+ metadata.gz: 7d5599be5e985d2b095e37ac218e8d3da11e2c3907b3d2df1c5b081308d0124b2df79a6e0a9710234e530a633a42d42cf4aab96bdcfacd7b985c5941a7ae2926
7
+ data.tar.gz: 02f64ec5948d018a8b7065201403c2fa009542c2f598ecff89202433c5a9c7e7e7a87f0a9920afd7ef0984b20f4bc652a30e540eb3b9dfb310c3df007d0e0f5f
data/LICENSE.md CHANGED
@@ -1,21 +1,25 @@
1
1
  The MIT License (MIT)
2
+ =====================
2
3
 
3
- Copyright (c) 2014 Damien Sorel
4
+ Copyright © 2020 Vladimir "allejo" Jimenez
4
5
 
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
6
+ Permission is hereby granted, free of charge, to any person
7
+ obtaining a copy of this software and associated documentation
8
+ files (the "Software"), to deal in the Software without
9
+ restriction, including without limitation the rights to use,
10
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ copies of the Software, and to permit persons to whom the
12
+ Software is furnished to do so, subject to the following
13
+ conditions:
11
14
 
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
15
+ The above copyright notice and this permission notice shall be
16
+ included in all copies or substantial portions of the Software.
14
17
 
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
18
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
19
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
20
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
21
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
22
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
23
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
24
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
25
+ OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -1,46 +1,19 @@
1
1
  # Jekyll Docs Theme
2
2
 
3
- > This is a [Jekyll theme](https://github.com/allejo/jekyll-docs-theme) based on [mistic100's modification](https://github.com/mistic100/jekyll-bootstrap-doc) of the official Bootstrap documentation from a few years back.
3
+ A Jekyll theme inspired by Bootstrap's official documentation theme from a few years back. This theme started off by stealing all of Bootstrap Docs' CSS and being used in [mistic100's theme](https://github.com/mistic100/jekyll-bootstrap-doc). This theme has since be rewritten from scratch and remains solely inspired by the original design.
4
4
 
5
- Jekyll Docs Theme is provided as a theme for writing documentation for your projects instead of having a single large README file or several markdown files stored in a not so user-friendly manner.
5
+ This theme is designed for writing documentation websites instead of having large unmaintainable README files or several markdown files inside of a folder in a repository.
6
6
 
7
- This theme is still in development but is kept fairly stable; just note, there are a lot things yet to come.
7
+ ## Screenshots
8
8
 
9
- ![Theme Screenshot](https://raw.githubusercontent.com/allejo/jekyll-docs-theme/master/screenshot.png)
9
+ **Light Mode**
10
10
 
11
- ## Installation
11
+ ![Theme Screenshot](./screenshot.png)
12
12
 
13
- Fork this project
13
+ **DarkMode**
14
14
 
15
- -or-
16
-
17
- Add this line to your Jekyll site's Gemfile:
18
-
19
- ```ruby
20
- gem "jekyll-docs-theme"
21
- ```
22
-
23
- And add this line to your Jekyll site's `_config.yml`:
24
-
25
- ```yaml
26
- theme: jekyll-docs-theme
27
- ```
28
-
29
- And then execute:
30
-
31
- $ bundle
32
-
33
- Or install it yourself as:
34
-
35
- $ gem install jekyll-docs-theme
36
-
37
- ## Development
38
-
39
- To set up your environment to develop this theme, run `bundle install`.
40
-
41
- To develop on this theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`.
15
+ ![Theme Screenshot](./screenshot-dark.png)
42
16
 
43
17
  ## License
44
18
 
45
- The theme is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
46
-
19
+ The theme is available as open source under the terms of the [MIT License](./LICENSE.md).
@@ -0,0 +1,109 @@
1
+ {% capture headingsWorkspace %}
2
+ {% comment %}
3
+ Version 1.0.5
4
+ https://github.com/allejo/jekyll-anchor-headings
5
+
6
+ "Be the pull request you wish to see in the world." ~Ben Balter
7
+
8
+ Usage:
9
+ {% include anchor_headings.html html=content %}
10
+
11
+ Parameters:
12
+ * html (string) - the HTML of compiled markdown generated by kramdown in Jekyll
13
+
14
+ Optional Parameters:
15
+ * beforeHeading (bool) : false - Set to true if the anchor should be placed _before_ the heading's content
16
+ * anchorAttrs (string) : '' - Any custom HTML attributes that will be added to the `<a>` tag; you may NOT use `href`, `class` or `title`
17
+ * anchorBody (string) : '' - The content that will be placed inside the anchor; the `%heading%` placeholder is available
18
+ * anchorClass (string) : '' - The class(es) that will be used for each anchor. Separate multiple classes with a space
19
+ * anchorTitle (string) : '' - The `title` attribute that will be used for anchors
20
+ * h_min (int) : 1 - The minimum header level to build an anchor for; any header lower than this value will be ignored
21
+ * h_max (int) : 6 - The maximum header level to build an anchor for; any header greater than this value will be ignored
22
+ * bodyPrefix (string) : '' - Anything that should be inserted inside of the heading tag _before_ its anchor and content
23
+ * bodySuffix (string) : '' - Anything that should be inserted inside of the heading tag _after_ its anchor and content
24
+
25
+ Output:
26
+ The original HTML with the addition of anchors inside of all of the h1-h6 headings.
27
+ {% endcomment %}
28
+
29
+ {% assign minHeader = include.h_min | default: 1 %}
30
+ {% assign maxHeader = include.h_max | default: 6 %}
31
+ {% assign beforeHeading = include.beforeHeading %}
32
+ {% assign nodes = include.html | split: '<h' %}
33
+
34
+ {% capture edited_headings %}{% endcapture %}
35
+
36
+ {% for _node in nodes %}
37
+ {% capture node %}{{ _node | strip }}{% endcapture %}
38
+
39
+ {% if node == "" %}
40
+ {% continue %}
41
+ {% endif %}
42
+
43
+ {% assign nextChar = node | replace: '"', '' | strip | slice: 0, 1 %}
44
+ {% assign headerLevel = nextChar | times: 1 %}
45
+
46
+ <!-- If the level is cast to 0, it means it's not a h1-h6 tag, so let's see if we need to fix it -->
47
+ {% if headerLevel == 0 %}
48
+ <!-- Split up the node based on closing angle brackets and get the first one. -->
49
+ {% assign firstChunk = node | split: '>' | first %}
50
+
51
+ <!-- If the first chunk does NOT contain a '<', that means we've broken another HTML tag that starts with 'h' -->
52
+ {% unless firstChunk contains '<' %}
53
+ {% capture node %}<h{{ node }}{% endcapture %}
54
+ {% endunless %}
55
+
56
+ {% capture edited_headings %}{{ edited_headings }}{{ node }}{% endcapture %}
57
+ {% continue %}
58
+ {% endif %}
59
+
60
+ {% assign _workspace = node | split: '</h' %}
61
+ {% assign _idWorkspace = _workspace[0] | split: 'id="' %}
62
+ {% assign _idWorkspace = _idWorkspace[1] | split: '"' %}
63
+ {% assign html_id = _idWorkspace[0] %}
64
+
65
+ {% capture _hAttrToStrip %}{{ _workspace[0] | split: '>' | first }}>{% endcapture %}
66
+ {% assign header = _workspace[0] | replace: _hAttrToStrip, '' %}
67
+
68
+ <!-- Build the anchor to inject for our heading -->
69
+ {% capture anchor %}{% endcapture %}
70
+
71
+ {% if html_id and headerLevel >= minHeader and headerLevel <= maxHeader %}
72
+ {% capture anchor %}href="#{{ html_id }}"{% endcapture %}
73
+
74
+ {% if include.anchorClass %}
75
+ {% capture anchor %}{{ anchor }} class="{{ include.anchorClass }}"{% endcapture %}
76
+ {% endif %}
77
+
78
+ {% if include.anchorTitle %}
79
+ {% capture anchor %}{{ anchor }} title="{{ include.anchorTitle | replace: '%heading%', header }}"{% endcapture %}
80
+ {% endif %}
81
+
82
+ {% if include.anchorAttrs %}
83
+ {% capture anchor %}{{ anchor }} {{ include.anchorAttrs }}{% endcapture %}
84
+ {% endif %}
85
+
86
+ {% capture anchor %}<a {{ anchor }}>{{ include.anchorBody | replace: '%heading%', header | default: '' }}</a>{% endcapture %}
87
+
88
+ <!-- In order to prevent adding extra space after a heading, we'll let the 'anchor' value contain it -->
89
+ {% if beforeHeading %}
90
+ {% capture anchor %}{{ anchor }} {% endcapture %}
91
+ {% else %}
92
+ {% capture anchor %} {{ anchor }}{% endcapture %}
93
+ {% endif %}
94
+ {% endif %}
95
+
96
+ {% capture new_heading %}
97
+ <h{{ _hAttrToStrip }}
98
+ {{ include.bodyPrefix }}
99
+ {% if beforeHeading %}
100
+ {{ anchor }}{{ header }}
101
+ {% else %}
102
+ {{ header }}{{ anchor }}
103
+ {% endif %}
104
+ {{ include.bodySuffix }}
105
+ </h{{ _workspace | last }}
106
+ {% endcapture %}
107
+ {% capture edited_headings %}{{ edited_headings }}{{ new_heading }}{% endcapture %}
108
+ {% endfor %}
109
+ {% endcapture %}{% assign headingsWorkspace = '' %}{{ edited_headings | strip }}
@@ -0,0 +1,13 @@
1
+ {% if include.icon %}
2
+ {% capture fa_prefix -%}
3
+ {%- if include.brand -%}
4
+ fab
5
+ {%- else -%}
6
+ fas
7
+ {%- endif -%}
8
+ {%- endcapture -%}
9
+ <i
10
+ class="{{ fa_prefix }} fa-{{ include.icon }} fa-fw {{ include.class }}"
11
+ aria-hidden="true"
12
+ ></i>
13
+ {% endif %}
@@ -0,0 +1,4 @@
1
+ {% comment %}
2
+ This file was intentionally left blank so that it can be overriden by theme
3
+ developers. This file is loaded AFTER the footer's main body is loaded.
4
+ {% endcomment %}
@@ -0,0 +1,4 @@
1
+ {% comment %}
2
+ This file was intentionally left blank so that it can be overriden by theme
3
+ developers. This file is loaded BEFORE the footer's main body is loaded.
4
+ {% endcomment %}
@@ -0,0 +1,137 @@
1
+ <div class="container">
2
+ {% if site.social %}
3
+ <div class="site-footer__social-links">
4
+ <ul class="list-inline mb-2">
5
+ {% if site.social.github.user and site.social.github.repo %}
6
+ <li class="list-inline-item">
7
+ <iframe
8
+ class="github-btn"
9
+ src="https://ghbtns.com/github-btn.html?user={{ site.social.github.user }}&amp;repo={{ site.social.github.repo }}&amp;type=watch&amp;count=true"
10
+ width="90"
11
+ height="20"
12
+ title="Star on GitHub"
13
+ ></iframe>
14
+ </li>
15
+ <li class="list-inline-item">
16
+ <iframe
17
+ class="github-btn"
18
+ src="https://ghbtns.com/github-btn.html?user={{ site.social.github.user }}&amp;repo={{ site.social.github.repo }}&amp;type=fork&amp;count=true"
19
+ width="90"
20
+ height="20"
21
+ title="Fork on GitHub"
22
+ ></iframe>
23
+ </li>
24
+ {% endif %}
25
+ {% if site.social.twitter.enabled %}
26
+ <li class="list-inline-item">
27
+ <a
28
+ href="https://twitter.com/share"
29
+ class="twitter-share-button"
30
+ data-url="{{ site.github.url }}"
31
+ data-count="horizontal"
32
+ data-via="{{ site.social.twitter.via }}"
33
+ data-text="{{ site.name }}"
34
+ data-hashtags="{{ site.social.twitter.hash }}"
35
+ >
36
+ Tweet
37
+ </a>
38
+ </li>
39
+ {% endif %}
40
+ {% if site.twitter.account %}
41
+ <li class="list-inline-item">
42
+ <a
43
+ href="https://twitter.com/{{ site.social.twitter.account }}"
44
+ class="twitter-follow-button"
45
+ data-show-count="true"
46
+ >
47
+ Follow @{{ site.social.twitter.account }}
48
+ </a>
49
+ </li>
50
+ {% endif %}
51
+ {% if site.facebook.enabled %}
52
+ <li class="list-inline-item">
53
+ <div
54
+ class="fb-like"
55
+ data-href="{{ site.github.url }}"
56
+ data-layout="button_count"
57
+ data-action="like"
58
+ data-show-faces="false"
59
+ data-share="true"
60
+ ></div>
61
+ </li>
62
+ {% endif %}
63
+ {% if site.facebook.profileUrl %}
64
+ <li class="list-inline-item">
65
+ <div
66
+ class="fb-follow"
67
+ data-href="{{ site.social.facebook.profileUrl }}"
68
+ data-layout="button_count"
69
+ data-show-faces="false"
70
+ ></div>
71
+ </li>
72
+ {% endif %}
73
+ </ul>
74
+ </div>
75
+ {% endif %}
76
+
77
+ <div class="site-footer__body">
78
+ <div class="row align-items-center">
79
+ <div class="col-md-5">
80
+ {% if site.links.footer %}
81
+ <ul class="site-footer__links text-left list-inline mb-0">
82
+ {% for link in site.links.footer %}
83
+ <li class="list-inline-item">
84
+ <a
85
+ href="{{ link.url }}"
86
+ class="site-footer__link"
87
+ >
88
+ {% include fa-icon.html
89
+ icon=link.icon
90
+ brand=link.brand
91
+ %}
92
+ <span>{{ link.title }}</span>
93
+ </a>
94
+ </li>
95
+ {% endfor %}
96
+ </ul>
97
+ {% endif %}
98
+ </div>
99
+
100
+ <div class="col-md-7 text-left text-md-right">
101
+ {% if site.license %}
102
+ <div class="site-footer__summary">
103
+ {% assign software_and_docs = site.license.software and site.license.docs %}
104
+ {% assign one_or_the_other = site.license.software or site.license.docs %}
105
+
106
+ <p class="mb-0">
107
+ {%- if site.license.software -%}
108
+ Licensed under
109
+
110
+ {% if site.license.software_url -%}<a href="{{ site.license.software_url }}" target="_blank">{%- endif -%}
111
+ {{ site.license.software }}
112
+ {%- if site.license.software_url -%}</a>{%- endif -%}
113
+ {%- endif -%}
114
+
115
+ {%- if site.license.docs -%}
116
+ {%- if one_or_the_other -%}
117
+ , documentation under
118
+ {%- else -%}
119
+ Documentation under
120
+ {%- endif %}
121
+
122
+ {% if site.license.docs_url -%}<a href="{{ site.license.docs_url }}">{%- endif -%}
123
+ {{ site.license.docs }}
124
+ {%- if site.license.docs_url -%}</a>{%- endif -%}
125
+ {%- endif -%}
126
+ </p>
127
+
128
+ <p class="mb-0">
129
+ Documentation template by <a href="http://getbootstrap.com">Bootstrap team</a>, generated with
130
+ <a href="https://github.com/allejo/jekyll-docs-theme">Jekyll Docs Theme</a>
131
+ </p>
132
+ </div>
133
+ {% endif %}
134
+ </div>
135
+ </div>
136
+ </div>
137
+ </div>
@@ -0,0 +1,13 @@
1
+ <footer class="site-footer border-top mt-4 py-4 text-center" role="contentinfo">
2
+ {% include footer/content-pre.html %}
3
+ {% include footer/content.html %}
4
+ {% include footer/content-post.html %}
5
+ </footer>
6
+
7
+ {% include footer/scripts-pre.html %}
8
+ {% include footer/scripts.html %}
9
+ {% include footer/scripts-post.html %}
10
+
11
+ {% if site.analytics.google %}
12
+ {% include google-analytics.html %}
13
+ {% endif %}
@@ -0,0 +1,4 @@
1
+ {% comment %}
2
+ This file was intentionally left blank so that it can be overriden by theme
3
+ developers. This file is loaded AFTER the theme's JavaScript files are loaded.
4
+ {% endcomment %}
@@ -0,0 +1,4 @@
1
+ {% comment %}
2
+ This file was intentionally left blank so that it can be overriden by theme
3
+ developers. This file is loaded BEFORE the theme's JavaScript files are loaded.
4
+ {% endcomment %}
@@ -0,0 +1,48 @@
1
+ <!-- Bootstrap Related Dependencies -->
2
+ <script
3
+ src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.slim.js"
4
+ integrity="sha256-BTlTdQO9/fascB1drekrDVkaKd9PkwBymMlHOiG+qLI=" crossorigin="anonymous"
5
+ ></script>
6
+ <script
7
+ src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.1/popper.min.js"
8
+ integrity="sha256-O17BxFKtTt1tzzlkcYwgONw4K59H+r1iI8mSQXvSf5k=" crossorigin="anonymous"
9
+ ></script>
10
+ <script
11
+ src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.4.1/js/bootstrap.min.js"
12
+ integrity="sha256-WqU1JavFxSAMcLP2WIOI+GB2zWmShMI82mTpLDcqFUg=" crossorigin="anonymous"
13
+ ></script>
14
+
15
+ {% include internal/variables.html %}
16
+ {% if site_ui_header_trianglify %}
17
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.4.11/d3.min.js"></script>
18
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/trianglify/0.1.2/trianglify.min.js"></script>
19
+ <script>
20
+ let uiColors = [];
21
+
22
+ {% if site_ui_mode == 'auto' -%}
23
+ if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) {
24
+ uiColors = [
25
+ "{{ site_ui_header_dark_color1 }}",
26
+ "{{ site_ui_header_dark_color2 }}",
27
+ ];
28
+ } else {
29
+ uiColors = [
30
+ "{{ site_ui_header_light_color1 }}",
31
+ "{{ site_ui_header_light_color2 }}",
32
+ ];
33
+ }
34
+ {%- elsif site_ui_mode == "dark" -%}
35
+ uiColors = [
36
+ "{{ site_ui_header_dark_color1 }}",
37
+ "{{ site_ui_header_dark_color2 }}",
38
+ ];
39
+ {%- else -%}
40
+ uiColors = [
41
+ "{{ site_ui_header_light_color1 }}",
42
+ "{{ site_ui_header_light_color2 }}",
43
+ ];
44
+ {%- endif %}
45
+ </script>
46
+ {% endif %}
47
+
48
+ <script src="{{ '/assets/js/docs.js' | relative_url }}"></script>