just-the-docs 0.1.3 → 0.1.4
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/_layouts/about.html +5 -0
- data/_layouts/default.html +3 -3
- data/_layouts/home.html +5 -0
- data/_sass/content.scss +24 -2
- data/_sass/layout.scss +12 -7
- data/_sass/navigation.scss +2 -13
- data/_sass/search.scss +14 -2
- metadata +11 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 57b9dda5d5f0202b4c79871473e9b2853d4681f9
|
|
4
|
+
data.tar.gz: bdf57438d4b27343d993c641391086c51aaeabf1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e03dccf2dc7c376af2172a5a2d5aca86beb377d7bd86c630c8c769b2b2f999acd440b1aeda4a71195a238fc7b692a6caf87d91ea7b3d2480fad3114d4becbcf8
|
|
7
|
+
data.tar.gz: 91d033d98d474da74fb8ef888b96f81e64e27c8d27fb19ecb21d656f2d259926b2819598da88e838635a4a917528baf93b9b34f83569a6f678dcaf01c28c71b2
|
data/_layouts/about.html
ADDED
data/_layouts/default.html
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
<div class="page-wrap">
|
|
7
7
|
<div class="side-bar">
|
|
8
|
-
<a href="{{ site.baseurl }}" class="site-title fs-6 text-grey-dk-300 lh-tight">{{ site.title }}</a>
|
|
8
|
+
<a href="{{ site.url }}{{ site.baseurl }}" class="site-title fs-6 text-grey-dk-300 lh-tight">{{ site.title }}</a>
|
|
9
9
|
<span class="fs-3"><button class="js-main-nav-trigger navigation-list-toggle btn btn-outline" type="button" data-text-toggle="Hide">Menu</button></span>
|
|
10
10
|
<div class="navigation main-nav js-main-nav">
|
|
11
11
|
{% include nav.html %}
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<div class="main-content pb-0">
|
|
20
20
|
<div class="search js-search">
|
|
21
21
|
<div class="search-input-wrap">
|
|
22
|
-
<input type="text" class="js-search-input search-input
|
|
22
|
+
<input type="text" class="js-search-input search-input" placeholder="Search {{ site.title }}" aria-label="Search {{ site.title }}" autocomplete="off">
|
|
23
23
|
<svg width="14" height="14" viewBox="0 0 28 28" xmlns="http://www.w3.org/2000/svg" class="search-icon"><title>Search</title><g fill-rule="nonzero"><path d="M17.332 20.735c-5.537 0-10-4.6-10-10.247 0-5.646 4.463-10.247 10-10.247 5.536 0 10 4.601 10 10.247s-4.464 10.247-10 10.247zm0-4c3.3 0 6-2.783 6-6.247 0-3.463-2.7-6.247-6-6.247s-6 2.784-6 6.247c0 3.464 2.7 6.247 6 6.247z"/><path d="M11.672 13.791L.192 25.271 3.02 28.1 14.5 16.62z"/></g></svg>
|
|
24
24
|
</div>
|
|
25
25
|
<div class="js-search-results search-results-wrap"></div>
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
{% if page.parent != nil and page.parent != page.title %}
|
|
39
39
|
<nav class="breadcrumb-nav">
|
|
40
40
|
<ol class="breadcrumb-nav-list">
|
|
41
|
-
<li class="breadcrumb-nav-list-item"><a href="{{ site.url }}{{ site.baseurl }}{{ page.parent | slugify }}">{{ page.parent }}</a></li>
|
|
41
|
+
<li class="breadcrumb-nav-list-item"><a href="{{ site.url }}{{ site.baseurl }}/{{ page.parent | slugify }}">{{ page.parent }}</a></li>
|
|
42
42
|
<li class="breadcrumb-nav-list-item"><span>{{ page.title }}</span></li>
|
|
43
43
|
</ol>
|
|
44
44
|
</nav>
|
data/_layouts/home.html
ADDED
data/_sass/content.scss
CHANGED
|
@@ -5,8 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
.page-content {
|
|
7
7
|
ul,
|
|
8
|
-
ol
|
|
9
|
-
dl {
|
|
8
|
+
ol {
|
|
10
9
|
padding-left: 1.5em;
|
|
11
10
|
}
|
|
12
11
|
|
|
@@ -64,4 +63,27 @@
|
|
|
64
63
|
h1:first-of-type {
|
|
65
64
|
margin-top: 0.5em;
|
|
66
65
|
}
|
|
66
|
+
|
|
67
|
+
dl {
|
|
68
|
+
display: grid;
|
|
69
|
+
grid-template-columns: max-content 1fr;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
dt,
|
|
73
|
+
dd {
|
|
74
|
+
margin: 0.25em 0;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
dt {
|
|
78
|
+
text-align: right;
|
|
79
|
+
|
|
80
|
+
&::after {
|
|
81
|
+
content: ":";
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
dd {
|
|
86
|
+
margin-left: 1em;
|
|
87
|
+
font-weight: 500;
|
|
88
|
+
}
|
|
67
89
|
}
|
data/_sass/layout.scss
CHANGED
|
@@ -17,13 +17,15 @@
|
|
|
17
17
|
|
|
18
18
|
.side-bar {
|
|
19
19
|
z-index: 100;
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-wrap: wrap;
|
|
20
22
|
padding-top: $gutter-spacing-sm;
|
|
21
23
|
padding-bottom: $gutter-spacing-sm;
|
|
22
24
|
background-color: $grey-lt-000;
|
|
23
25
|
|
|
24
26
|
@include mq(md) {
|
|
27
|
+
flex-wrap: nowrap;
|
|
25
28
|
position: absolute;
|
|
26
|
-
display: flex;
|
|
27
29
|
width: $nav-width + 16px;
|
|
28
30
|
height: 100%;
|
|
29
31
|
padding-top: $gutter-spacing * 2;
|
|
@@ -107,11 +109,9 @@
|
|
|
107
109
|
|
|
108
110
|
.navigation {
|
|
109
111
|
@include mq(md) {
|
|
110
|
-
position: absolute;
|
|
111
|
-
top: 0;
|
|
112
|
-
right: 0;
|
|
113
|
-
height: 100%;
|
|
114
112
|
padding-top: $sp-8;
|
|
113
|
+
overflow-y: auto;
|
|
114
|
+
flex: 1 1 auto;
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
|
|
@@ -127,9 +127,14 @@ body {
|
|
|
127
127
|
|
|
128
128
|
.site-footer {
|
|
129
129
|
position: absolute;
|
|
130
|
-
bottom:
|
|
130
|
+
bottom: 0;
|
|
131
|
+
padding-top: $sp-4;
|
|
132
|
+
padding-bottom: $sp-4;
|
|
131
133
|
|
|
132
134
|
@include mq(md) {
|
|
133
|
-
|
|
135
|
+
position: static;
|
|
136
|
+
align-self: flex-end;
|
|
137
|
+
justify-self: end;
|
|
138
|
+
background-color: $grey-lt-000;
|
|
134
139
|
}
|
|
135
140
|
}
|
data/_sass/navigation.scss
CHANGED
|
@@ -4,9 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
.site-title {
|
|
6
6
|
display: block;
|
|
7
|
-
flex
|
|
8
|
-
flex-shrink: 1;
|
|
9
|
-
flex-basis: auto;
|
|
7
|
+
flex: 1 1 auto;
|
|
10
8
|
background-color: $grey-lt-000;
|
|
11
9
|
|
|
12
10
|
@include mq(md) {
|
|
@@ -27,7 +25,7 @@
|
|
|
27
25
|
list-style: none;
|
|
28
26
|
|
|
29
27
|
@include mq(md) {
|
|
30
|
-
margin-top:
|
|
28
|
+
margin-top: 0;
|
|
31
29
|
}
|
|
32
30
|
}
|
|
33
31
|
|
|
@@ -91,15 +89,6 @@
|
|
|
91
89
|
}
|
|
92
90
|
}
|
|
93
91
|
|
|
94
|
-
.side-bar {
|
|
95
|
-
display: flex;
|
|
96
|
-
flex-wrap: wrap;
|
|
97
|
-
|
|
98
|
-
@include mq(md) {
|
|
99
|
-
display: block;
|
|
100
|
-
overflow-y: auto;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
92
|
|
|
104
93
|
.navigation-list-toggle {
|
|
105
94
|
position: absolute;
|
data/_sass/search.scss
CHANGED
|
@@ -7,10 +7,11 @@
|
|
|
7
7
|
z-index: 99;
|
|
8
8
|
display: none;
|
|
9
9
|
flex-grow: 1;
|
|
10
|
-
padding-bottom: $gutter-spacing / 2;
|
|
11
|
-
background-color: $white;
|
|
12
10
|
padding: $sp-2;
|
|
13
11
|
margin-bottom: $sp-3;
|
|
12
|
+
background-color: $white;
|
|
13
|
+
border-radius: 3px;
|
|
14
|
+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07), 0 3px 10px rgba(0, 0, 0, 0.05);
|
|
14
15
|
|
|
15
16
|
@include mq(md) {
|
|
16
17
|
display: block;
|
|
@@ -20,6 +21,7 @@
|
|
|
20
21
|
padding-left: 0;
|
|
21
22
|
margin-bottom: 0;
|
|
22
23
|
background-color: transparent;
|
|
24
|
+
box-shadow: none;
|
|
23
25
|
}
|
|
24
26
|
|
|
25
27
|
&.nav-open {
|
|
@@ -65,6 +67,16 @@
|
|
|
65
67
|
fill: $purple-000;
|
|
66
68
|
}
|
|
67
69
|
}
|
|
70
|
+
|
|
71
|
+
@include fs-5;
|
|
72
|
+
|
|
73
|
+
@include mq(sm) {
|
|
74
|
+
@include fs-3;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
@include mq(md) {
|
|
78
|
+
@include fs-2;
|
|
79
|
+
}
|
|
68
80
|
}
|
|
69
81
|
|
|
70
82
|
.search-icon {
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: just-the-docs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Patrick Marsceill
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-10-
|
|
11
|
+
date: 2018-10-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -25,33 +25,33 @@ dependencies:
|
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '3.3'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
|
-
name:
|
|
28
|
+
name: rake
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
31
|
- - "~>"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: '
|
|
34
|
-
type: :
|
|
33
|
+
version: '10.0'
|
|
34
|
+
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - "~>"
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: '
|
|
40
|
+
version: '10.0'
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
|
-
name:
|
|
42
|
+
name: bundler
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
45
|
- - "~>"
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '
|
|
47
|
+
version: '1.12'
|
|
48
48
|
type: :development
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
52
|
- - "~>"
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: '
|
|
54
|
+
version: '1.12'
|
|
55
55
|
description:
|
|
56
56
|
email:
|
|
57
57
|
- patrick.marsceill@gmail.com
|
|
@@ -65,7 +65,9 @@ files:
|
|
|
65
65
|
- Rakefile
|
|
66
66
|
- _includes/head.html
|
|
67
67
|
- _includes/nav.html
|
|
68
|
+
- _layouts/about.html
|
|
68
69
|
- _layouts/default.html
|
|
70
|
+
- _layouts/home.html
|
|
69
71
|
- _layouts/post.html
|
|
70
72
|
- _sass/base.scss
|
|
71
73
|
- _sass/buttons.scss
|