Skip to content

Commit 7daeafa

Browse files
authored
Merge pull request #2163 from marquiz/devel/docs-build
docs: bump build dependencies
2 parents 5edf24e + 4b7c2a5 commit 7daeafa

File tree

5 files changed

+68
-51
lines changed

5 files changed

+68
-51
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@ BASE_IMAGE_MINIMAL ?= scratch
1616
# Use host networking because 'jekyll serve' is stupid enough to use the
1717
# same site url than the "host" it binds to. Thus, all the links will be
1818
# broken if we'd bind to 0.0.0.0
19-
RUBY_IMAGE_VERSION := 3.1
19+
RUBY_IMAGE_VERSION := 3.3
2020
JEKYLL_ENV ?= development
2121
SITE_BUILD_CMD := $(CONTAINER_RUN_CMD) --rm -i -u "`id -u`:`id -g`" \
2222
$(shell [ -t 0 ] && echo '-t') \
2323
-e JEKYLL_ENV=$(JEKYLL_ENV) \
24+
$(shell [ "$(JEKYLL_ENV)" = "development" ] && echo '-e PAGES_DISABLE_NETWORK=1') \
2425
--volume="$$PWD/docs:/work" \
2526
--volume="$$PWD/docs/vendor/bundle:/usr/local/bundle" \
2627
-w /work \

docs/Gemfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@ override 'jekyll-rtd-theme', :drop => "github-pages"
1414
#
1515
# This will help ensure the proper Jekyll version is running.
1616
# Happy Jekylling!
17-
gem "jekyll", "~> 3.9.0"
17+
gem "jekyll", "~> 3.10.0"
1818

1919
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
2020
# uncomment the line below. To upgrade, run `bundle update github-pages`.
21-
gem "github-pages", "~> 228", group: :jekyll_plugins
21+
gem "github-pages", "~> 232", group: :jekyll_plugins
22+
gem "jekyll-github-metadata", git: "https://github.com/jekyll/github-metadata", ref: "e41276ff417a4aa4701bd617b5007c07e1e074e6", group: :jekyll_plugins
2223

2324
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
2425
# and associated library.

docs/Gemfile.lock

Lines changed: 58 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
1+
GIT
2+
remote: https://github.com/jekyll/github-metadata
3+
revision: e41276ff417a4aa4701bd617b5007c07e1e074e6
4+
ref: e41276ff417a4aa4701bd617b5007c07e1e074e6
5+
specs:
6+
jekyll-github-metadata (2.16.1)
7+
jekyll (>= 3.4, < 5.0)
8+
octokit (>= 4, < 7, != 4.4.0)
9+
110
GEM
211
remote: https://rubygems.org/
312
specs:
4-
activesupport (7.2.2.1)
13+
activesupport (8.0.2)
514
base64
615
benchmark (>= 0.3)
716
bigdecimal
@@ -13,6 +22,7 @@ GEM
1322
minitest (>= 5.1)
1423
securerandom (>= 0.3)
1524
tzinfo (~> 2.0, >= 2.0.5)
25+
uri (>= 0.13.1)
1626
addressable (2.8.7)
1727
public_suffix (>= 2.0.2, < 7.0)
1828
base64 (0.2.0)
@@ -21,42 +31,43 @@ GEM
2131
coffee-script (2.4.1)
2232
coffee-script-source
2333
execjs
24-
coffee-script-source (1.11.1)
34+
coffee-script-source (1.12.2)
2535
colorator (1.1.0)
2636
commonmarker (0.23.11)
2737
concurrent-ruby (1.3.5)
28-
connection_pool (2.5.0)
38+
connection_pool (2.5.3)
39+
csv (3.3.4)
2940
dnsruby (1.72.4)
3041
base64 (~> 0.2.0)
3142
logger (~> 1.6.5)
3243
simpleidn (~> 0.2.1)
33-
drb (2.2.1)
44+
drb (2.2.3)
3445
em-websocket (0.5.3)
3546
eventmachine (>= 0.12.9)
3647
http_parser.rb (~> 0)
3748
ethon (0.16.0)
3849
ffi (>= 1.15.0)
3950
eventmachine (1.2.7)
4051
execjs (2.10.0)
41-
faraday (2.12.2)
52+
faraday (2.13.1)
4253
faraday-net_http (>= 2.0, < 3.5)
4354
json
4455
logger
4556
faraday-net_http (3.4.0)
4657
net-http (>= 0.5.0)
47-
ffi (1.17.1)
58+
ffi (1.17.2)
4859
forwardable-extended (2.6.0)
49-
gemoji (3.0.1)
50-
github-pages (228)
51-
github-pages-health-check (= 1.17.9)
52-
jekyll (= 3.9.3)
53-
jekyll-avatar (= 0.7.0)
54-
jekyll-coffeescript (= 1.1.1)
55-
jekyll-commonmark-ghpages (= 0.4.0)
56-
jekyll-default-layout (= 0.1.4)
57-
jekyll-feed (= 0.15.1)
60+
gemoji (4.1.0)
61+
github-pages (232)
62+
github-pages-health-check (= 1.18.2)
63+
jekyll (= 3.10.0)
64+
jekyll-avatar (= 0.8.0)
65+
jekyll-coffeescript (= 1.2.2)
66+
jekyll-commonmark-ghpages (= 0.5.1)
67+
jekyll-default-layout (= 0.1.5)
68+
jekyll-feed (= 0.17.0)
5869
jekyll-gist (= 1.5.0)
59-
jekyll-github-metadata (= 2.13.0)
70+
jekyll-github-metadata (= 2.16.1)
6071
jekyll-include-cache (= 0.2.1)
6172
jekyll-mentions (= 1.6.0)
6273
jekyll-optional-front-matter (= 0.3.2)
@@ -83,30 +94,32 @@ GEM
8394
jekyll-theme-tactile (= 0.2.0)
8495
jekyll-theme-time-machine (= 0.2.0)
8596
jekyll-titles-from-headings (= 0.5.3)
86-
jemoji (= 0.12.0)
87-
kramdown (= 2.3.2)
97+
jemoji (= 0.13.0)
98+
kramdown (= 2.4.0)
8899
kramdown-parser-gfm (= 1.1.0)
89100
liquid (= 4.0.4)
90101
mercenary (~> 0.3)
91102
minima (= 2.5.1)
92-
nokogiri (>= 1.13.6, < 2.0)
93-
rouge (= 3.26.0)
103+
nokogiri (>= 1.16.2, < 2.0)
104+
rouge (= 3.30.0)
94105
terminal-table (~> 1.4)
95-
github-pages-health-check (1.17.9)
106+
webrick (~> 1.8)
107+
github-pages-health-check (1.18.2)
96108
addressable (~> 2.3)
97109
dnsruby (~> 1.60)
98-
octokit (~> 4.0)
99-
public_suffix (>= 3.0, < 5.0)
110+
octokit (>= 4, < 8)
111+
public_suffix (>= 3.0, < 6.0)
100112
typhoeus (~> 1.3)
101113
html-pipeline (2.14.3)
102114
activesupport (>= 2)
103115
nokogiri (>= 1.4)
104116
http_parser.rb (0.8.0)
105117
i18n (1.14.7)
106118
concurrent-ruby (~> 1.0)
107-
jekyll (3.9.3)
119+
jekyll (3.10.0)
108120
addressable (~> 2.4)
109121
colorator (~> 1.0)
122+
csv (~> 3.0)
110123
em-websocket (~> 0.5)
111124
i18n (>= 0.7, < 2)
112125
jekyll-sass-converter (~> 1.0)
@@ -117,27 +130,25 @@ GEM
117130
pathutil (~> 0.9)
118131
rouge (>= 1.7, < 4)
119132
safe_yaml (~> 1.0)
120-
jekyll-avatar (0.7.0)
133+
webrick (>= 1.0)
134+
jekyll-avatar (0.8.0)
121135
jekyll (>= 3.0, < 5.0)
122-
jekyll-coffeescript (1.1.1)
136+
jekyll-coffeescript (1.2.2)
123137
coffee-script (~> 2.2)
124-
coffee-script-source (~> 1.11.1)
138+
coffee-script-source (~> 1.12)
125139
jekyll-commonmark (1.4.0)
126140
commonmarker (~> 0.22)
127-
jekyll-commonmark-ghpages (0.4.0)
128-
commonmarker (~> 0.23.7)
129-
jekyll (~> 3.9.0)
141+
jekyll-commonmark-ghpages (0.5.1)
142+
commonmarker (>= 0.23.7, < 1.1.0)
143+
jekyll (>= 3.9, < 4.0)
130144
jekyll-commonmark (~> 1.4.0)
131145
rouge (>= 2.0, < 5.0)
132-
jekyll-default-layout (0.1.4)
133-
jekyll (~> 3.0)
134-
jekyll-feed (0.15.1)
146+
jekyll-default-layout (0.1.5)
147+
jekyll (>= 3.0, < 5.0)
148+
jekyll-feed (0.17.0)
135149
jekyll (>= 3.7, < 5.0)
136150
jekyll-gist (1.5.0)
137151
octokit (~> 4.2)
138-
jekyll-github-metadata (2.13.0)
139-
jekyll (>= 3.4, < 5.0)
140-
octokit (~> 4.0, != 4.4.0)
141152
jekyll-include-cache (0.2.1)
142153
jekyll (>= 3.7, < 5.0)
143154
jekyll-mentions (1.6.0)
@@ -209,12 +220,12 @@ GEM
209220
jekyll (>= 3.3, < 5.0)
210221
jekyll-watch (2.2.1)
211222
listen (~> 3.0)
212-
jemoji (0.12.0)
213-
gemoji (~> 3.0)
223+
jemoji (0.13.0)
224+
gemoji (>= 3, < 5)
214225
html-pipeline (~> 2.2)
215226
jekyll (>= 3.0, < 5.0)
216-
json (2.10.2)
217-
kramdown (2.3.2)
227+
json (2.12.2)
228+
kramdown (2.4.0)
218229
rexml
219230
kramdown-parser-gfm (1.1.0)
220231
kramdown (~> 2.0)
@@ -224,29 +235,29 @@ GEM
224235
rb-inotify (~> 0.9, >= 0.9.10)
225236
logger (1.6.6)
226237
mercenary (0.3.6)
227-
mini_portile2 (2.8.8)
238+
mini_portile2 (2.8.9)
228239
minima (2.5.1)
229240
jekyll (>= 3.5, < 5.0)
230241
jekyll-feed (~> 0.9)
231242
jekyll-seo-tag (~> 2.1)
232243
minitest (5.25.5)
233244
net-http (0.6.0)
234245
uri
235-
nokogiri (1.18.6)
246+
nokogiri (1.18.8)
236247
mini_portile2 (~> 2.8.2)
237248
racc (~> 1.4)
238249
octokit (4.25.1)
239250
faraday (>= 1, < 3)
240251
sawyer (~> 0.9)
241252
pathutil (0.16.2)
242253
forwardable-extended (~> 2.6)
243-
public_suffix (4.0.7)
254+
public_suffix (5.1.1)
244255
racc (1.8.1)
245256
rb-fsevent (0.11.2)
246257
rb-inotify (0.11.1)
247258
ffi (~> 1.0)
248259
rexml (3.4.1)
249-
rouge (3.26.0)
260+
rouge (3.30.0)
250261
rubyzip (2.4.1)
251262
safe_yaml (1.0.5)
252263
sass (3.7.4)
@@ -276,8 +287,9 @@ PLATFORMS
276287
ruby
277288

278289
DEPENDENCIES
279-
github-pages (~> 228)
280-
jekyll (~> 3.9.0)
290+
github-pages (~> 232)
291+
jekyll (~> 3.10.0)
292+
jekyll-github-metadata!
281293
jekyll-rtd-theme (~> 2.0, >= 2.0.10)
282294
tzinfo (~> 2.0)
283295
tzinfo-data

netlify.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# Netlify settings
22
[build]
3-
command = "cd docs/ && source /opt/buildhome/.rvm/scripts/rvm && rvm install ruby-3.1.6 && bundle plugin install bundler-override && bundle install && jekyll build"
3+
command = "cd docs/ && source /opt/buildhome/.rvm/scripts/rvm && rvm install ruby-3.3.8 && bundle plugin install bundler-override && bundle install && jekyll build"
44
publish = "docs/_site/"
5+
6+
[build.environment]
7+
PAGES_DISABLE_NETWORK = "1"

scripts/test-infra/build-gh-pages.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ mkdir -p "$_outdir"
88
chmod a+rwx "$_outdir"
99

1010
# Build docs
11-
JEKYLL_ENV=production make site-build
11+
make site-build

0 commit comments

Comments
 (0)