From 2437fdc5f71b87a4595b27fdbd74663512fe7d32 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 15 Oct 2022 14:19:05 +0200 Subject: upgrade to Jekyll 4 --- .gitignore | 1 + Gemfile | 5 +-- Gemfile.lock | 83 ++++++++++++++++------------------------ _config.yml | 3 -- _posts/2021-04-10-collapsible.md | 2 +- index.md | 8 ++-- 6 files changed, 39 insertions(+), 63 deletions(-) diff --git a/.gitignore b/.gitignore index 921f829..218813a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ +/.jekyll-cache/ /_site/ /.wget/ diff --git a/Gemfile b/Gemfile index 7fcfd0d..81d0077 100644 --- a/Gemfile +++ b/Gemfile @@ -1,9 +1,6 @@ source 'https://rubygems.org' -gem 'jekyll', '~> 3' +gem 'jekyll', '~> 4' gem 'jekyll-github-metadata' gem 'jekyll-paginate' gem 'jekyll-tidy' -# Why is this not a dependency of Jekyll? Considering that without -# kramdown-parser-gfm, Jekyll will error out. -gem 'kramdown-parser-gfm' diff --git a/Gemfile.lock b/Gemfile.lock index 44afe3d..3d57c5c 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,63 +1,46 @@ GEM remote: https://rubygems.org/ specs: - addressable (2.8.0) - public_suffix (>= 2.0.2, < 5.0) + addressable (2.8.1) + public_suffix (>= 2.0.2, < 6.0) colorator (1.1.0) concurrent-ruby (1.1.10) em-websocket (0.5.3) eventmachine (>= 0.12.9) http_parser.rb (~> 0) eventmachine (1.2.7) - faraday (1.10.0) - faraday-em_http (~> 1.0) - faraday-em_synchrony (~> 1.0) - faraday-excon (~> 1.1) - faraday-httpclient (~> 1.0) - faraday-multipart (~> 1.0) - faraday-net_http (~> 1.0) - faraday-net_http_persistent (~> 1.0) - faraday-patron (~> 1.0) - faraday-rack (~> 1.0) - faraday-retry (~> 1.0) + faraday (2.6.0) + faraday-net_http (>= 2.0, < 3.1) ruby2_keywords (>= 0.0.4) - faraday-em_http (1.0.0) - faraday-em_synchrony (1.0.0) - faraday-excon (1.1.0) - faraday-httpclient (1.0.1) - faraday-multipart (1.0.3) - multipart-post (>= 1.2, < 3) - faraday-net_http (1.0.1) - faraday-net_http_persistent (1.2.0) - faraday-patron (1.0.0) - faraday-rack (1.0.0) - faraday-retry (1.0.3) + faraday-net_http (3.0.1) ffi (1.15.5) forwardable-extended (2.6.0) htmlbeautifier (1.4.2) htmlcompressor (0.4.0) http_parser.rb (0.8.0) - i18n (0.9.5) + i18n (1.12.0) concurrent-ruby (~> 1.0) - jekyll (3.9.2) + jekyll (4.2.2) addressable (~> 2.4) colorator (~> 1.0) em-websocket (~> 0.5) - i18n (~> 0.7) - jekyll-sass-converter (~> 1.0) + i18n (~> 1.0) + jekyll-sass-converter (~> 2.0) jekyll-watch (~> 2.0) - kramdown (>= 1.17, < 3) + kramdown (~> 2.3) + kramdown-parser-gfm (~> 1.0) liquid (~> 4.0) - mercenary (~> 0.3.3) + mercenary (~> 0.4.0) pathutil (~> 0.9) - rouge (>= 1.7, < 4) + rouge (~> 3.0) safe_yaml (~> 1.0) - jekyll-github-metadata (2.14.0) + terminal-table (~> 2.0) + jekyll-github-metadata (2.15.0) jekyll (>= 3.4, < 5.0) octokit (~> 4.0, != 4.4.0) jekyll-paginate (1.1.0) - jekyll-sass-converter (1.5.2) - sass (~> 3.4) + jekyll-sass-converter (2.2.0) + sassc (> 2.0.1, < 3.0) jekyll-tidy (0.2.2) htmlbeautifier htmlcompressor @@ -72,39 +55,37 @@ GEM listen (3.7.1) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) - mercenary (0.3.6) - multipart-post (2.1.1) - octokit (4.22.0) - faraday (>= 0.9) - sawyer (~> 0.8.0, >= 0.5.3) + mercenary (0.4.0) + octokit (4.25.1) + faraday (>= 1, < 3) + sawyer (~> 0.9) pathutil (0.16.2) forwardable-extended (~> 2.6) - public_suffix (4.0.7) - rb-fsevent (0.11.1) + public_suffix (5.0.0) + rb-fsevent (0.11.2) rb-inotify (0.10.1) ffi (~> 1.0) rexml (3.2.5) - rouge (3.28.0) + rouge (3.30.0) ruby2_keywords (0.0.5) safe_yaml (1.0.5) - sass (3.7.4) - sass-listen (~> 4.0.0) - sass-listen (4.0.0) - rb-fsevent (~> 0.9, >= 0.9.4) - rb-inotify (~> 0.9, >= 0.9.7) - sawyer (0.8.2) + sassc (2.4.0) + ffi (~> 1.9) + sawyer (0.9.2) addressable (>= 2.3.5) - faraday (> 0.8, < 2.0) + faraday (>= 0.17.3, < 3) + terminal-table (2.0.0) + unicode-display_width (~> 1.1, >= 1.1.1) + unicode-display_width (1.8.0) PLATFORMS x86_64-linux DEPENDENCIES - jekyll (~> 3) + jekyll (~> 4) jekyll-github-metadata jekyll-paginate jekyll-tidy - kramdown-parser-gfm BUNDLED WITH 2.3.13 diff --git a/_config.yml b/_config.yml index 21d7d34..5a45eb7 100644 --- a/_config.yml +++ b/_config.yml @@ -6,11 +6,8 @@ show_drafts: true strict_front_matter: true exclude: - - Gemfile - - Gemfile.lock - Makefile - README.md - - vendor/ defaults: - scope: diff --git a/_posts/2021-04-10-collapsible.md b/_posts/2021-04-10-collapsible.md index 214c408..bdd4585 100644 --- a/_posts/2021-04-10-collapsible.md +++ b/_posts/2021-04-10-collapsible.md @@ -17,7 +17,7 @@ snippets: Snippets are defined in exactly the same way as in the [other post]. Just set a front matter value to make them collapsible, and voilĂ ! -[other post]: {{ site.baseurl }}{% post_url 2021-04-09-snippets %} +[other post]: {% post_url 2021-04-09-snippets %} {% include jekyll-theme/snippets/section.html section_id='hello' %} diff --git a/index.md b/index.md index 24f9146..6cdd755 100644 --- a/index.md +++ b/index.md @@ -20,18 +20,18 @@ navbar:

categories

List of post categories (includes links to each category's page)

- +

code snippets

Easily include code snippets in your posts

- +

collapsible snippets

- +

shell commands

Clearly separate shell commands and their outputs from one another

- +

typesetting math

-- cgit v1.2.3