jekyll-docs-theme 0.1.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.md +20 -16
- data/README.md +11 -34
- data/_includes/fa-icon.html +13 -0
- data/_includes/footer/content-post.html +4 -0
- data/_includes/footer/content-pre.html +4 -0
- data/_includes/footer/content.html +137 -0
- data/_includes/footer/full.html +13 -0
- data/_includes/footer/scripts-post.html +4 -0
- data/_includes/footer/scripts-pre.html +4 -0
- data/_includes/footer/scripts.html +48 -0
- data/_includes/head/base.html +3 -0
- data/_includes/head/content-post.html +0 -0
- data/_includes/head/content-pre.html +0 -0
- data/_includes/head/content.html +8 -0
- data/_includes/head/full.html +9 -0
- data/_includes/head/stylesheets-post.html +0 -0
- data/_includes/head/stylesheets-pre.html +0 -0
- data/_includes/head/stylesheets.html +16 -0
- data/_includes/internal/variables.html +21 -0
- data/_includes/jekyll-docs-theme/anchor_headings.html +34 -0
- data/_includes/jekyll-docs-theme/toc.html +38 -0
- data/_includes/jekyll-docs-theme/vendor/anchor_headings.html +110 -0
- data/_includes/jekyll-docs-theme/vendor/toc.html +112 -0
- data/_includes/masthead.html +13 -0
- data/_includes/masthead/button.html +11 -0
- data/_includes/masthead/buttons.html +30 -0
- data/_includes/masthead/title.html +7 -0
- data/_includes/navigation.html +50 -20
- data/_includes/sidebar/content-post.html +0 -0
- data/_includes/sidebar/content-pre.html +0 -0
- data/_includes/sidebar/content.html +10 -0
- data/_layouts/default.html +10 -4
- data/_layouts/full.html +5 -3
- data/_layouts/page.html +31 -11
- data/_sass/abstracts/_highlight-dark.scss +136 -0
- data/_sass/abstracts/_highlight-light.scss +251 -0
- data/_sass/abstracts/_themer.scss +18 -0
- data/_sass/abstracts/_variables.scss +6 -0
- data/_sass/base/_anchor.scss +20 -0
- data/_sass/base/_blockquote.scss +19 -0
- data/_sass/base/_body.scss +12 -0
- data/_sass/base/_horizontal-rule.scss +9 -0
- data/_sass/base/_scope-markdown.scss +108 -0
- data/_sass/components/_alert.scss +5 -0
- data/_sass/components/_footer.scss +39 -0
- data/_sass/components/_header.scss +22 -0
- data/_sass/components/_highlight.scss +59 -0
- data/_sass/components/_masthead.scss +62 -0
- data/_sass/components/_mobile-toc.scss +30 -0
- data/_sass/components/_sidebar.scss +86 -0
- data/_sass/utilities/_colors.scss +301 -0
- data/_sass/utilities/_js.scss +3 -0
- data/assets/css/styles.scss +40 -50
- data/assets/js/docs.js +49 -0
- metadata +54 -26
- data/_includes/footer.html +0 -91
- data/_includes/head.html +0 -26
- data/_includes/jumbotron.html +0 -21
- data/assets/css/docs.css +0 -1527
- data/assets/js/docs.min.js +0 -49
data/_layouts/full.html
CHANGED
@@ -2,8 +2,10 @@
|
|
2
2
|
layout: default
|
3
3
|
---
|
4
4
|
|
5
|
-
<div class="container
|
6
|
-
<
|
5
|
+
<div class="container">
|
6
|
+
<main class="layout-full__main scope-markdown">
|
7
|
+
{% include jekyll-docs-theme/anchor_headings.html %}
|
8
|
+
</main>
|
7
9
|
|
8
10
|
{% include disqus.html %}
|
9
|
-
</div>
|
11
|
+
</div>
|
data/_layouts/page.html
CHANGED
@@ -3,19 +3,39 @@ layout: default
|
|
3
3
|
---
|
4
4
|
|
5
5
|
<div class="container">
|
6
|
-
<div class="
|
7
|
-
<
|
8
|
-
<
|
9
|
-
|
6
|
+
<div class="row">
|
7
|
+
<main class="col-md-9 layout-page__main">
|
8
|
+
<section class="mobile-toc border mb-3 p-3 d-md-none">
|
9
|
+
<div class="d-flex align-items-center">
|
10
|
+
<h2 class="mb-0">Table of Contents</h2>
|
10
11
|
|
11
|
-
|
12
|
-
|
12
|
+
<button
|
13
|
+
class="js-only ml-2 toggle-toc"
|
14
|
+
aria-controls="mobileTOC"
|
15
|
+
aria-label="Toggle table of contents"
|
16
|
+
aria-expanded="true"
|
17
|
+
>
|
18
|
+
<span aria-hidden="true" data-role="toggle">Hide</span>
|
19
|
+
</button>
|
20
|
+
</div>
|
13
21
|
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
22
|
+
{% include jekyll-docs-theme/toc.html
|
23
|
+
class="js-toc.mb-0.mt-2"
|
24
|
+
id="mobileTOC"
|
25
|
+
%}
|
26
|
+
</section>
|
27
|
+
|
28
|
+
<section class="scope-markdown">
|
29
|
+
{% include jekyll-docs-theme/anchor_headings.html %}
|
30
|
+
</section>
|
31
|
+
</main>
|
32
|
+
|
33
|
+
<aside class="col-md-3 layout-page__sidebar d-none d-md-block hidden-print">
|
34
|
+
{% include sidebar/content-pre.html %}
|
35
|
+
{% include sidebar/content.html %}
|
36
|
+
{% include sidebar/content-pre.html %}
|
37
|
+
</aside>
|
18
38
|
</div>
|
19
39
|
|
20
40
|
{% include disqus.html %}
|
21
|
-
</div>
|
41
|
+
</div>
|
@@ -0,0 +1,136 @@
|
|
1
|
+
@mixin highlight-dark-theme() {
|
2
|
+
// "Zenburn" Theme
|
3
|
+
// https://github.com/jwarby/jekyll-pygments-themes
|
4
|
+
|
5
|
+
.highlight .hll {
|
6
|
+
background-color:#222;
|
7
|
+
}
|
8
|
+
|
9
|
+
.highlight .err {
|
10
|
+
color:#e37170;
|
11
|
+
background-color:#3d3535;
|
12
|
+
}
|
13
|
+
|
14
|
+
.highlight .k {
|
15
|
+
color:#f0dfaf;
|
16
|
+
}
|
17
|
+
|
18
|
+
.highlight .p {
|
19
|
+
color:#41706f;
|
20
|
+
}
|
21
|
+
|
22
|
+
.highlight .cs {
|
23
|
+
color:#cd0000;
|
24
|
+
font-weight:700;
|
25
|
+
}
|
26
|
+
|
27
|
+
.highlight .gd {
|
28
|
+
color:#cd0000;
|
29
|
+
}
|
30
|
+
|
31
|
+
.highlight .ge {
|
32
|
+
color:#ccc;
|
33
|
+
font-style:italic;
|
34
|
+
}
|
35
|
+
|
36
|
+
.highlight .gr {
|
37
|
+
color:red;
|
38
|
+
}
|
39
|
+
|
40
|
+
.highlight .go {
|
41
|
+
color:gray;
|
42
|
+
}
|
43
|
+
|
44
|
+
.highlight .gs {
|
45
|
+
color:#ccc;
|
46
|
+
font-weight:700;
|
47
|
+
}
|
48
|
+
|
49
|
+
.highlight .gu {
|
50
|
+
color:purple;
|
51
|
+
font-weight:700;
|
52
|
+
}
|
53
|
+
|
54
|
+
.highlight .gt {
|
55
|
+
color:#0040D0;
|
56
|
+
}
|
57
|
+
|
58
|
+
.highlight .kc {
|
59
|
+
color:#dca3a3;
|
60
|
+
}
|
61
|
+
|
62
|
+
.highlight .kd {
|
63
|
+
color:#ffff86;
|
64
|
+
}
|
65
|
+
|
66
|
+
.highlight .kn {
|
67
|
+
color:#dfaf8f;
|
68
|
+
font-weight:700;
|
69
|
+
}
|
70
|
+
|
71
|
+
.highlight .kp {
|
72
|
+
color:#cdcf99;
|
73
|
+
}
|
74
|
+
|
75
|
+
.highlight .kr {
|
76
|
+
color:#cdcd00;
|
77
|
+
}
|
78
|
+
|
79
|
+
.highlight .ni {
|
80
|
+
color:#c28182;
|
81
|
+
}
|
82
|
+
|
83
|
+
.highlight .ne {
|
84
|
+
color:#c3bf9f;
|
85
|
+
font-weight:700;
|
86
|
+
}
|
87
|
+
|
88
|
+
.highlight .nn {
|
89
|
+
color:#8fbede;
|
90
|
+
}
|
91
|
+
|
92
|
+
.highlight .vi {
|
93
|
+
color:#ffffc7;
|
94
|
+
}
|
95
|
+
|
96
|
+
.highlight .c,.preview-zenburn .highlight .g,.preview-zenburn .highlight .cm,.preview-zenburn .highlight .cp,.preview-zenburn .highlight .c1 {
|
97
|
+
color:#7f9f7f;
|
98
|
+
}
|
99
|
+
|
100
|
+
.highlight .l,.preview-zenburn .highlight .x,.preview-zenburn .highlight .no,.preview-zenburn .highlight .nd,.preview-zenburn .highlight .nl,.preview-zenburn .highlight .nx,.preview-zenburn .highlight .py,.preview-zenburn .highlight .w {
|
101
|
+
color:#ccc;
|
102
|
+
}
|
103
|
+
|
104
|
+
.highlight .n,.preview-zenburn .highlight .nv,.preview-zenburn .highlight .vg {
|
105
|
+
color:#dcdccc;
|
106
|
+
}
|
107
|
+
|
108
|
+
.highlight .o,.preview-zenburn .highlight .ow {
|
109
|
+
color:#f0efd0;
|
110
|
+
}
|
111
|
+
|
112
|
+
.highlight .gh,.preview-zenburn .highlight .gp {
|
113
|
+
color:#dcdccc;
|
114
|
+
font-weight:700;
|
115
|
+
}
|
116
|
+
|
117
|
+
.highlight .gi,.preview-zenburn .highlight .kt {
|
118
|
+
color:#00cd00;
|
119
|
+
}
|
120
|
+
|
121
|
+
.highlight .ld,.preview-zenburn .highlight .s,.preview-zenburn .highlight .sb,.preview-zenburn .highlight .sc,.preview-zenburn .highlight .sd,.preview-zenburn .highlight .s2,.preview-zenburn .highlight .se,.preview-zenburn .highlight .sh,.preview-zenburn .highlight .si,.preview-zenburn .highlight .sx,.preview-zenburn .highlight .sr,.preview-zenburn .highlight .s1,.preview-zenburn .highlight .ss {
|
122
|
+
color:#cc9393;
|
123
|
+
}
|
124
|
+
|
125
|
+
.highlight .m,.preview-zenburn .highlight .mf,.preview-zenburn .highlight .mh,.preview-zenburn .highlight .mi,.preview-zenburn .highlight .mo,.preview-zenburn .highlight .il {
|
126
|
+
color:#8cd0d3;
|
127
|
+
}
|
128
|
+
|
129
|
+
.highlight .na,.preview-zenburn .highlight .nt {
|
130
|
+
color:#9ac39f;
|
131
|
+
}
|
132
|
+
|
133
|
+
.highlight .nb,.preview-zenburn .highlight .nc,.preview-zenburn .highlight .nf,.preview-zenburn .highlight .bp,.preview-zenburn .highlight .vc {
|
134
|
+
color:#efef8f;
|
135
|
+
}
|
136
|
+
}
|
@@ -0,0 +1,251 @@
|
|
1
|
+
@mixin highlight-light-theme() {
|
2
|
+
.hll {
|
3
|
+
background-color: #ffc
|
4
|
+
}
|
5
|
+
|
6
|
+
.c {
|
7
|
+
color: #999
|
8
|
+
}
|
9
|
+
|
10
|
+
.err {
|
11
|
+
color: #A00;
|
12
|
+
background-color: #FAA
|
13
|
+
}
|
14
|
+
|
15
|
+
.k {
|
16
|
+
color: #069
|
17
|
+
}
|
18
|
+
|
19
|
+
.o {
|
20
|
+
color: #555
|
21
|
+
}
|
22
|
+
|
23
|
+
.cm {
|
24
|
+
color: #999
|
25
|
+
}
|
26
|
+
|
27
|
+
.cp {
|
28
|
+
color: #099
|
29
|
+
}
|
30
|
+
|
31
|
+
.c1 {
|
32
|
+
color: #999
|
33
|
+
}
|
34
|
+
|
35
|
+
.cs {
|
36
|
+
color: #999
|
37
|
+
}
|
38
|
+
|
39
|
+
.gd {
|
40
|
+
background-color: #FCC;
|
41
|
+
border: 1px solid #C00
|
42
|
+
}
|
43
|
+
|
44
|
+
.ge {
|
45
|
+
font-style: italic
|
46
|
+
}
|
47
|
+
|
48
|
+
.gr {
|
49
|
+
color: red
|
50
|
+
}
|
51
|
+
|
52
|
+
.gh {
|
53
|
+
color: #030
|
54
|
+
}
|
55
|
+
|
56
|
+
.gi {
|
57
|
+
background-color: #CFC;
|
58
|
+
border: 1px solid #0C0
|
59
|
+
}
|
60
|
+
|
61
|
+
.go {
|
62
|
+
color: #AAA
|
63
|
+
}
|
64
|
+
|
65
|
+
.gp {
|
66
|
+
color: #009
|
67
|
+
}
|
68
|
+
|
69
|
+
.gu {
|
70
|
+
color: #030
|
71
|
+
}
|
72
|
+
|
73
|
+
.gt {
|
74
|
+
color: #9C6
|
75
|
+
}
|
76
|
+
|
77
|
+
.kc {
|
78
|
+
color: #069
|
79
|
+
}
|
80
|
+
|
81
|
+
.kd {
|
82
|
+
color: #069
|
83
|
+
}
|
84
|
+
|
85
|
+
.kn {
|
86
|
+
color: #069
|
87
|
+
}
|
88
|
+
|
89
|
+
.kp {
|
90
|
+
color: #069
|
91
|
+
}
|
92
|
+
|
93
|
+
.kr {
|
94
|
+
color: #069
|
95
|
+
}
|
96
|
+
|
97
|
+
.kt {
|
98
|
+
color: #078
|
99
|
+
}
|
100
|
+
|
101
|
+
.m {
|
102
|
+
color: #F60
|
103
|
+
}
|
104
|
+
|
105
|
+
.s {
|
106
|
+
color: #d44950
|
107
|
+
}
|
108
|
+
|
109
|
+
.na {
|
110
|
+
color: #4f9fcf
|
111
|
+
}
|
112
|
+
|
113
|
+
.nb {
|
114
|
+
color: #366
|
115
|
+
}
|
116
|
+
|
117
|
+
.nc {
|
118
|
+
color: #0A8
|
119
|
+
}
|
120
|
+
|
121
|
+
.no {
|
122
|
+
color: #360
|
123
|
+
}
|
124
|
+
|
125
|
+
.nd {
|
126
|
+
color: #99F
|
127
|
+
}
|
128
|
+
|
129
|
+
.ni {
|
130
|
+
color: #999
|
131
|
+
}
|
132
|
+
|
133
|
+
.ne {
|
134
|
+
color: #C00
|
135
|
+
}
|
136
|
+
|
137
|
+
.nf {
|
138
|
+
color: #C0F
|
139
|
+
}
|
140
|
+
|
141
|
+
.nl {
|
142
|
+
color: #99F
|
143
|
+
}
|
144
|
+
|
145
|
+
.nn {
|
146
|
+
color: #0CF
|
147
|
+
}
|
148
|
+
|
149
|
+
.nt {
|
150
|
+
color: #2f6f9f
|
151
|
+
}
|
152
|
+
|
153
|
+
.nv {
|
154
|
+
color: #033
|
155
|
+
}
|
156
|
+
|
157
|
+
.ow {
|
158
|
+
color: #000
|
159
|
+
}
|
160
|
+
|
161
|
+
.w {
|
162
|
+
color: #bbb
|
163
|
+
}
|
164
|
+
|
165
|
+
.mf {
|
166
|
+
color: #F60
|
167
|
+
}
|
168
|
+
|
169
|
+
.mh {
|
170
|
+
color: #F60
|
171
|
+
}
|
172
|
+
|
173
|
+
.mi {
|
174
|
+
color: #F60
|
175
|
+
}
|
176
|
+
|
177
|
+
.mo {
|
178
|
+
color: #F60
|
179
|
+
}
|
180
|
+
|
181
|
+
.sb {
|
182
|
+
color: #C30
|
183
|
+
}
|
184
|
+
|
185
|
+
.sc {
|
186
|
+
color: #C30
|
187
|
+
}
|
188
|
+
|
189
|
+
.sd {
|
190
|
+
color: #C30;
|
191
|
+
font-style: italic
|
192
|
+
}
|
193
|
+
|
194
|
+
.s2 {
|
195
|
+
color: #C30
|
196
|
+
}
|
197
|
+
|
198
|
+
.se {
|
199
|
+
color: #C30
|
200
|
+
}
|
201
|
+
|
202
|
+
.sh {
|
203
|
+
color: #C30
|
204
|
+
}
|
205
|
+
|
206
|
+
.si {
|
207
|
+
color: #A00
|
208
|
+
}
|
209
|
+
|
210
|
+
.sx {
|
211
|
+
color: #C30
|
212
|
+
}
|
213
|
+
|
214
|
+
.sr {
|
215
|
+
color: #3AA
|
216
|
+
}
|
217
|
+
|
218
|
+
.s1 {
|
219
|
+
color: #C30
|
220
|
+
}
|
221
|
+
|
222
|
+
.ss {
|
223
|
+
color: #FC3
|
224
|
+
}
|
225
|
+
|
226
|
+
.bp {
|
227
|
+
color: #366
|
228
|
+
}
|
229
|
+
|
230
|
+
.vc {
|
231
|
+
color: #033
|
232
|
+
}
|
233
|
+
|
234
|
+
.vg {
|
235
|
+
color: #033
|
236
|
+
}
|
237
|
+
|
238
|
+
.vi {
|
239
|
+
color: #033
|
240
|
+
}
|
241
|
+
|
242
|
+
.il {
|
243
|
+
color: #F60
|
244
|
+
}
|
245
|
+
|
246
|
+
.css .o,
|
247
|
+
.css .o+.nt,
|
248
|
+
.css .nt+.nt {
|
249
|
+
color: #999
|
250
|
+
}
|
251
|
+
}
|