Skip to content

Commit 434d289

Browse files
committed
Update jekyll to version >= 4, add java kernel installation and execute flag to notebook conversion
1 parent 0cc163a commit 434d289

4 files changed

Lines changed: 51 additions & 32 deletions

File tree

.github/workflows/github-pages.yml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,24 @@ jobs:
2323
cd nbtojekyll
2424
python -m pip install --upgrade --force-reinstall --no-deps --no-cache-dir .
2525
26+
- name: Set up JDK 1.9
27+
uses: actions/setup-java@v1
28+
with:
29+
java-version: 1.9
30+
31+
- name: Install Java Jupyter Kernel
32+
run: |
33+
wget "https://github.com/SpencerPark/IJava/releases/download/v1.3.0/ijava-1.3.0.zip"
34+
unzip ijava-1.3.0.zip -d ijava-1.3.0
35+
cd ijava-1.3.0
36+
python install.py
37+
jupyter kernelspec list
38+
2639
- name: Convert Jupyter notebooks
2740
run: |
28-
jupyter nbtojekyll getting-started/pairing-tutorial.ipynb --output getting-started/pairing-tutorial.md --binder-link https://mybinder.org/v2/gh/cryptimeleon/cryptimeleon.github.io/master\?filepath\=getting-started%2Fpairing-tutorial.ipynb --image-dir assets/images/pairing-tutorial --md-title "Pairing Tutorial" --binder-link-cell 1 --enable-toc --enable-mathjax
29-
jupyter nbtojekyll getting-started/protocols-tutorial.ipynb --output getting-started/protocols-tutorial.md --binder-link https://mybinder.org/v2/gh/cryptimeleon/cryptimeleon.github.io/master\?filepath\=getting-started%2Fprotocols-tutorial.ipynb --md-title "Protocols Tutorial" --binder-link-cell 0 --enable-toc --enable-mathjax
30-
jupyter nbtojekyll getting-started/5-minute-tutorial.ipynb --output getting-started/5-minute-tutorial.md --binder-link https://mybinder.org/v2/gh/cryptimeleon/cryptimeleon.github.io/master\?filepath\=getting-started%2F5-minute-tutorial.ipynb --md-title "5 Minute Tutorial" --binder-link-cell 0 --enable-toc --enable-mathjax
41+
jupyter nbtojekyll getting-started/pairing-tutorial.ipynb --output getting-started/pairing-tutorial.md --binder-link https://mybinder.org/v2/gh/cryptimeleon/cryptimeleon.github.io/master\?filepath\=getting-started%2Fpairing-tutorial.ipynb --image-dir assets/images/pairing-tutorial --md-title "Pairing Tutorial" --binder-link-cell 1 --enable-toc --enable-mathjax --execute
42+
jupyter nbtojekyll getting-started/protocols-tutorial.ipynb --output getting-started/protocols-tutorial.md --binder-link https://mybinder.org/v2/gh/cryptimeleon/cryptimeleon.github.io/master\?filepath\=getting-started%2Fprotocols-tutorial.ipynb --md-title "Protocols Tutorial" --binder-link-cell 0 --enable-toc --enable-mathjax --execute
43+
jupyter nbtojekyll getting-started/5-minute-tutorial.ipynb --output getting-started/5-minute-tutorial.md --binder-link https://mybinder.org/v2/gh/cryptimeleon/cryptimeleon.github.io/master\?filepath\=getting-started%2F5-minute-tutorial.ipynb --md-title "5 Minute Tutorial" --binder-link-cell 0 --enable-toc --enable-mathjax --execute
3144
3245
# Use GitHub Actions' cache to shorten build times and decrease load on servers
3346
- uses: actions/cache@v2

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
_site/**
1+
_site
22
**/.ipynb_checkpoints/
33
.sass-cache
4-
4+
.jekyll-cache

Gemfile

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

3-
gem "jekyll"
3+
gem "jekyll", ">= 4"
44
gem "kramdown-parser-gfm"
55
gem "jekyll-include-cache"
66
gem "jekyll-relative-links"

Gemfile.lock

Lines changed: 32 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -4,55 +4,60 @@ GEM
44
addressable (2.7.0)
55
public_suffix (>= 2.0.2, < 5.0)
66
colorator (1.1.0)
7-
concurrent-ruby (1.1.7)
7+
concurrent-ruby (1.1.8)
88
em-websocket (0.5.2)
99
eventmachine (>= 0.12.9)
1010
http_parser.rb (~> 0.6.0)
1111
eventmachine (1.2.7)
12-
faraday (1.0.1)
12+
faraday (1.3.0)
13+
faraday-net_http (~> 1.0)
1314
multipart-post (>= 1.2, < 3)
14-
ffi (1.13.1)
15+
ruby2_keywords
16+
faraday-net_http (1.0.1)
17+
ffi (1.15.0)
1518
forwardable-extended (2.6.0)
1619
http_parser.rb (0.6.0)
17-
i18n (0.9.5)
20+
i18n (1.8.9)
1821
concurrent-ruby (~> 1.0)
19-
jekyll (3.9.0)
22+
jekyll (4.2.0)
2023
addressable (~> 2.4)
2124
colorator (~> 1.0)
2225
em-websocket (~> 0.5)
23-
i18n (~> 0.7)
24-
jekyll-sass-converter (~> 1.0)
26+
i18n (~> 1.0)
27+
jekyll-sass-converter (~> 2.0)
2528
jekyll-watch (~> 2.0)
26-
kramdown (>= 1.17, < 3)
29+
kramdown (~> 2.3)
30+
kramdown-parser-gfm (~> 1.0)
2731
liquid (~> 4.0)
28-
mercenary (~> 0.3.3)
32+
mercenary (~> 0.4.0)
2933
pathutil (~> 0.9)
30-
rouge (>= 1.7, < 4)
34+
rouge (~> 3.0)
3135
safe_yaml (~> 1.0)
32-
jekyll-feed (0.15.0)
36+
terminal-table (~> 2.0)
37+
jekyll-feed (0.15.1)
3338
jekyll (>= 3.7, < 5.0)
3439
jekyll-gist (1.5.0)
3540
octokit (~> 4.2)
36-
jekyll-include-cache (0.2.0)
41+
jekyll-include-cache (0.2.1)
3742
jekyll (>= 3.7, < 5.0)
3843
jekyll-paginate (1.1.0)
3944
jekyll-relative-links (0.6.1)
4045
jekyll (>= 3.3, < 5.0)
41-
jekyll-sass-converter (1.5.2)
42-
sass (~> 3.4)
46+
jekyll-sass-converter (2.1.0)
47+
sassc (> 2.0.1, < 3.0)
4348
jekyll-sitemap (1.4.0)
4449
jekyll (>= 3.7, < 5.0)
4550
jekyll-watch (2.2.1)
4651
listen (~> 3.0)
47-
kramdown (2.3.0)
52+
kramdown (2.3.1)
4853
rexml
4954
kramdown-parser-gfm (1.1.0)
5055
kramdown (~> 2.0)
5156
liquid (4.0.3)
52-
listen (3.2.1)
57+
listen (3.5.0)
5358
rb-fsevent (~> 0.10, >= 0.10.3)
5459
rb-inotify (~> 0.9, >= 0.9.10)
55-
mercenary (0.3.6)
60+
mercenary (0.4.0)
5661
minimal-mistakes-jekyll (4.22.0)
5762
jekyll (>= 3.7, < 5.0)
5863
jekyll-feed (~> 0.1)
@@ -61,32 +66,33 @@ GEM
6166
jekyll-paginate (~> 1.1)
6267
jekyll-sitemap (~> 1.3)
6368
multipart-post (2.1.1)
64-
octokit (4.18.0)
69+
octokit (4.20.0)
6570
faraday (>= 0.9)
6671
sawyer (~> 0.8.0, >= 0.5.3)
6772
pathutil (0.16.2)
6873
forwardable-extended (~> 2.6)
69-
public_suffix (3.1.1)
74+
public_suffix (4.0.6)
7075
rb-fsevent (0.10.4)
7176
rb-inotify (0.10.1)
7277
ffi (~> 1.0)
7378
rexml (3.2.4)
74-
rouge (3.23.0)
79+
rouge (3.26.0)
80+
ruby2_keywords (0.0.4)
7581
safe_yaml (1.0.5)
76-
sass (3.7.4)
77-
sass-listen (~> 4.0.0)
78-
sass-listen (4.0.0)
79-
rb-fsevent (~> 0.9, >= 0.9.4)
80-
rb-inotify (~> 0.9, >= 0.9.7)
82+
sassc (2.4.0)
83+
ffi (~> 1.9)
8184
sawyer (0.8.2)
8285
addressable (>= 2.3.5)
8386
faraday (> 0.8, < 2.0)
87+
terminal-table (2.0.0)
88+
unicode-display_width (~> 1.1, >= 1.1.1)
89+
unicode-display_width (1.7.0)
8490

8591
PLATFORMS
8692
ruby
8793

8894
DEPENDENCIES
89-
jekyll
95+
jekyll (>= 4)
9096
jekyll-include-cache
9197
jekyll-relative-links
9298
kramdown-parser-gfm

0 commit comments

Comments
 (0)