Skip to content

Commit 7c5a4a6

Browse files
committed
Update instructions for jekyll
1 parent 52c49a1 commit 7c5a4a6

3 files changed

Lines changed: 218 additions & 17 deletions

File tree

Gemfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ source "https://rubygems.org"
88
#
99
# This will help ensure the proper Jekyll version is running.
1010
# Happy Jekylling!
11-
gem "jekyll", "~> 3.9.0"
11+
# gem "jekyll", "~> 3.9.0"
1212

1313
# This is the default theme for new Jekyll sites. You may change this to anything you like.
14-
gem "minima", "~> 2.0"
14+
gem "minima", "~> 2.5.1"
1515

1616
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
1717
# uncomment the line below. To upgrade, run `bundle update github-pages`.
18-
#gem "github-pages", "~> 209", group: :jekyll_plugins
18+
gem "github-pages", "~> 209", group: :jekyll_plugins
1919

2020
# If you have any plugins, put them here!
2121
group :jekyll_plugins do
22-
gem "jekyll-feed", "~> 0.6"
22+
gem "jekyll-feed", "~> 0.15.1"
2323
end
2424

2525
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
@@ -34,5 +34,5 @@ gem "wdm", "~> 0.1.0", :install_if => Gem.win_platform?
3434

3535
# kramdown v2 ships without the gfm parser by default. If you're using
3636
# kramdown v1, comment out this line.
37-
gem "kramdown-parser-gfm"
37+
gem "kramdown-parser-gfm", "~> 1.1.0"
3838

Gemfile.lock

Lines changed: 199 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,92 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4+
activesupport (6.0.3.4)
5+
concurrent-ruby (~> 1.0, >= 1.0.2)
6+
i18n (>= 0.7, < 2)
7+
minitest (~> 5.1)
8+
tzinfo (~> 1.1)
9+
zeitwerk (~> 2.2, >= 2.2.2)
410
addressable (2.7.0)
511
public_suffix (>= 2.0.2, < 5.0)
12+
coffee-script (2.4.1)
13+
coffee-script-source
14+
execjs
15+
coffee-script-source (1.11.1)
616
colorator (1.1.0)
17+
commonmarker (0.17.13)
18+
ruby-enum (~> 0.5)
719
concurrent-ruby (1.1.7)
20+
dnsruby (1.61.5)
21+
simpleidn (~> 0.1)
822
em-websocket (0.5.2)
923
eventmachine (>= 0.12.9)
1024
http_parser.rb (~> 0.6.0)
25+
ethon (0.12.0)
26+
ffi (>= 1.3.0)
1127
eventmachine (1.2.7)
28+
execjs (2.7.0)
29+
faraday (1.3.0)
30+
faraday-net_http (~> 1.0)
31+
multipart-post (>= 1.2, < 3)
32+
ruby2_keywords
33+
faraday-net_http (1.0.1)
1234
ffi (1.14.2)
1335
forwardable-extended (2.6.0)
36+
gemoji (3.0.1)
37+
github-pages (209)
38+
github-pages-health-check (= 1.16.1)
39+
jekyll (= 3.9.0)
40+
jekyll-avatar (= 0.7.0)
41+
jekyll-coffeescript (= 1.1.1)
42+
jekyll-commonmark-ghpages (= 0.1.6)
43+
jekyll-default-layout (= 0.1.4)
44+
jekyll-feed (= 0.15.1)
45+
jekyll-gist (= 1.5.0)
46+
jekyll-github-metadata (= 2.13.0)
47+
jekyll-mentions (= 1.6.0)
48+
jekyll-optional-front-matter (= 0.3.2)
49+
jekyll-paginate (= 1.1.0)
50+
jekyll-readme-index (= 0.3.0)
51+
jekyll-redirect-from (= 0.16.0)
52+
jekyll-relative-links (= 0.6.1)
53+
jekyll-remote-theme (= 0.4.2)
54+
jekyll-sass-converter (= 1.5.2)
55+
jekyll-seo-tag (= 2.6.1)
56+
jekyll-sitemap (= 1.4.0)
57+
jekyll-swiss (= 1.0.0)
58+
jekyll-theme-architect (= 0.1.1)
59+
jekyll-theme-cayman (= 0.1.1)
60+
jekyll-theme-dinky (= 0.1.1)
61+
jekyll-theme-hacker (= 0.1.2)
62+
jekyll-theme-leap-day (= 0.1.1)
63+
jekyll-theme-merlot (= 0.1.1)
64+
jekyll-theme-midnight (= 0.1.1)
65+
jekyll-theme-minimal (= 0.1.1)
66+
jekyll-theme-modernist (= 0.1.1)
67+
jekyll-theme-primer (= 0.5.4)
68+
jekyll-theme-slate (= 0.1.1)
69+
jekyll-theme-tactile (= 0.1.1)
70+
jekyll-theme-time-machine (= 0.1.1)
71+
jekyll-titles-from-headings (= 0.5.3)
72+
jemoji (= 0.12.0)
73+
kramdown (= 2.3.0)
74+
kramdown-parser-gfm (= 1.1.0)
75+
liquid (= 4.0.3)
76+
mercenary (~> 0.3)
77+
minima (= 2.5.1)
78+
nokogiri (>= 1.10.4, < 2.0)
79+
rouge (= 3.23.0)
80+
terminal-table (~> 1.4)
81+
github-pages-health-check (1.16.1)
82+
addressable (~> 2.3)
83+
dnsruby (~> 1.60)
84+
octokit (~> 4.0)
85+
public_suffix (~> 3.0)
86+
typhoeus (~> 1.3)
87+
html-pipeline (2.14.0)
88+
activesupport (>= 2)
89+
nokogiri (>= 1.4)
1490
http_parser.rb (0.6.0)
1591
i18n (0.9.5)
1692
concurrent-ruby (~> 1.0)
@@ -27,14 +103,99 @@ GEM
27103
pathutil (~> 0.9)
28104
rouge (>= 1.7, < 4)
29105
safe_yaml (~> 1.0)
106+
jekyll-avatar (0.7.0)
107+
jekyll (>= 3.0, < 5.0)
108+
jekyll-coffeescript (1.1.1)
109+
coffee-script (~> 2.2)
110+
coffee-script-source (~> 1.11.1)
111+
jekyll-commonmark (1.3.1)
112+
commonmarker (~> 0.14)
113+
jekyll (>= 3.7, < 5.0)
114+
jekyll-commonmark-ghpages (0.1.6)
115+
commonmarker (~> 0.17.6)
116+
jekyll-commonmark (~> 1.2)
117+
rouge (>= 2.0, < 4.0)
118+
jekyll-default-layout (0.1.4)
119+
jekyll (~> 3.0)
30120
jekyll-feed (0.15.1)
31121
jekyll (>= 3.7, < 5.0)
122+
jekyll-gist (1.5.0)
123+
octokit (~> 4.2)
124+
jekyll-github-metadata (2.13.0)
125+
jekyll (>= 3.4, < 5.0)
126+
octokit (~> 4.0, != 4.4.0)
127+
jekyll-mentions (1.6.0)
128+
html-pipeline (~> 2.3)
129+
jekyll (>= 3.7, < 5.0)
130+
jekyll-optional-front-matter (0.3.2)
131+
jekyll (>= 3.0, < 5.0)
132+
jekyll-paginate (1.1.0)
133+
jekyll-readme-index (0.3.0)
134+
jekyll (>= 3.0, < 5.0)
135+
jekyll-redirect-from (0.16.0)
136+
jekyll (>= 3.3, < 5.0)
137+
jekyll-relative-links (0.6.1)
138+
jekyll (>= 3.3, < 5.0)
139+
jekyll-remote-theme (0.4.2)
140+
addressable (~> 2.0)
141+
jekyll (>= 3.5, < 5.0)
142+
jekyll-sass-converter (>= 1.0, <= 3.0.0, != 2.0.0)
143+
rubyzip (>= 1.3.0, < 3.0)
32144
jekyll-sass-converter (1.5.2)
33145
sass (~> 3.4)
34-
jekyll-seo-tag (2.7.1)
35-
jekyll (>= 3.8, < 5.0)
146+
jekyll-seo-tag (2.6.1)
147+
jekyll (>= 3.3, < 5.0)
148+
jekyll-sitemap (1.4.0)
149+
jekyll (>= 3.7, < 5.0)
150+
jekyll-swiss (1.0.0)
151+
jekyll-theme-architect (0.1.1)
152+
jekyll (~> 3.5)
153+
jekyll-seo-tag (~> 2.0)
154+
jekyll-theme-cayman (0.1.1)
155+
jekyll (~> 3.5)
156+
jekyll-seo-tag (~> 2.0)
157+
jekyll-theme-dinky (0.1.1)
158+
jekyll (~> 3.5)
159+
jekyll-seo-tag (~> 2.0)
160+
jekyll-theme-hacker (0.1.2)
161+
jekyll (> 3.5, < 5.0)
162+
jekyll-seo-tag (~> 2.0)
163+
jekyll-theme-leap-day (0.1.1)
164+
jekyll (~> 3.5)
165+
jekyll-seo-tag (~> 2.0)
166+
jekyll-theme-merlot (0.1.1)
167+
jekyll (~> 3.5)
168+
jekyll-seo-tag (~> 2.0)
169+
jekyll-theme-midnight (0.1.1)
170+
jekyll (~> 3.5)
171+
jekyll-seo-tag (~> 2.0)
172+
jekyll-theme-minimal (0.1.1)
173+
jekyll (~> 3.5)
174+
jekyll-seo-tag (~> 2.0)
175+
jekyll-theme-modernist (0.1.1)
176+
jekyll (~> 3.5)
177+
jekyll-seo-tag (~> 2.0)
178+
jekyll-theme-primer (0.5.4)
179+
jekyll (> 3.5, < 5.0)
180+
jekyll-github-metadata (~> 2.9)
181+
jekyll-seo-tag (~> 2.0)
182+
jekyll-theme-slate (0.1.1)
183+
jekyll (~> 3.5)
184+
jekyll-seo-tag (~> 2.0)
185+
jekyll-theme-tactile (0.1.1)
186+
jekyll (~> 3.5)
187+
jekyll-seo-tag (~> 2.0)
188+
jekyll-theme-time-machine (0.1.1)
189+
jekyll (~> 3.5)
190+
jekyll-seo-tag (~> 2.0)
191+
jekyll-titles-from-headings (0.5.3)
192+
jekyll (>= 3.3, < 5.0)
36193
jekyll-watch (2.2.1)
37194
listen (~> 3.0)
195+
jemoji (0.12.0)
196+
gemoji (~> 3.0)
197+
html-pipeline (~> 2.2)
198+
jekyll (>= 3.0, < 5.0)
38199
kramdown (2.3.0)
39200
rexml
40201
kramdown-parser-gfm (1.1.0)
@@ -44,40 +205,70 @@ GEM
44205
rb-fsevent (~> 0.10, >= 0.10.3)
45206
rb-inotify (~> 0.9, >= 0.9.10)
46207
mercenary (0.3.6)
208+
mini_portile2 (2.5.0)
47209
minima (2.5.1)
48210
jekyll (>= 3.5, < 5.0)
49211
jekyll-feed (~> 0.9)
50212
jekyll-seo-tag (~> 2.1)
213+
minitest (5.14.3)
214+
multipart-post (2.1.1)
215+
nokogiri (1.11.1)
216+
mini_portile2 (~> 2.5.0)
217+
racc (~> 1.4)
218+
nokogiri (1.11.1-x86_64-linux)
219+
racc (~> 1.4)
220+
octokit (4.20.0)
221+
faraday (>= 0.9)
222+
sawyer (~> 0.8.0, >= 0.5.3)
51223
pathutil (0.16.2)
52224
forwardable-extended (~> 2.6)
53-
public_suffix (4.0.6)
225+
public_suffix (3.1.1)
226+
racc (1.5.2)
54227
rb-fsevent (0.10.4)
55228
rb-inotify (0.10.1)
56229
ffi (~> 1.0)
57230
rexml (3.2.4)
58-
rouge (3.26.0)
231+
rouge (3.23.0)
232+
ruby-enum (0.8.0)
233+
i18n
234+
ruby2_keywords (0.0.4)
235+
rubyzip (2.3.0)
59236
safe_yaml (1.0.5)
60237
sass (3.7.4)
61238
sass-listen (~> 4.0.0)
62239
sass-listen (4.0.0)
63240
rb-fsevent (~> 0.9, >= 0.9.4)
64241
rb-inotify (~> 0.9, >= 0.9.7)
242+
sawyer (0.8.2)
243+
addressable (>= 2.3.5)
244+
faraday (> 0.8, < 2.0)
245+
simpleidn (0.2.1)
246+
unf (~> 0.1.4)
247+
terminal-table (1.8.0)
248+
unicode-display_width (~> 1.1, >= 1.1.1)
65249
thread_safe (0.3.6)
250+
typhoeus (1.4.0)
251+
ethon (>= 0.9.0)
66252
tzinfo (1.2.9)
67253
thread_safe (~> 0.1)
68254
tzinfo-data (1.2020.6)
69255
tzinfo (>= 1.0.0)
256+
unf (0.1.4)
257+
unf_ext
258+
unf_ext (0.0.7.7)
259+
unicode-display_width (1.7.0)
70260
wdm (0.1.1)
261+
zeitwerk (2.4.2)
71262

72263
PLATFORMS
73264
ruby
74265
x86_64-linux
75266

76267
DEPENDENCIES
77-
jekyll (~> 3.9.0)
78-
jekyll-feed (~> 0.6)
79-
kramdown-parser-gfm
80-
minima (~> 2.0)
268+
github-pages (~> 209)
269+
jekyll-feed (~> 0.15.1)
270+
kramdown-parser-gfm (~> 1.1.0)
271+
minima (~> 2.5.1)
81272
tzinfo (~> 1.2)
82273
tzinfo-data
83274
wdm (~> 0.1.0)

_posts/2021-01-19-jekyll-for-github-pages-in-wsl.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,25 @@ This will inialize the Git repository and create all the folder structure and se
5151
gem "github-pages", "~> 209", group: :jekyll_plugins
5252
```
5353

54-
I'm using `209` as the version number here because that's what the Dependency Versions page tells me to use. It's important to lock this version number in so that you are always using the version of `github-pages` that matches with the version of `jekyll` you're using.
54+
I'm using `209` as the version number here because that's what the [Dependency Versions page](https://pages.github.com/versions/) tells me to use. It's important to lock this version number in so that you are always using the version of `github-pages` that matches with the version of `jekyll` you're using.
5555

56-
Use `git add` and `git commit` to commit your changes to the `master` branch. Then, rename the branch by running.
56+
As the `Gemfile` mentions, comment out the `gem "jekyll"` line and update the versions of all the gems in this file to match those found in the [Dependency Versions page](https://pages.github.com/versions/). Then, run this to pull all the correct gem versions:
5757

5858
```bash
59-
git branch -m main
59+
bundle update
60+
```
61+
62+
You can preview the site by running
63+
64+
```bash
65+
bundle exec jekyll serve
6066
```
6167

62-
You can preview the site by running `jekyll serve`. You may need to comment out the `github-pages` line in your Gemfile for this to work.
68+
Use `git add` and `git commit` to commit your site to the `main` branch. If the default branch is `master`, go ahead and commit to that branch, then rename it to `main by running:
69+
70+
```bash
71+
git branch -m main
72+
```
6373

6474
For more information, check out the [GitHub Documentation](https://docs.github.com/en/github/working-with-github-pages/creating-a-github-pages-site-with-jekyll).
6575

0 commit comments

Comments
 (0)