just-the-docs 0.3.3 → 0.4.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +484 -0
  3. data/README.md +18 -5
  4. data/_includes/css/callouts.scss.liquid +93 -0
  5. data/_includes/css/just-the-docs.scss.liquid +2 -1
  6. data/_includes/favicon.html +1 -0
  7. data/_includes/head.html +6 -1
  8. data/_includes/icons/external_link.html +5 -0
  9. data/_includes/mermaid_config.js +1 -0
  10. data/_includes/nav.html +48 -5
  11. data/_includes/nav_footer_custom.html +0 -0
  12. data/_includes/search_placeholder_custom.html +1 -0
  13. data/_layouts/default.html +52 -29
  14. data/_sass/base.scss +5 -4
  15. data/_sass/buttons.scss +0 -2
  16. data/_sass/code.scss +20 -211
  17. data/_sass/color_schemes/dark.scss +15 -4
  18. data/_sass/color_schemes/light.scss +208 -0
  19. data/_sass/content.scss +27 -19
  20. data/_sass/custom/custom.scss +4 -0
  21. data/_sass/labels.scss +1 -2
  22. data/_sass/layout.scss +3 -2
  23. data/_sass/modules.scss +1 -5
  24. data/_sass/navigation.scss +29 -3
  25. data/_sass/print.scss +1 -1
  26. data/_sass/search.scss +1 -2
  27. data/_sass/support/_functions.scss +4 -4
  28. data/_sass/support/_variables.scss +8 -32
  29. data/_sass/support/mixins/_layout.scss +1 -1
  30. data/_sass/tables.scss +1 -2
  31. data/_sass/typography.scss +6 -6
  32. data/_sass/utilities/_colors.scss +0 -2
  33. data/_sass/utilities/_layout.scss +9 -3
  34. data/_sass/utilities/_lists.scss +1 -3
  35. data/_sass/utilities/_spacing.scss +1 -4
  36. data/_sass/utilities/_typography.scss +0 -6
  37. data/_sass/vendor/OneDarkJekyll/LICENSE +21 -0
  38. data/_sass/vendor/OneDarkJekyll/README.md +25 -0
  39. data/_sass/vendor/OneDarkJekyll/colors.less +30 -0
  40. data/_sass/vendor/OneDarkJekyll/syntax-firewatch-green.scss +200 -0
  41. data/_sass/vendor/OneDarkJekyll/syntax-firewatch.scss +200 -0
  42. data/_sass/vendor/OneDarkJekyll/syntax-one-dark-vivid.scss +200 -0
  43. data/_sass/vendor/OneDarkJekyll/syntax-one-dark.scss +200 -0
  44. data/_sass/vendor/OneDarkJekyll/syntax-variables.less +56 -0
  45. data/_sass/vendor/OneDarkJekyll/syntax.less +93 -0
  46. data/_sass/vendor/normalize.scss/normalize.scss +4 -2
  47. data/assets/images/large-image.jpg +0 -0
  48. data/assets/images/small-image.jpg +0 -0
  49. data/assets/js/just-the-docs.js +15 -2
  50. data/assets/js/zzzz-search-data.json +3 -3
  51. data/favicon.ico +0 -0
  52. data/lib/tasks/search.rake +1 -1
  53. metadata +36 -17
@@ -0,0 +1,200 @@
1
+ .highlight,
2
+ pre.highlight {
3
+ background: #31343f;
4
+ color: #dee2f7;
5
+ }
6
+ .highlight pre {
7
+ background: #31343f;
8
+ }
9
+ .highlight .hll {
10
+ background: #31343f;
11
+ }
12
+ .highlight .c {
13
+ color: #63677e;
14
+ font-style: italic;
15
+ }
16
+ .highlight .err {
17
+ color: #960050;
18
+ background-color: #1e0010;
19
+ }
20
+ .highlight .k {
21
+ color: #e19ef5;
22
+ }
23
+ .highlight .l {
24
+ color: #a3eea0;
25
+ }
26
+ .highlight .n {
27
+ color: #dee2f7;
28
+ }
29
+ .highlight .o {
30
+ color: #dee2f7;
31
+ }
32
+ .highlight .p {
33
+ color: #dee2f7;
34
+ }
35
+ .highlight .cm {
36
+ color: #63677e;
37
+ font-style: italic;
38
+ }
39
+ .highlight .cp {
40
+ color: #63677e;
41
+ font-style: italic;
42
+ }
43
+ .highlight .c1 {
44
+ color: #63677e;
45
+ font-style: italic;
46
+ }
47
+ .highlight .cs {
48
+ color: #63677e;
49
+ font-style: italic;
50
+ }
51
+ .highlight .ge {
52
+ font-style: italic;
53
+ }
54
+ .highlight .gs {
55
+ font-weight: 700;
56
+ }
57
+ .highlight .kc {
58
+ color: #e19ef5;
59
+ }
60
+ .highlight .kd {
61
+ color: #e19ef5;
62
+ }
63
+ .highlight .kn {
64
+ color: #e19ef5;
65
+ }
66
+ .highlight .kp {
67
+ color: #e19ef5;
68
+ }
69
+ .highlight .kr {
70
+ color: #e19ef5;
71
+ }
72
+ .highlight .kt {
73
+ color: #e19ef5;
74
+ }
75
+ .highlight .ld {
76
+ color: #a3eea0;
77
+ }
78
+ .highlight .m {
79
+ color: #eddc96;
80
+ }
81
+ .highlight .s {
82
+ color: #a3eea0;
83
+ }
84
+ .highlight .na {
85
+ color: #eddc96;
86
+ }
87
+ .highlight .nb {
88
+ color: #fdce68;
89
+ }
90
+ .highlight .nc {
91
+ color: #fdce68;
92
+ }
93
+ .highlight .no {
94
+ color: #fdce68;
95
+ }
96
+ .highlight .nd {
97
+ color: #fdce68;
98
+ }
99
+ .highlight .ni {
100
+ color: #fdce68;
101
+ }
102
+ .highlight .ne {
103
+ color: #fdce68;
104
+ }
105
+ .highlight .nf {
106
+ color: #dee2f7;
107
+ }
108
+ .highlight .nl {
109
+ color: #fdce68;
110
+ }
111
+ .highlight .nn {
112
+ color: #dee2f7;
113
+ }
114
+ .highlight .nx {
115
+ color: #dee2f7;
116
+ }
117
+ .highlight .py {
118
+ color: #fdce68;
119
+ }
120
+ .highlight .nt {
121
+ color: #f9867b;
122
+ }
123
+ .highlight .nv {
124
+ color: #fdce68;
125
+ }
126
+ .highlight .ow {
127
+ font-weight: 700;
128
+ }
129
+ .highlight .w {
130
+ color: #f8f8f2;
131
+ }
132
+ .highlight .mf {
133
+ color: #eddc96;
134
+ }
135
+ .highlight .mh {
136
+ color: #eddc96;
137
+ }
138
+ .highlight .mi {
139
+ color: #eddc96;
140
+ }
141
+ .highlight .mo {
142
+ color: #eddc96;
143
+ }
144
+ .highlight .sb {
145
+ color: #a3eea0;
146
+ }
147
+ .highlight .sc {
148
+ color: #a3eea0;
149
+ }
150
+ .highlight .sd {
151
+ color: #a3eea0;
152
+ }
153
+ .highlight .s2 {
154
+ color: #a3eea0;
155
+ }
156
+ .highlight .se {
157
+ color: #a3eea0;
158
+ }
159
+ .highlight .sh {
160
+ color: #a3eea0;
161
+ }
162
+ .highlight .si {
163
+ color: #a3eea0;
164
+ }
165
+ .highlight .sx {
166
+ color: #a3eea0;
167
+ }
168
+ .highlight .sr {
169
+ color: #7be2f9;
170
+ }
171
+ .highlight .s1 {
172
+ color: #a3eea0;
173
+ }
174
+ .highlight .ss {
175
+ color: #7be2f9;
176
+ }
177
+ .highlight .bp {
178
+ color: #fdce68;
179
+ }
180
+ .highlight .vc {
181
+ color: #fdce68;
182
+ }
183
+ .highlight .vg {
184
+ color: #fdce68;
185
+ }
186
+ .highlight .vi {
187
+ color: #f9867b;
188
+ }
189
+ .highlight .il {
190
+ color: #eddc96;
191
+ }
192
+ .highlight .gu {
193
+ color: #75715e;
194
+ }
195
+ .highlight .gd {
196
+ color: #f92672;
197
+ }
198
+ .highlight .gi {
199
+ color: #a6e22e;
200
+ }
@@ -0,0 +1,200 @@
1
+ .highlight,
2
+ pre.highlight {
3
+ background: #282c34;
4
+ color: #abb2bf;
5
+ }
6
+ .highlight pre {
7
+ background: #282c34;
8
+ }
9
+ .highlight .hll {
10
+ background: #282c34;
11
+ }
12
+ .highlight .c {
13
+ color: #5c6370;
14
+ font-style: italic;
15
+ }
16
+ .highlight .err {
17
+ color: #960050;
18
+ background-color: #1e0010;
19
+ }
20
+ .highlight .k {
21
+ color: #c678dd;
22
+ }
23
+ .highlight .l {
24
+ color: #98c379;
25
+ }
26
+ .highlight .n {
27
+ color: #abb2bf;
28
+ }
29
+ .highlight .o {
30
+ color: #abb2bf;
31
+ }
32
+ .highlight .p {
33
+ color: #abb2bf;
34
+ }
35
+ .highlight .cm {
36
+ color: #5c6370;
37
+ font-style: italic;
38
+ }
39
+ .highlight .cp {
40
+ color: #5c6370;
41
+ font-style: italic;
42
+ }
43
+ .highlight .c1 {
44
+ color: #5c6370;
45
+ font-style: italic;
46
+ }
47
+ .highlight .cs {
48
+ color: #5c6370;
49
+ font-style: italic;
50
+ }
51
+ .highlight .ge {
52
+ font-style: italic;
53
+ }
54
+ .highlight .gs {
55
+ font-weight: 700;
56
+ }
57
+ .highlight .kc {
58
+ color: #c678dd;
59
+ }
60
+ .highlight .kd {
61
+ color: #c678dd;
62
+ }
63
+ .highlight .kn {
64
+ color: #c678dd;
65
+ }
66
+ .highlight .kp {
67
+ color: #c678dd;
68
+ }
69
+ .highlight .kr {
70
+ color: #c678dd;
71
+ }
72
+ .highlight .kt {
73
+ color: #c678dd;
74
+ }
75
+ .highlight .ld {
76
+ color: #98c379;
77
+ }
78
+ .highlight .m {
79
+ color: #d19a66;
80
+ }
81
+ .highlight .s {
82
+ color: #98c379;
83
+ }
84
+ .highlight .na {
85
+ color: #d19a66;
86
+ }
87
+ .highlight .nb {
88
+ color: #e5c07b;
89
+ }
90
+ .highlight .nc {
91
+ color: #e5c07b;
92
+ }
93
+ .highlight .no {
94
+ color: #e5c07b;
95
+ }
96
+ .highlight .nd {
97
+ color: #e5c07b;
98
+ }
99
+ .highlight .ni {
100
+ color: #e5c07b;
101
+ }
102
+ .highlight .ne {
103
+ color: #e5c07b;
104
+ }
105
+ .highlight .nf {
106
+ color: #abb2bf;
107
+ }
108
+ .highlight .nl {
109
+ color: #e5c07b;
110
+ }
111
+ .highlight .nn {
112
+ color: #abb2bf;
113
+ }
114
+ .highlight .nx {
115
+ color: #abb2bf;
116
+ }
117
+ .highlight .py {
118
+ color: #e5c07b;
119
+ }
120
+ .highlight .nt {
121
+ color: #e06c75;
122
+ }
123
+ .highlight .nv {
124
+ color: #e5c07b;
125
+ }
126
+ .highlight .ow {
127
+ font-weight: 700;
128
+ }
129
+ .highlight .w {
130
+ color: #f8f8f2;
131
+ }
132
+ .highlight .mf {
133
+ color: #d19a66;
134
+ }
135
+ .highlight .mh {
136
+ color: #d19a66;
137
+ }
138
+ .highlight .mi {
139
+ color: #d19a66;
140
+ }
141
+ .highlight .mo {
142
+ color: #d19a66;
143
+ }
144
+ .highlight .sb {
145
+ color: #98c379;
146
+ }
147
+ .highlight .sc {
148
+ color: #98c379;
149
+ }
150
+ .highlight .sd {
151
+ color: #98c379;
152
+ }
153
+ .highlight .s2 {
154
+ color: #98c379;
155
+ }
156
+ .highlight .se {
157
+ color: #98c379;
158
+ }
159
+ .highlight .sh {
160
+ color: #98c379;
161
+ }
162
+ .highlight .si {
163
+ color: #98c379;
164
+ }
165
+ .highlight .sx {
166
+ color: #98c379;
167
+ }
168
+ .highlight .sr {
169
+ color: #56b6c2;
170
+ }
171
+ .highlight .s1 {
172
+ color: #98c379;
173
+ }
174
+ .highlight .ss {
175
+ color: #56b6c2;
176
+ }
177
+ .highlight .bp {
178
+ color: #e5c07b;
179
+ }
180
+ .highlight .vc {
181
+ color: #e5c07b;
182
+ }
183
+ .highlight .vg {
184
+ color: #e5c07b;
185
+ }
186
+ .highlight .vi {
187
+ color: #e06c75;
188
+ }
189
+ .highlight .il {
190
+ color: #d19a66;
191
+ }
192
+ .highlight .gu {
193
+ color: #75715e;
194
+ }
195
+ .highlight .gd {
196
+ color: #f92672;
197
+ }
198
+ .highlight .gi {
199
+ color: #a6e22e;
200
+ }
@@ -0,0 +1,56 @@
1
+ @import "colors.less";
2
+
3
+ // Official Syntax Variables -----------------------------------
4
+
5
+ // General colors
6
+ @syntax-text-color: @syntax-fg;
7
+ @syntax-cursor-color: @syntax-accent;
8
+ @syntax-selection-color: lighten(@syntax-background-color, 10%);
9
+ @syntax-selection-flash-color: @syntax-accent;
10
+ @syntax-background-color: @syntax-bg;
11
+
12
+ // Guide colors
13
+ @syntax-wrap-guide-color: @syntax-guide;
14
+ @syntax-indent-guide-color: @syntax-guide;
15
+ @syntax-invisible-character-color: @syntax-guide;
16
+
17
+ // For find and replace markers
18
+ @syntax-result-marker-color: fade(@syntax-accent, 24%);
19
+ @syntax-result-marker-color-selected: @syntax-accent;
20
+
21
+ // Gutter colors
22
+ @syntax-gutter-text-color: @syntax-gutter;
23
+ @syntax-gutter-text-color-selected: @syntax-fg;
24
+ @syntax-gutter-background-color: @syntax-bg; // unused
25
+ @syntax-gutter-background-color-selected: lighten(@syntax-bg, 2%);
26
+
27
+ // Git colors - For git diff info. i.e. in the gutter
28
+ @syntax-color-renamed: hsl(208, 100%, 60%);
29
+ @syntax-color-added: hsl(150, 60%, 54%);
30
+ @syntax-color-modified: hsl(40, 60%, 70%);
31
+ @syntax-color-removed: hsl(0, 70%, 60%);
32
+
33
+ // For language entity colors
34
+ @syntax-color-variable: @hue-5;
35
+ @syntax-color-constant: @hue-6;
36
+ @syntax-color-property: @syntax-fg;
37
+ @syntax-color-value: @syntax-fg;
38
+ @syntax-color-function: @hue-2;
39
+ @syntax-color-method: @hue-2;
40
+ @syntax-color-class: @hue-6-2;
41
+ @syntax-color-keyword: @hue-3;
42
+ @syntax-color-tag: @hue-5;
43
+ @syntax-color-attribute: @hue-6;
44
+ @syntax-color-import: @hue-3;
45
+ @syntax-color-snippet: @hue-4;
46
+
47
+
48
+ // Custom Syntax Variables -----------------------------------
49
+ // Don't use in packages
50
+
51
+ @syntax-cursor-line: hsla(@syntax-hue, 100%, 80%, .04); // needs to be semi-transparent to show search results
52
+
53
+ @syntax-deprecated-fg: darken(@syntax-color-modified, 50%);
54
+ @syntax-deprecated-bg: @syntax-color-modified;
55
+ @syntax-illegal-fg: white;
56
+ @syntax-illegal-bg: @syntax-color-removed;
@@ -0,0 +1,93 @@
1
+ /*
2
+ LESS for Pygments
3
+ */
4
+
5
+ @import "syntax-variables.less";
6
+
7
+ pre.highlight,
8
+ .highlight {
9
+ background: @syntax-bg;
10
+ color: @mono-1;
11
+ }
12
+ .highlight {
13
+ pre { background: @syntax-bg; }
14
+ .hll { background: @syntax-bg; }
15
+ .c { color: @mono-3; font-style: italic; } /* Comment */
16
+ .err { color: @syntax-illegal-fg; background-color: @syntax-illegal-bg; } /* Error */
17
+ .k { color: @hue-3; } /* Keyword */
18
+ .l { color: @hue-4; } /* Literal */
19
+ .n { color: @mono-1; } /* Name */
20
+ .o { color: @mono-1; } /* Operator */
21
+ .p { color: @mono-1; } /* Punctuation */
22
+ .cm { color: @mono-3; font-style: italic; } /* Comment.Multiline */
23
+ .cp { color: @mono-3; font-style: italic; } /* Comment.Preproc */
24
+ .c1 { color: @mono-3; font-style: italic; } /* Comment.Single */
25
+ .cs { color: @mono-3; font-style: italic; } /* Comment.Special */
26
+ .ge { font-style: italic } /* Generic.Emph */
27
+ .gs { font-weight: bold } /* Generic.Strong */
28
+ .kc { color: @hue-3; } /* Keyword.Constant */
29
+ .kd { color: @hue-3; } /* Keyword.Declaration */
30
+ .kn { color: @hue-3; } /* Keyword.Namespace */
31
+ .kp { color: @hue-3; } /* Keyword.Pseudo */
32
+ .kr { color: @hue-3; } /* Keyword.Reserved */
33
+ .kt { color: @hue-3; } /* Keyword.Type */
34
+ .ld { color: @hue-4; } /* Literal.Date */
35
+ .m { color: @hue-6; } /* Literal.Number */
36
+ .s { color: @hue-4; } /* Literal.String */
37
+ .na { color: @hue-6; } /* Name.Attribute */
38
+ .nb { color: @hue-6-2; } /* Name.Builtin */
39
+ .nc { color: @hue-6-2; } /* Name.Class */
40
+ .no { color: @hue-6-2; } /* Name.Constant */
41
+ .nd { color: @hue-6-2; } /* Name.Decorator */
42
+ .ni { color: @hue-6-2; } /* Name.Entity */
43
+ .ne { color: @hue-6-2; } /* Name.Exception */
44
+ .nf { color: @mono-1; } /* Name.Function */
45
+ .nl { color: @hue-6-2; } /* Name.Label */
46
+ .nn { color: @mono-1; } /* Name.Namespace */
47
+ .nx { color: @mono-1; } /* Name.Other */
48
+ .py { color: @hue-6-2; } /* Name.Property */
49
+ .nt { color: @hue-5; } /* Name.Tag */
50
+ .nv { color: @hue-6-2; } /* Name.Variable */
51
+ .ow { font-weight: bold; } /* Operator.Word */
52
+ .w { color: #f8f8f2 } /* Text.Whitespace */
53
+ .mf { color: @hue-6; } /* Literal.Number.Float */
54
+ .mh { color: @hue-6; } /* Literal.Number.Hex */
55
+ .mi { color: @hue-6; } /* Literal.Number.Integer */
56
+ .mo { color: @hue-6; } /* Literal.Number.Oct */
57
+ .sb { color: @hue-4; } /* Literal.String.Backtick */
58
+ .sc { color: @hue-4; } /* Literal.String.Char */
59
+ .sd { color: @hue-4; } /* Literal.String.Doc */
60
+ .s2 { color: @hue-4; } /* Literal.String.Double */
61
+ .se { color: @hue-4; } /* Literal.String.Escape */
62
+ .sh { color: @hue-4; } /* Literal.String.Heredoc */
63
+ .si { color: @hue-4; } /* Literal.String.Interpol */
64
+ .sx { color: @hue-4; } /* Literal.String.Other */
65
+ .sr { color: @hue-1; } /* Literal.String.Regex */
66
+ .s1 { color: @hue-4; } /* Literal.String.Single */
67
+ .ss { color: @hue-1; } /* Literal.String.Symbol */
68
+ .bp { color: @hue-6-2; } /* Name.Builtin.Pseudo */
69
+ .vc { color: @hue-6-2; } /* Name.Variable.Class */
70
+ .vg { color: @hue-6-2; } /* Name.Variable.Global */
71
+ .vi { color: @hue-5; } /* Name.Variable.Instance */
72
+ .il { color: @hue-6; } /* Literal.Number.Integer.Long */
73
+
74
+ .gh { } /* Generic Heading & Diff Header */
75
+ .gu { color: #75715e; } /* Generic.Subheading & Diff Unified/Comment? */
76
+ .gd { color: @syntax-color-removed; } /* Generic.Deleted & Diff Deleted */
77
+ .gi { color: @syntax-color-added; } /* Generic.Inserted & Diff Inserted */
78
+
79
+ ::selection { background-color: @syntax-selection-color; }
80
+
81
+ .language-json {
82
+ .w + .s2 { color: @hue-5; }
83
+ .kc { color: @hue-1; }
84
+ }
85
+
86
+ .language-python {
87
+ // python related modifications
88
+ }
89
+
90
+ .language-csharp {
91
+ // csharp related modifications
92
+ }
93
+ }
@@ -174,7 +174,8 @@ textarea {
174
174
  */
175
175
 
176
176
  button,
177
- input { /* 1 */
177
+ input {
178
+ /* 1 */
178
179
  overflow: visible;
179
180
  }
180
181
 
@@ -184,7 +185,8 @@ input { /* 1 */
184
185
  */
185
186
 
186
187
  button,
187
- select { /* 1 */
188
+ select {
189
+ /* 1 */
188
190
  text-transform: none;
189
191
  }
190
192
 
Binary file
Binary file
@@ -69,7 +69,7 @@ function initNav() {
69
69
 
70
70
  function initSearch() {
71
71
  var request = new XMLHttpRequest();
72
- request.open('GET', '{{ "assets/js/search-data.json" | absolute_url }}', true);
72
+ request.open('GET', '{{ "assets/js/search-data.json" | relative_url }}', true);
73
73
 
74
74
  request.onload = function(){
75
75
  if (request.status >= 200 && request.status < 400) {
@@ -454,7 +454,19 @@ jtd.getTheme = function() {
454
454
 
455
455
  jtd.setTheme = function(theme) {
456
456
  var cssFile = document.querySelector('[rel="stylesheet"]');
457
- cssFile.setAttribute('href', '{{ "assets/css/just-the-docs-" | absolute_url }}' + theme + '.css');
457
+ cssFile.setAttribute('href', '{{ "assets/css/just-the-docs-" | relative_url }}' + theme + '.css');
458
+ }
459
+
460
+ // Scroll site-nav to ensure the link to the current page is visible
461
+
462
+ function scrollNav() {
463
+ const href = document.location.pathname;
464
+ const siteNav = document.getElementById('site-nav');
465
+ const targetLink = siteNav.querySelector('a[href="' + href + '"], a[href="' + href + '/"]');
466
+ if(targetLink){
467
+ const rect = targetLink.getBoundingClientRect();
468
+ siteNav.scrollBy(0, rect.top - 3*rect.height);
469
+ }
458
470
  }
459
471
 
460
472
  // Document ready
@@ -464,6 +476,7 @@ jtd.onReady(function(){
464
476
  {%- if site.search_enabled != false %}
465
477
  initSearch();
466
478
  {%- endif %}
479
+ scrollNav();
467
480
  });
468
481
 
469
482
  })(window.jtd = window.jtd || {});
@@ -3,7 +3,7 @@ permalink: /assets/js/search-data.json
3
3
  ---
4
4
  {
5
5
  {%- assign i = 0 -%}
6
- {%- assign pages_array = '' | split: '' -%}
6
+ {%- assign pages_array = "" | split: "" -%}
7
7
  {%- assign pages_array = pages_array | push: site.html_pages -%}
8
8
  {%- if site.just_the_docs.collections -%}
9
9
  {%- for collection_entry in site.just_the_docs.collections -%}
@@ -50,7 +50,7 @@ permalink: /assets/js/search-data.json
50
50
  "doc": {{ page.title | jsonify }},
51
51
  "title": {{ title | jsonify }},
52
52
  "content": {{ content | replace: '</h', ' . </h' | replace: '<hr', ' . <hr' | replace: '</p', ' . </p' | replace: '<ul', ' . <ul' | replace: '</ul', ' . </ul' | replace: '<ol', ' . <ol' | replace: '</ol', ' . </ol' | replace: '</tr', ' . </tr' | replace: '<li', ' | <li' | replace: '</li', ' | </li' | replace: '</td', ' | </td' | replace: '<td', ' | <td' | replace: '</th', ' | </th' | replace: '<th', ' | <th' | strip_html | remove: 'Table of contents' | normalize_whitespace | replace: '. . .', '.' | replace: '. .', '.' | replace: '| |', '|' | append: ' ' | jsonify }},
53
- "url": "{{ url | absolute_url }}",
53
+ "url": "{{ url | relative_url }}",
54
54
  "relUrl": "{{ url }}"
55
55
  }
56
56
  {%- assign i = i | plus: 1 -%}
@@ -61,7 +61,7 @@ permalink: /assets/js/search-data.json
61
61
  "doc": {{ page.title | jsonify }},
62
62
  "title": {{ page.title | jsonify }},
63
63
  "content": {{ parts[0] | replace: '</h', ' . </h' | replace: '<hr', ' . <hr' | replace: '</p', ' . </p' | replace: '<ul', ' . <ul' | replace: '</ul', ' . </ul' | replace: '<ol', ' . <ol' | replace: '</ol', ' . </ol' | replace: '</tr', ' . </tr' | replace: '<li', ' | <li' | replace: '</li', ' | </li' | replace: '</td', ' | </td' | replace: '<td', ' | <td' | replace: '</th', ' | </th' | replace: '<th', ' | <th' | strip_html | remove: 'Table of contents' | normalize_whitespace | replace: '. . .', '.' | replace: '. .', '.' | replace: '| |', '|' | append: ' ' | jsonify }},
64
- "url": "{{ page.url | absolute_url }}",
64
+ "url": "{{ page.url | relative_url }}",
65
65
  "relUrl": "{{ page.url }}"
66
66
  }
67
67
  {%- assign i = i | plus: 1 -%}
data/favicon.ico ADDED
Binary file
@@ -13,7 +13,7 @@ permalink: /assets/js/search-data.json
13
13
  ---
14
14
  {
15
15
  {%- assign i = 0 -%}
16
- {%- assign pages_array = '' | split: '' -%}
16
+ {%- assign pages_array = "" | split: "" -%}
17
17
  {%- assign pages_array = pages_array | push: site.html_pages -%}
18
18
  {%- if site.just_the_docs.collections -%}
19
19
  {%- for collection_entry in site.just_the_docs.collections -%}