Skip to content

Commit e79f0f3

Browse files
author
Adam Hollett
authored
Merge pull request DmitryBaranovskiy#820 from Shopify/autumn-cleaning
Misc. documentation updates
2 parents aa35b3f + 2360370 commit e79f0f3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+356
-391
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
source 'https://rubygems.org'
22

3-
gem 'github-pages', group: :jekyll_plugins
3+
gem 'github-pages', '>=100', group: :jekyll_plugins

Gemfile.lock

Lines changed: 69 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
RedCloth (4.2.9)
5-
activesupport (4.2.6)
4+
activesupport (4.2.7)
65
i18n (~> 0.7)
76
json (~> 1.7, >= 1.7.7)
87
minitest (~> 5.1)
@@ -13,121 +12,134 @@ GEM
1312
coffee-script-source
1413
execjs
1514
coffee-script-source (1.10.0)
16-
colorator (0.1)
17-
ethon (0.8.1)
15+
colorator (1.1.0)
16+
ethon (0.9.1)
1817
ffi (>= 1.3.0)
19-
execjs (2.6.0)
18+
execjs (2.7.0)
2019
faraday (0.9.2)
2120
multipart-post (>= 1.2, < 3)
22-
ffi (1.9.10)
21+
ffi (1.9.14)
22+
forwardable-extended (2.6.0)
2323
gemoji (2.1.0)
24-
github-pages (68)
25-
RedCloth (= 4.2.9)
26-
github-pages-health-check (= 1.1.0)
27-
jekyll (= 3.0.3)
24+
github-pages (104)
25+
activesupport (= 4.2.7)
26+
github-pages-health-check (= 1.2.0)
27+
jekyll (= 3.3.0)
28+
jekyll-avatar (= 0.4.2)
2829
jekyll-coffeescript (= 1.0.1)
29-
jekyll-feed (= 0.4.0)
30+
jekyll-feed (= 0.8.0)
3031
jekyll-gist (= 1.4.0)
31-
jekyll-github-metadata (= 1.10.0)
32-
jekyll-mentions (= 1.1.2)
32+
jekyll-github-metadata (= 2.2.0)
33+
jekyll-mentions (= 1.2.0)
3334
jekyll-paginate (= 1.1.0)
34-
jekyll-redirect-from (= 0.10.0)
35+
jekyll-redirect-from (= 0.11.0)
3536
jekyll-sass-converter (= 1.3.0)
36-
jekyll-seo-tag (= 1.3.3)
37-
jekyll-sitemap (= 0.10.0)
38-
jekyll-textile-converter (= 0.1.0)
39-
jemoji (= 0.6.2)
40-
kramdown (= 1.10.0)
37+
jekyll-seo-tag (= 2.1.0)
38+
jekyll-sitemap (= 0.12.0)
39+
jekyll-swiss (= 0.4.0)
40+
jemoji (= 0.7.0)
41+
kramdown (= 1.11.1)
4142
liquid (= 3.0.6)
43+
listen (= 3.0.6)
4244
mercenary (~> 0.3)
43-
rdiscount (= 2.1.8)
44-
redcarpet (= 3.3.3)
45-
rouge (= 1.10.1)
45+
minima (= 2.0.0)
46+
rouge (= 1.11.1)
4647
terminal-table (~> 1.4)
47-
github-pages-health-check (1.1.0)
48+
github-pages-health-check (1.2.0)
4849
addressable (~> 2.3)
4950
net-dns (~> 0.8)
5051
octokit (~> 4.0)
5152
public_suffix (~> 1.4)
5253
typhoeus (~> 0.7)
53-
html-pipeline (2.3.0)
54-
activesupport (>= 2, < 5)
54+
html-pipeline (2.4.2)
55+
activesupport (>= 2)
5556
nokogiri (>= 1.4)
5657
i18n (0.7.0)
57-
jekyll (3.0.3)
58-
colorator (~> 0.1)
58+
jekyll (3.3.0)
59+
addressable (~> 2.4)
60+
colorator (~> 1.0)
5961
jekyll-sass-converter (~> 1.0)
6062
jekyll-watch (~> 1.1)
6163
kramdown (~> 1.3)
6264
liquid (~> 3.0)
6365
mercenary (~> 0.3.3)
66+
pathutil (~> 0.9)
6467
rouge (~> 1.7)
6568
safe_yaml (~> 1.0)
69+
jekyll-avatar (0.4.2)
70+
jekyll (~> 3.0)
6671
jekyll-coffeescript (1.0.1)
6772
coffee-script (~> 2.2)
68-
jekyll-feed (0.4.0)
73+
jekyll-feed (0.8.0)
74+
jekyll (~> 3.3)
6975
jekyll-gist (1.4.0)
7076
octokit (~> 4.2)
71-
jekyll-github-metadata (1.10.0)
72-
octokit (~> 4.0)
73-
jekyll-mentions (1.1.2)
77+
jekyll-github-metadata (2.2.0)
78+
jekyll (~> 3.1)
79+
octokit (~> 4.0, != 4.4.0)
80+
jekyll-mentions (1.2.0)
81+
activesupport (~> 4.0)
7482
html-pipeline (~> 2.3)
7583
jekyll (~> 3.0)
7684
jekyll-paginate (1.1.0)
77-
jekyll-redirect-from (0.10.0)
85+
jekyll-redirect-from (0.11.0)
7886
jekyll (>= 2.0)
7987
jekyll-sass-converter (1.3.0)
8088
sass (~> 3.2)
81-
jekyll-seo-tag (1.3.3)
82-
jekyll (~> 3.0)
83-
jekyll-sitemap (0.10.0)
84-
jekyll-textile-converter (0.1.0)
85-
RedCloth (~> 4.0)
86-
jekyll-watch (1.3.1)
87-
listen (~> 3.0)
88-
jemoji (0.6.2)
89+
jekyll-seo-tag (2.1.0)
90+
jekyll (~> 3.3)
91+
jekyll-sitemap (0.12.0)
92+
jekyll (~> 3.3)
93+
jekyll-swiss (0.4.0)
94+
jekyll-watch (1.5.0)
95+
listen (~> 3.0, < 3.1)
96+
jemoji (0.7.0)
97+
activesupport (~> 4.0)
8998
gemoji (~> 2.0)
9099
html-pipeline (~> 2.2)
91100
jekyll (>= 3.0)
92101
json (1.8.3)
93-
kramdown (1.10.0)
102+
kramdown (1.11.1)
94103
liquid (3.0.6)
95104
listen (3.0.6)
96105
rb-fsevent (>= 0.9.3)
97106
rb-inotify (>= 0.9.7)
98-
mercenary (0.3.5)
99-
mini_portile2 (2.0.0)
100-
minitest (5.8.4)
107+
mercenary (0.3.6)
108+
mini_portile2 (2.1.0)
109+
minima (2.0.0)
110+
minitest (5.9.1)
101111
multipart-post (2.0.0)
102112
net-dns (0.8.0)
103-
nokogiri (1.6.7.2)
104-
mini_portile2 (~> 2.0.0.rc2)
105-
octokit (4.3.0)
106-
sawyer (~> 0.7.0, >= 0.5.3)
113+
nokogiri (1.6.8.1)
114+
mini_portile2 (~> 2.1.0)
115+
octokit (4.6.0)
116+
sawyer (~> 0.8.0, >= 0.5.3)
117+
pathutil (0.14.0)
118+
forwardable-extended (~> 2.6)
107119
public_suffix (1.5.3)
108-
rb-fsevent (0.9.7)
120+
rb-fsevent (0.9.8)
109121
rb-inotify (0.9.7)
110122
ffi (>= 0.5.0)
111-
rdiscount (2.1.8)
112-
redcarpet (3.3.3)
113-
rouge (1.10.1)
123+
rouge (1.11.1)
114124
safe_yaml (1.0.4)
115125
sass (3.4.22)
116-
sawyer (0.7.0)
117-
addressable (>= 2.3.5, < 2.5)
126+
sawyer (0.8.0)
127+
addressable (>= 2.3.5, < 2.6)
118128
faraday (~> 0.8, < 0.10)
119-
terminal-table (1.5.2)
129+
terminal-table (1.7.3)
130+
unicode-display_width (~> 1.1.1)
120131
thread_safe (0.3.5)
121132
typhoeus (0.8.0)
122133
ethon (>= 0.8.0)
123134
tzinfo (1.2.2)
124135
thread_safe (~> 0.1)
136+
unicode-display_width (1.1.1)
125137

126138
PLATFORMS
127139
ruby
128140

129141
DEPENDENCIES
130-
github-pages
142+
github-pages (>= 100)
131143

132144
BUNDLED WITH
133-
1.11.2
145+
1.13.1

_config.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
title: Liquid Templating Engine
2-
description: "Liquid is a template language and accompanying rendering engine. It is built for security, so is perfect for rendering custom templates from your users."
3-
4-
repository: https://github.com/Shopify/liquid
1+
title: Liquid template language
2+
description: Liquid is a template language and accompanying rendering engine. It is built for security, so is perfect for rendering custom templates from your users.
53

64
# Build settings
75
baseurl: /liquid # the subpath of your site, e.g. /blog/

_includes/home-banner.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
<div class="home-banner">
22
<h1>Liquid</h1>
3-
<p>Safe, customer facing template language for flexible web apps.</p>
3+
<p>Safe, customer-facing template language for flexible web apps.</p>
44
<p class="btn-row">
5-
<a href="https://github.com/Shopify/liquid/archive/master.zip" target="_blank" class="btn"><i class="icon fa fa-2x fa-arrow-circle-down" aria-hidden="true"></i>Download</a>
6-
<a href="https://github.com/Shopify/liquid" target="_blank" class="btn"><i class="icon fa fa-2x fa-github" aria-hidden="true"></i>View on GitHub</a>
5+
<a href="https://github.com/Shopify/liquid/archive/master.zip" target="_blank" class="btn">
6+
<span aria-hidden="true">{% include icons/desktop-download.svg %}</span> Download
7+
</a>
8+
<a href="https://github.com/Shopify/liquid" target="_blank" class="btn">
9+
<span aria-hidden="true">{% include icons/mark-github.svg %}</span> View on GitHub
10+
</a>
711
</p>
812
</div>

_includes/home-users-grid.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@
2121
</div>
2222
</div>
2323

24-
<p class="home-users-blurb">...and <a href="https://github.com/Shopify/liquid/wiki#who-uses-liquid" target="_blank">many more!</a></p>
24+
<p class="home-users-blurb">...and <a href="https://github.com/Shopify/liquid/wiki#who-uses-liquid" target="_blank">many more</a></p>
Lines changed: 1 addition & 0 deletions
Loading

_includes/icons/mark-github.svg

Lines changed: 1 addition & 0 deletions
Loading

_includes/icons/three-bars.svg

Lines changed: 1 addition & 0 deletions
Loading

_layouts/default.html

Lines changed: 31 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,56 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
5+
<meta charset="utf-8" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1" />
7+
48
<title>{% if page.title %}{{ page.title }} – {% endif %}{{ site.title }}</title>
59

6-
<meta charset="utf-8">
7-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
8-
<meta name="viewport" content="width=device-width, initial-scale=1">
9-
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
10+
<meta name="description" content="{{ page.description | default: site.description }}">
11+
<meta name="author" content="Shopify">
12+
13+
<meta name="robots" content="index, follow">
14+
<meta name="mobile-web-app-capable" content="yes">
15+
<meta name="apple-mobile-web-app-capable" content="yes">
16+
<meta name="apple-mobile-web-app-status-bar-style" content="default">
1017

1118
<link rel="stylesheet" href="{{ '/css/main.css' | prepend: site.baseurl }}">
12-
<link href='//fonts.googleapis.com/css?family=Droid+Sans:400,700' rel='stylesheet' type='text/css'>
13-
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
14-
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
19+
<link rel="icon" type="image/png" href="{{ '/images/icons/water-drop-32x.png' | prepend: site.baseurl }}" sizes="32x32">
20+
<link rel="icon" type="image/png" href="{{ '/images/icons/water-drop-64x.png' | prepend: site.baseurl }}" sizes="64x64">
21+
<link rel="canonical" href="{{ page.url | replace: 'index.html','' | prepend: site.baseurl | prepend: site.url }}">
1522
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}" />
16-
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js"></script>
23+
24+
<meta property="og:site_name" content="{{ site.title }}">
25+
<meta property="og:type" content="website">
26+
<meta property="og:url" content="{{ site.url | append: site.baseurl }}">
27+
<meta property="og:title" content="{{ page.title | default: site.title }}">
28+
<meta property="og:description" content="{{ page.description | default: site.description }}">
29+
30+
<meta name="twitter:site" content="{{ site.title }}">
31+
<meta name="twitter:card" content="summary">
32+
<meta name="twitter:url" content="{{ site.url | append: site.baseurl }}">
33+
<meta name="twitter:title" content="{{ page.title | default: site.title }}">
34+
<meta name="twitter:description" content="{{ page.description | default: site.description }}">
35+
36+
<script src="{{ '/js/vendor/jquery-3.1.1.slim.min.js' | prepend: site.baseurl }}"></script>
1737
</head>
1838

1939
<body>
40+
2041
{% include sidebar.html %}
2142

2243
<div class="content__overlay"></div>
2344
<main class="content__area" role="main">
2445
<div class="content">
2546
<button class="menu-button">
26-
<i class="icon fa fa-2x fa-bars" aria-hidden="true"></i>
47+
<span aria-hidden="true">{% include icons/three-bars.svg %}</span>
2748
<span>Menu</span>
2849
</button>
2950
<h1>{{ page.title }}</h1>
3051
{{ content }}
3152
</div>
3253
</main>
54+
<script src="{{ '/js/script.js' | prepend: site.baseurl }}"></script>
3355
</body>
34-
<script src="{{ '/js/script.js' | prepend: site.baseurl }}"></script>
3556
</html>

_sass/modules/_base.scss

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,6 @@ li {
6161
}
6262
}
6363

64-
/** Headings */
65-
66-
h1, h2, h3, h4, h5, h6 {
67-
font-weight: bold;
68-
}
69-
7064
/** Links */
7165
a {
7266
color: $color-blue-5;
@@ -80,19 +74,22 @@ a {
8074
}
8175
}
8276

77+
/** Headings */
78+
8379
h1 {
8480
font-size: 2em;
81+
font-weight: 300;
8582
}
8683

8784
h2 {
8885
font-size: 1.5em;
89-
text-decoration: underline;
86+
font-weight: 300;
9087
margin-top: $spacing-unit;
9188
}
9289

9390
h3 {
91+
margin-top: $spacing-unit;
9492
font-size: 1em;
95-
text-decoration: underline;
9693
}
9794

9895
h4 {
@@ -112,6 +109,7 @@ blockquote {
112109
}
113110

114111
pre, code {
112+
font-family: Menlo, Monaco, monospace;
115113
font-size: 15px;
116114
border-radius: 3px;
117115
background-color: lighten($color-blue-1, 0.9);

0 commit comments

Comments
 (0)