millidocs 0.2.4 → 0.2.5
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.
- checksums.yaml +4 -4
- data/_includes/head.html +1 -1
- data/_includes/scripts.html +3 -2
- data/_includes/search.html +0 -15
- data/_sass/variables.scss +2 -3
- data/assets/css/docs.scss +11 -17
- data/assets/js/database.js +18 -0
- metadata +3 -3
- data/assets/css/normalize.css +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4bebd0fd39928cf10e08decf226cf1c87c77541
|
4
|
+
data.tar.gz: 229cf067d4a34144a7108d1e43ad864bf1468b69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53234cd44ec2857d724d19028e1aa3cd8e06ef1fd2d9076ac6250bdf90e84dea2ff9b0dbb362c6379fa885c5419e1a256ac81a31efabfda0757f0e76dda9b915
|
7
|
+
data.tar.gz: 8b01619f6b14d211611f0e7e3e46d8134b5ccbffb268c1f0a9c6bcffa03608d6e346269f32ca19866130fd37b674bcaa784db5b5cf4a1ac60e858e41197fac03
|
data/_includes/head.html
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
<head>
|
2
2
|
<meta charset="utf-8">
|
3
3
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
4
|
-
<meta name="viewport" content="width=device-width, initial-scale=1
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
5
5
|
|
6
6
|
<title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
|
7
7
|
<meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}">
|
data/_includes/scripts.html
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
<script src="{{ "/assets/js/zepto.min.js" | relative_url }}"></script>
|
2
2
|
<script src="{{ "/assets/js/lunar.min.js" | relative_url }}"></script>
|
3
3
|
<script src="{{ "/assets/js/prism.min.js" | relative_url }}"></script>
|
4
|
-
<script src="{{ "/assets/js/
|
5
|
-
<script src="{{ "/assets/js/
|
4
|
+
<script src="{{ "/assets/js/database.js" | relative_url }}"></script>
|
5
|
+
<script src="{{ "/assets/js/search.js" | relative_url }}"></script>
|
6
|
+
<script src="{{ "/assets/js/mobile-navigation.js" | relative_url }}"></script>
|
data/_includes/search.html
CHANGED
@@ -1,18 +1,3 @@
|
|
1
1
|
<div class="search">
|
2
2
|
<input type="text" class="search-input" id="search-input" placeholder="Type to search" />
|
3
3
|
</div>
|
4
|
-
|
5
|
-
<script>
|
6
|
-
window.database = {
|
7
|
-
{% for page in site.pages %}
|
8
|
-
"{{ page.url | slugify }}": {
|
9
|
-
"title": "{{ page.title | xml_escape }}",
|
10
|
-
"category": "{{ page.category | xml_escape }}",
|
11
|
-
"content": {{ page.content | strip_html | strip_newlines | jsonify }},
|
12
|
-
"url": "{{ page.url | xml_escape }}",
|
13
|
-
"href": "{{ site.baseurl }}{{ page.url | xml_escape }}"
|
14
|
-
}
|
15
|
-
{% unless forloop.last %},{% endunless %}
|
16
|
-
{% endfor %}
|
17
|
-
};
|
18
|
-
</script>
|
data/_sass/variables.scss
CHANGED
data/assets/css/docs.scss
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
---
|
3
3
|
|
4
4
|
@import 'variables';
|
5
|
-
|
5
|
+
|
6
6
|
@import 'milligram';
|
7
7
|
@import 'prism';
|
8
8
|
|
@@ -12,15 +12,14 @@ html, body {
|
|
12
12
|
max-height: 100%;
|
13
13
|
overflow: hidden;
|
14
14
|
min-width: $min-width;
|
15
|
-
box-sizing: border-box;
|
16
15
|
}
|
17
16
|
|
18
|
-
|
19
|
-
|
17
|
+
* {
|
18
|
+
box-sizing: border-box;
|
20
19
|
}
|
21
20
|
|
22
21
|
pre {
|
23
|
-
|
22
|
+
margin-bottom: ($base-height * 2) !important;
|
24
23
|
}
|
25
24
|
|
26
25
|
a {
|
@@ -33,11 +32,6 @@ a {
|
|
33
32
|
}
|
34
33
|
}
|
35
34
|
|
36
|
-
h1, h2, h3, h4, p {
|
37
|
-
margin-left: 0;
|
38
|
-
margin-right: 0;
|
39
|
-
}
|
40
|
-
|
41
35
|
.wrapper {
|
42
36
|
height: 100%;
|
43
37
|
width: 100%;
|
@@ -127,6 +121,7 @@ h1, h2, h3, h4, p {
|
|
127
121
|
overflow-y: auto;
|
128
122
|
color: $content-color;
|
129
123
|
line-height: 1.7;
|
124
|
+
word-wrap: break-word;
|
130
125
|
}
|
131
126
|
|
132
127
|
.inner {
|
@@ -142,9 +137,9 @@ h1, h2, h3, h4, p {
|
|
142
137
|
/**
|
143
138
|
* Mobile
|
144
139
|
*/
|
145
|
-
@media (max-width: $mobile-
|
140
|
+
@media (max-width: $mobile-width) {
|
146
141
|
.wrapper {
|
147
|
-
|
142
|
+
flex-direction: column;
|
148
143
|
}
|
149
144
|
|
150
145
|
.sidebar {
|
@@ -173,14 +168,13 @@ h1, h2, h3, h4, p {
|
|
173
168
|
}
|
174
169
|
|
175
170
|
.content {
|
171
|
+
width: 100%;
|
176
172
|
margin-top: 0;
|
177
173
|
height: calc(100% - #{$header-height});
|
178
|
-
|
179
|
-
|
180
|
-
}
|
174
|
+
min-height: calc(100% - #{$header-height});
|
175
|
+
}
|
181
176
|
|
182
177
|
.inner {
|
183
|
-
|
184
|
-
padding: $base-height $base-height * 2;
|
178
|
+
padding: $base-height;
|
185
179
|
}
|
186
180
|
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
---
|
2
|
+
---
|
3
|
+
|
4
|
+
window.database = {
|
5
|
+
{% for page in site.pages %}
|
6
|
+
{% if page.layout != 'page' %}
|
7
|
+
{% continue %}
|
8
|
+
{% endif %}
|
9
|
+
"{{ page.url | slugify }}": {
|
10
|
+
"title": "{{ page.title | xml_escape }}",
|
11
|
+
"category": "{{ page.category | xml_escape }}",
|
12
|
+
"content": {{ page.content | strip_html | strip_newlines | jsonify }},
|
13
|
+
"url": "{{ page.url | xml_escape }}",
|
14
|
+
"href": "{{ site.baseurl }}{{ page.url | xml_escape }}"
|
15
|
+
}
|
16
|
+
{% unless forloop.last %},{% endunless %}
|
17
|
+
{% endfor %}
|
18
|
+
};
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: millidocs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Heimbuch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -74,9 +74,9 @@ files:
|
|
74
74
|
- _sass/prism.scss
|
75
75
|
- _sass/variables.scss
|
76
76
|
- assets/css/docs.scss
|
77
|
-
- assets/css/normalize.css
|
78
77
|
- assets/images/close.svg
|
79
78
|
- assets/images/menu.svg
|
79
|
+
- assets/js/database.js
|
80
80
|
- assets/js/lunar.min.js
|
81
81
|
- assets/js/mobile-navigation.js
|
82
82
|
- assets/js/prism.min.js
|
data/assets/css/normalize.css
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template{display:none}[hidden]{display:none}/*# sourceMappingURL=normalize.min.css.map */
|