Skip to content

Commit 56def84

Browse files
committed
Merge remote-tracking branch 'origin/upstream'
# Conflicts: # INSTALL.md
2 parents 8601295 + a66d975 commit 56def84

File tree

5 files changed

+75
-66
lines changed

5 files changed

+75
-66
lines changed

.github/workflows/docker-slim.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,7 @@ on:
1212
workflows: ["Docker Image CI"]
1313
types:
1414
- completed
15-
16-
# on:
17-
# push:
18-
# branches:
19-
# - 'master'
15+
workflow_dispatch:
2016

2117
jobs:
2218
build:
@@ -43,7 +39,7 @@ jobs:
4339
sed -i "s|\.:|${{ github.workspace }}:|g" ${{ github.workspace }}/docker-compose.yml
4440
cat ${{ github.workspace }}/docker-compose.yml
4541
46-
- uses: kitabisa/docker-slim-action@v1.1.1
42+
- uses: kitabisa/docker-slim-action@v1.2.0
4743
env:
4844
DSLIM_PULL: true
4945
DSLIM_COMPOSE_FILE: ${{ github.workspace }}/docker-compose.yml

Gemfile.lock

Lines changed: 56 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -9,35 +9,35 @@ GIT
99
GEM
1010
remote: https://rubygems.org/
1111
specs:
12-
activesupport (8.0.2)
12+
activesupport (8.1.1)
1313
base64
14-
benchmark (>= 0.3)
1514
bigdecimal
1615
concurrent-ruby (~> 1.0, >= 1.3.1)
1716
connection_pool (>= 2.2.5)
1817
drb
1918
i18n (>= 1.6, < 2)
19+
json
2020
logger (>= 1.4.2)
2121
minitest (>= 5.1)
2222
securerandom (>= 0.3)
2323
tzinfo (~> 2.0, >= 2.0.5)
2424
uri (>= 0.13.1)
2525
addressable (2.8.7)
2626
public_suffix (>= 2.0.2, < 7.0)
27-
base64 (0.2.0)
28-
benchmark (0.4.0)
29-
bibtex-ruby (6.1.0)
27+
base64 (0.3.0)
28+
bibtex-ruby (6.2.0)
3029
latex-decode (~> 0.0)
30+
logger (~> 1.7)
3131
racc (~> 1.7)
32-
bigdecimal (3.1.9)
32+
bigdecimal (3.3.1)
3333
citeproc (1.1.0)
3434
date
3535
forwardable
3636
json
3737
namae (~> 1.0)
3838
observer (< 1.0)
3939
open-uri (< 1.0)
40-
citeproc-ruby (2.1.1)
40+
citeproc-ruby (2.1.4)
4141
citeproc (~> 1.0, >= 1.0.9)
4242
csl (~> 2.0)
4343
observer (< 1.0)
@@ -46,23 +46,23 @@ GEM
4646
matrix (~> 0.4)
4747
colorator (1.1.0)
4848
concurrent-ruby (1.3.5)
49-
connection_pool (2.5.3)
49+
connection_pool (2.5.4)
5050
crass (1.0.6)
51-
csl (2.1.0)
51+
csl (2.2.1)
5252
forwardable (~> 1.3)
5353
namae (~> 1.2)
5454
open-uri (< 1.0)
5555
rexml (~> 3.0)
5656
set (~> 1.1)
5757
singleton (< 1.0)
5858
time (< 1.0)
59-
csl-styles (2.0.1)
59+
csl-styles (2.0.2)
6060
csl (~> 2.0)
6161
css_parser (1.21.1)
6262
addressable
63-
cssminify2 (2.0.1)
64-
csv (3.3.4)
65-
date (3.4.1)
63+
cssminify2 (2.1.0)
64+
csv (3.3.5)
65+
date (3.5.0)
6666
deep_merge (1.2.2)
6767
drb (2.2.3)
6868
em-websocket (0.5.3)
@@ -71,7 +71,8 @@ GEM
7171
eventmachine (1.2.7)
7272
execjs (2.10.0)
7373
fast-stemmer (1.0.2)
74-
feedjira (3.2.5)
74+
feedjira (4.0.1)
75+
logger (>= 1.0, < 2)
7576
loofah (>= 2.3.1, < 3)
7677
sax-machine (>= 1.0, < 2)
7778
ffi (1.17.2-aarch64-linux-gnu)
@@ -85,33 +86,33 @@ GEM
8586
forwardable (1.3.3)
8687
forwardable-extended (2.6.0)
8788
gemoji (4.1.0)
88-
google-protobuf (4.31.0)
89+
google-protobuf (4.33.1)
8990
bigdecimal
9091
rake (>= 13)
91-
google-protobuf (4.31.0-aarch64-linux-gnu)
92+
google-protobuf (4.33.1-aarch64-linux-gnu)
9293
bigdecimal
9394
rake (>= 13)
94-
google-protobuf (4.31.0-aarch64-linux-musl)
95+
google-protobuf (4.33.1-aarch64-linux-musl)
9596
bigdecimal
9697
rake (>= 13)
97-
google-protobuf (4.31.0-arm64-darwin)
98+
google-protobuf (4.33.1-arm64-darwin)
9899
bigdecimal
99100
rake (>= 13)
100-
google-protobuf (4.31.0-x86_64-darwin)
101+
google-protobuf (4.33.1-x86_64-darwin)
101102
bigdecimal
102103
rake (>= 13)
103-
google-protobuf (4.31.0-x86_64-linux-gnu)
104+
google-protobuf (4.33.1-x86_64-linux-gnu)
104105
bigdecimal
105106
rake (>= 13)
106-
google-protobuf (4.31.0-x86_64-linux-musl)
107+
google-protobuf (4.33.1-x86_64-linux-musl)
107108
bigdecimal
108109
rake (>= 13)
109110
html-pipeline (2.14.3)
110111
activesupport (>= 2)
111112
nokogiri (>= 1.4)
112113
htmlcompressor (0.4.0)
113114
http_parser.rb (0.8.0)
114-
httparty (0.23.1)
115+
httparty (0.23.2)
115116
csv
116117
mini_mime (>= 1.0.0)
117118
multi_xml (>= 0.5.2)
@@ -150,20 +151,20 @@ GEM
150151
jekyll-jupyter-notebook (0.0.6)
151152
jekyll
152153
jekyll-link-attributes (1.0.1)
153-
jekyll-minifier (0.1.10)
154-
cssminify2 (~> 2.0)
154+
jekyll-minifier (0.2.2)
155+
cssminify2 (~> 2.1.0)
155156
htmlcompressor (~> 0.4)
156-
jekyll (>= 3.5)
157+
jekyll (~> 4.0)
157158
json-minify (~> 0.0.3)
158-
uglifier (~> 4.1)
159+
terser (~> 1.2.3)
159160
jekyll-paginate-v2 (3.0.0)
160161
jekyll (>= 3.0, < 5.0)
161162
jekyll-regex-replace (1.1.0)
162163
jekyll-sass-converter (3.1.0)
163164
sass-embedded (~> 1.75)
164-
jekyll-scholar (7.2.0)
165+
jekyll-scholar (7.2.2)
165166
bibtex-ruby (~> 6.0)
166-
citeproc-ruby (~> 2.0)
167+
citeproc-ruby (>= 2.1.3)
167168
csl-styles (~> 2.0)
168169
jekyll (~> 4.0)
169170
jekyll-sitemap (1.4.0)
@@ -180,7 +181,7 @@ GEM
180181
gemoji (>= 3, < 5)
181182
html-pipeline (~> 2.2)
182183
jekyll (>= 3.0, < 5.0)
183-
json (2.12.2)
184+
json (2.16.0)
184185
json-minify (0.0.3)
185186
json (> 0)
186187
kramdown (2.5.1)
@@ -196,80 +197,78 @@ GEM
196197
loofah (2.24.1)
197198
crass (~> 1.0.2)
198199
nokogiri (>= 1.12.0)
199-
matrix (0.4.2)
200+
matrix (0.4.3)
200201
mercenary (0.4.0)
201202
mini_mime (1.1.5)
202-
minitest (5.25.5)
203+
minitest (5.26.2)
203204
multi_xml (0.7.2)
204205
bigdecimal (~> 3.1)
205206
namae (1.2.0)
206207
racc (~> 1.7)
207-
nokogiri (1.18.9-aarch64-linux-gnu)
208+
nokogiri (1.18.10-aarch64-linux-gnu)
208209
racc (~> 1.4)
209-
nokogiri (1.18.9-aarch64-linux-musl)
210+
nokogiri (1.18.10-aarch64-linux-musl)
210211
racc (~> 1.4)
211-
nokogiri (1.18.9-arm-linux-gnu)
212+
nokogiri (1.18.10-arm-linux-gnu)
212213
racc (~> 1.4)
213-
nokogiri (1.18.9-arm-linux-musl)
214+
nokogiri (1.18.10-arm-linux-musl)
214215
racc (~> 1.4)
215-
nokogiri (1.18.9-arm64-darwin)
216+
nokogiri (1.18.10-arm64-darwin)
216217
racc (~> 1.4)
217-
nokogiri (1.18.9-x86_64-darwin)
218+
nokogiri (1.18.10-x86_64-darwin)
218219
racc (~> 1.4)
219-
nokogiri (1.18.9-x86_64-linux-gnu)
220+
nokogiri (1.18.10-x86_64-linux-gnu)
220221
racc (~> 1.4)
221-
nokogiri (1.18.9-x86_64-linux-musl)
222+
nokogiri (1.18.10-x86_64-linux-musl)
222223
racc (~> 1.4)
223224
observer (0.1.2)
224225
open-uri (0.5.0)
225226
stringio
226227
time
227228
uri
228-
ostruct (0.6.1)
229+
ostruct (0.6.3)
229230
pathutil (0.16.2)
230231
forwardable-extended (~> 2.6)
231232
public_suffix (6.0.2)
232233
racc (1.8.1)
233-
rake (13.2.1)
234+
rake (13.3.1)
234235
rb-fsevent (0.11.2)
235236
rb-inotify (0.11.1)
236237
ffi (~> 1.0)
237-
rexml (3.4.2)
238-
rouge (4.5.2)
238+
rexml (3.4.4)
239+
rouge (4.6.1)
239240
safe_yaml (1.0.5)
240-
sass-embedded (1.89.0-aarch64-linux-gnu)
241+
sass-embedded (1.94.2-aarch64-linux-gnu)
241242
google-protobuf (~> 4.31)
242-
sass-embedded (1.89.0-aarch64-linux-musl)
243+
sass-embedded (1.94.2-aarch64-linux-musl)
243244
google-protobuf (~> 4.31)
244-
sass-embedded (1.89.0-arm-linux-gnueabihf)
245+
sass-embedded (1.94.2-arm-linux-gnueabihf)
245246
google-protobuf (~> 4.31)
246-
sass-embedded (1.89.0-arm-linux-musleabihf)
247+
sass-embedded (1.94.2-arm-linux-musleabihf)
247248
google-protobuf (~> 4.31)
248-
sass-embedded (1.89.0-arm64-darwin)
249+
sass-embedded (1.94.2-arm64-darwin)
249250
google-protobuf (~> 4.31)
250-
sass-embedded (1.89.0-x86_64-darwin)
251+
sass-embedded (1.94.2-x86_64-darwin)
251252
google-protobuf (~> 4.31)
252-
sass-embedded (1.89.0-x86_64-linux-gnu)
253+
sass-embedded (1.94.2-x86_64-linux-gnu)
253254
google-protobuf (~> 4.31)
254-
sass-embedded (1.89.0-x86_64-linux-musl)
255+
sass-embedded (1.94.2-x86_64-linux-musl)
255256
google-protobuf (~> 4.31)
256257
sax-machine (1.3.2)
257258
securerandom (0.4.1)
258259
set (1.1.2)
259260
singleton (0.3.0)
260-
stringio (3.1.7)
261+
stringio (3.1.8)
261262
terminal-table (3.0.2)
262263
unicode-display_width (>= 1.1.1, < 3)
263-
terser (1.2.5)
264+
terser (1.2.6)
264265
execjs (>= 0.3.0, < 3)
265266
time (0.4.1)
266267
date
267268
tzinfo (2.0.6)
268269
concurrent-ruby (~> 1.0)
269-
uglifier (4.2.1)
270-
execjs (>= 0.3.0, < 3)
271270
unicode-display_width (2.6.0)
272-
uri (1.0.3)
271+
uri (1.1.1)
273272
webrick (1.9.1)
274273

275274
PLATFORMS
@@ -313,4 +312,4 @@ DEPENDENCIES
313312
ostruct
314313

315314
BUNDLED WITH
316-
2.6.9
315+
2.7.2

_layouts/distill.liquid

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
{% endif %}
6868

6969
<d-article>
70-
{% if page.toc %}
70+
{% if page.toc and page.toc.size > 0 %}
7171
<d-contents>
7272
<nav class="l-text figcaption">
7373
<h3>Contents</h3>
@@ -87,7 +87,16 @@
8787
{% endfor %}
8888
</nav>
8989
</d-contents>
90+
91+
{% elsif page.toc == true %}
92+
<d-contents>
93+
<nav class="l-text figcaption">
94+
<h3>Contents</h3>
95+
{% toc %}
96+
</nav>
97+
</d-contents>
9098
{% endif %}
99+
91100
{{ content }}
92101
</d-article>
93102

_plugins/external-posts.rb

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,12 @@ def generate(site)
2525
def fetch_from_rss(site, src)
2626
xml = HTTParty.get(src['rss_url']).body
2727
return if xml.nil?
28-
feed = Feedjira.parse(xml)
28+
begin
29+
feed = Feedjira.parse(xml)
30+
rescue StandardError => e
31+
puts "Error parsing RSS feed from #{src['rss_url']} - #{e.message}"
32+
return
33+
end
2934
process_entries(site, src, feed.entries)
3035
end
3136

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# this file uses prebuilt image in dockerhub
22
services:
33
jekyll:
4-
image: amirpourmand/al-folio:v0.14.6
4+
image: amirpourmand/al-folio:v0.14.7
55
build: .
66
# uncomment these if you are having this issue with the build:
77
# /usr/local/bundle/gems/jekyll-4.3.4/lib/jekyll/site.rb:509:in `initialize': Permission denied @ rb_sysopen - /srv/jekyll/.jekyll-cache/.gitignore (Errno::EACCES)

0 commit comments

Comments
 (0)