Skip to content
This repository was archived by the owner on Jan 30, 2024. It is now read-only.

Commit 2a2286b

Browse files
authored
Merge pull request #48 from dkdeploy/develop
merge develop
2 parents 3a6f244 + 94b20b8 commit 2a2286b

File tree

9 files changed

+70
-55
lines changed

9 files changed

+70
-55
lines changed

Gemfile.lock

Lines changed: 41 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ GEM
88
tzinfo (~> 1.1)
99
addressable (2.5.2)
1010
public_suffix (>= 2.0.2, < 4.0)
11-
algoliasearch (1.23.2)
11+
algoliasearch (1.25.2)
1212
httpclient (~> 2.8, >= 2.8.3)
1313
json (>= 1.5.1)
1414
algoliasearch-jekyll (0.8.2)
@@ -28,38 +28,39 @@ GEM
2828
execjs
2929
coffee-script-source (1.11.1)
3030
colorator (1.1.0)
31-
commonmarker (0.17.9)
31+
commonmarker (0.17.13)
3232
ruby-enum (~> 0.5)
33-
concurrent-ruby (1.0.5)
34-
dnsruby (1.60.2)
33+
concurrent-ruby (1.1.4)
34+
dnsruby (1.61.2)
35+
addressable (~> 2.5)
3536
em-websocket (0.5.1)
3637
eventmachine (>= 0.12.9)
3738
http_parser.rb (~> 0.6.0)
38-
ethon (0.11.0)
39+
ethon (0.12.0)
3940
ffi (>= 1.3.0)
4041
eventmachine (1.2.7)
4142
execjs (2.7.0)
42-
faraday (0.15.2)
43+
faraday (0.15.4)
4344
multipart-post (>= 1.2, < 3)
44-
ffi (1.9.25)
45+
ffi (1.10.0)
4546
forwardable-extended (2.6.0)
4647
gemoji (3.0.0)
47-
github-pages (187)
48+
github-pages (193)
4849
activesupport (= 4.2.10)
4950
github-pages-health-check (= 1.8.1)
50-
jekyll (= 3.7.3)
51-
jekyll-avatar (= 0.5.0)
51+
jekyll (= 3.7.4)
52+
jekyll-avatar (= 0.6.0)
5253
jekyll-coffeescript (= 1.1.1)
5354
jekyll-commonmark-ghpages (= 0.1.5)
5455
jekyll-default-layout (= 0.1.4)
55-
jekyll-feed (= 0.9.3)
56+
jekyll-feed (= 0.11.0)
5657
jekyll-gist (= 1.5.0)
5758
jekyll-github-metadata (= 2.9.4)
58-
jekyll-mentions (= 1.3.0)
59+
jekyll-mentions (= 1.4.1)
5960
jekyll-optional-front-matter (= 0.3.0)
6061
jekyll-paginate (= 1.1.0)
6162
jekyll-readme-index (= 0.2.0)
62-
jekyll-redirect-from (= 0.13.0)
63+
jekyll-redirect-from (= 0.14.0)
6364
jekyll-relative-links (= 0.5.3)
6465
jekyll-remote-theme (= 0.3.1)
6566
jekyll-sass-converter (= 1.5.2)
@@ -80,12 +81,12 @@ GEM
8081
jekyll-theme-tactile (= 0.1.1)
8182
jekyll-theme-time-machine (= 0.1.1)
8283
jekyll-titles-from-headings (= 0.5.1)
83-
jemoji (= 0.9.0)
84-
kramdown (= 1.16.2)
84+
jemoji (= 0.10.1)
85+
kramdown (= 1.17.0)
8586
liquid (= 4.0.0)
8687
listen (= 3.1.5)
8788
mercenary (~> 0.3)
88-
minima (= 2.4.1)
89+
minima (= 2.5.0)
8990
nokogiri (>= 1.8.2, < 2.0)
9091
rouge (= 2.2.1)
9192
terminal-table (~> 1.4)
@@ -95,14 +96,14 @@ GEM
9596
octokit (~> 4.0)
9697
public_suffix (~> 2.0)
9798
typhoeus (~> 1.3)
98-
html-pipeline (2.8.3)
99+
html-pipeline (2.10.0)
99100
activesupport (>= 2)
100101
nokogiri (>= 1.4)
101102
http_parser.rb (0.6.0)
102103
httpclient (2.8.3)
103104
i18n (0.9.5)
104105
concurrent-ruby (~> 1.0)
105-
jekyll (3.7.3)
106+
jekyll (3.7.4)
106107
addressable (~> 2.4)
107108
colorator (~> 1.0)
108109
em-websocket (~> 0.5)
@@ -115,7 +116,7 @@ GEM
115116
pathutil (~> 0.9)
116117
rouge (>= 1.7, < 4)
117118
safe_yaml (~> 1.0)
118-
jekyll-avatar (0.5.0)
119+
jekyll-avatar (0.6.0)
119120
jekyll (~> 3.0)
120121
jekyll-coffeescript (1.1.1)
121122
coffee-script (~> 2.2)
@@ -129,23 +130,22 @@ GEM
129130
rouge (~> 2)
130131
jekyll-default-layout (0.1.4)
131132
jekyll (~> 3.0)
132-
jekyll-feed (0.9.3)
133+
jekyll-feed (0.11.0)
133134
jekyll (~> 3.3)
134135
jekyll-gist (1.5.0)
135136
octokit (~> 4.2)
136137
jekyll-github-metadata (2.9.4)
137138
jekyll (~> 3.1)
138139
octokit (~> 4.0, != 4.4.0)
139-
jekyll-mentions (1.3.0)
140-
activesupport (~> 4.0)
140+
jekyll-mentions (1.4.1)
141141
html-pipeline (~> 2.3)
142142
jekyll (~> 3.0)
143143
jekyll-optional-front-matter (0.3.0)
144144
jekyll (~> 3.0)
145145
jekyll-paginate (1.1.0)
146146
jekyll-readme-index (0.2.0)
147147
jekyll (~> 3.0)
148-
jekyll-redirect-from (0.13.0)
148+
jekyll-redirect-from (0.14.0)
149149
jekyll (~> 3.3)
150150
jekyll-relative-links (0.5.3)
151151
jekyll (~> 3.3)
@@ -201,46 +201,45 @@ GEM
201201
jekyll-seo-tag (~> 2.0)
202202
jekyll-titles-from-headings (0.5.1)
203203
jekyll (~> 3.3)
204-
jekyll-watch (2.0.0)
204+
jekyll-watch (2.1.2)
205205
listen (~> 3.0)
206-
jemoji (0.9.0)
207-
activesupport (~> 4.0, >= 4.2.9)
206+
jemoji (0.10.1)
208207
gemoji (~> 3.0)
209208
html-pipeline (~> 2.2)
210209
jekyll (~> 3.0)
211210
json (2.1.0)
212-
kramdown (1.16.2)
211+
kramdown (1.17.0)
213212
liquid (4.0.0)
214213
listen (3.1.5)
215214
rb-fsevent (~> 0.9, >= 0.9.4)
216215
rb-inotify (~> 0.9, >= 0.9.7)
217216
ruby_dep (~> 1.2)
218217
mercenary (0.3.6)
219-
mini_portile2 (2.3.0)
220-
minima (2.4.1)
218+
mini_portile2 (2.4.0)
219+
minima (2.5.0)
221220
jekyll (~> 3.5)
222221
jekyll-feed (~> 0.9)
223222
jekyll-seo-tag (~> 2.1)
224223
minitest (5.11.3)
225224
multipart-post (2.0.0)
226-
nokogiri (1.8.4)
227-
mini_portile2 (~> 2.3.0)
228-
octokit (4.9.0)
225+
nokogiri (1.10.1)
226+
mini_portile2 (~> 2.4.0)
227+
octokit (4.13.0)
229228
sawyer (~> 0.8.0, >= 0.5.3)
230-
pathutil (0.16.1)
229+
pathutil (0.16.2)
231230
forwardable-extended (~> 2.6)
232231
public_suffix (2.0.5)
233-
rake (12.3.1)
232+
rake (12.3.2)
234233
rb-fsevent (0.10.3)
235-
rb-inotify (0.9.10)
236-
ffi (>= 0.5.0, < 2)
234+
rb-inotify (0.10.0)
235+
ffi (~> 1.0)
237236
rouge (2.2.1)
238237
ruby-enum (0.7.2)
239238
i18n
240239
ruby_dep (1.5.0)
241-
rubyzip (1.2.1)
240+
rubyzip (1.2.2)
242241
safe_yaml (1.0.4)
243-
sass (3.5.6)
242+
sass (3.7.3)
244243
sass-listen (~> 4.0.0)
245244
sass-listen (4.0.0)
246245
rb-fsevent (~> 0.9, >= 0.9.4)
@@ -250,13 +249,13 @@ GEM
250249
faraday (~> 0.8, < 1.0)
251250
terminal-table (1.8.0)
252251
unicode-display_width (~> 1.1, >= 1.1.1)
253-
thor (0.20.0)
252+
thor (0.20.3)
254253
thread_safe (0.3.6)
255-
typhoeus (1.3.0)
254+
typhoeus (1.3.1)
256255
ethon (>= 0.9.0)
257256
tzinfo (1.2.5)
258257
thread_safe (~> 0.1)
259-
unicode-display_width (1.4.0)
258+
unicode-display_width (1.4.1)
260259
verbal_expressions (0.1.5)
261260

262261
PLATFORMS
@@ -267,4 +266,4 @@ DEPENDENCIES
267266
github-pages
268267

269268
BUNDLED WITH
270-
1.16.0
269+
1.16.2

_includes/footer.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@
1818
<script id="algolia__template" type="text/template">
1919
{% raw %}
2020
<div class="algolia__result">
21-
<a class="algolia__result-link" href="{{ full_url }}#algolia:{{ css_selector }}">{{{ _highlightResult.title.value }}}</a>
21+
<a class="algolia__result-link" href="{{ full_url }}#algolia:{{ anchor }}">{{{ _highlightResult.title.value }}}</a>
2222
{{#posted_at}}
2323
<div class="algolia__result-date">{{ posted_at_readable }}</div>
2424
{{/posted_at}}
25-
<div class="algolia__result-text">{{{ _highlightResult.text.value }}}</div>
25+
<div class="algolia__result-text">{{{ _snippetResult.content.value }}}</div>
2626
</div>
2727
{% endraw %}
2828
</script>

_includes/header.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@
88
<div class="top-bar show-for-medium" >
99
<div class="top-bar-left">
1010
<ul class="medium-horizontal menu">
11-
<li class="menu-text"><a href="{{ site.url }}"><img title="dkdeploy" alt="dkdeploy" src="/assets/images/3056-73126-dkdeploy-logo.svg"></a></li>
11+
<li class="menu-text dkdeploy-logo">
12+
<a href="{{ site.url }}">
13+
<img title="dkdeploy" alt="dkdeploy" src="/assets/images/3056-73126-dkdeploy-logo.svg">
14+
</a>
15+
</li>
1216
{% for nav in site.data.navigation %}
1317
{% if page.section == nav.section %}
1418
{% assign active = "active" %}

assets/css/app.css

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5314,6 +5314,12 @@ li.docs-menu-title {
53145314
background-color: #ffff99;
53155315
border-radius: 3px; }
53165316

5317+
li.dkdeploy-logo {
5318+
margin-right: 0;
5319+
padding-right: 0; }
5320+
li.dkdeploy-logo a {
5321+
margin-right: 0; }
5322+
53175323
h2 {
53185324
border-bottom: 3px solid #97af05; }
53195325

@@ -5376,7 +5382,8 @@ ul.menu li.active {
53765382
border-radius: 0 0 3px 3px; }
53775383

53785384
#toc2select {
5379-
border-radius: 3px; }
5385+
border-radius: 3px;
5386+
font-size: 13px; }
53805387

53815388
#content .hollow, #content .top-bar-left .menu > li a, .top-bar-left .menu > li #content a {
53825389
border-radius: 3px; }
@@ -6777,7 +6784,8 @@ td code.highlighter-rouge {
67776784
.algolia__result-text {
67786785
font-size: 0.9rem; }
67796786

6780-
.algolia__result-link .algolia__result-highlight {
6787+
.algolia__result-link .algolia__result-highlight,
6788+
.algolia__result-text .ais-Highlight {
67816789
background-color: #ffff99; }
67826790

67836791
.algolia__result-text .algolia__result-highlight {

assets/javascript/algolia.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ $(function(config) {
8080
}
8181

8282
function scrollPageToSelector(selector) {
83-
var target = $('.page,.post').find(selector);
83+
var target = $('#main-content').find("#"+selector);
8484
var targetOffset = target[0].getBoundingClientRect().top + window.pageYOffset - 20;
8585
window.setTimeout(function() {
8686
window.scroll(0, targetOffset);

foundation/scss/_base.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ ul.menu li.active {
2828
}
2929
#toc2select {
3030
border-radius: 3px;
31+
font-size: 13px;
3132
}
3233

3334
#content {

foundation/scss/_search.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
.algolia__result-text {
3434
font-size: 0.9rem;
3535
}
36-
.algolia__result-link .algolia__result-highlight {
36+
.algolia__result-link .algolia__result-highlight,
37+
.algolia__result-text .ais-Highlight {
3738
background-color: #ffff99;
3839
}
3940
.algolia__result-text .algolia__result-highlight {

foundation/scss/_submenu.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,4 +157,12 @@ li.docs-menu-title {
157157
.sidebar span.label {
158158
background-color: #ffff99;
159159
border-radius: 3px;
160+
}
161+
162+
li.dkdeploy-logo {
163+
margin-right: 0;
164+
padding-right: 0;
165+
a {
166+
margin-right: 0;
167+
}
160168
}

guides/static/configuration.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,9 @@ If you have followed the instructions on the [Setup](/guides/setup/local_machine
1414
The **deploy.rb** is our global configuration. Everything inside can be overriden by stage-specific settings and tasks, i.e. **deploy/dev.rb**. Every variable we're using can be read by **fetch(:variable_name)** within our configuration.
1515

1616
{% highlight ruby %}
17-
# config valid only for current version of Capistrano
18-
lock '3.5.0'
19-
2017
# the name of the application
2118
set :application, 'my-first-website'
2219

23-
# We use the copy strategy, no need for an external SCM
24-
set :scm, :copy
25-
2620
# This is the folder we're deploying on the server
2721
set :copy_source, './output'
2822

0 commit comments

Comments
 (0)