Skip to content

Commit

Permalink
Upgrade jekyll and it's dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
ambersun1234 committed Sep 23, 2023
1 parent 4e89c87 commit 02c231d
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 32 deletions.
8 changes: 6 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
source "https://rubygems.org"
gem 'jekyll', '~> 3.7'

gem 'webrick'
gem 'jekyll-archives'
gem 'jekyll-toc'
gem 'jemoji'
gem "jekyll-last-modified-at"
gemspec
gem 'jekyll-last-modified-at'
gem 'minimal-mistakes-jekyll'
gem 'kramdown-parser-gfm'
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ serve:
--volume="$(shell pwd):/srv/jekyll" \
-p 4000:4000 -p 35729:35729 jekyll/jekyll \
sh -c "git config --system --add safe.directory '*' && \
jekyll serve --watch \
jekyll serve --trace \
--watch \
--incremental \
--livereload \
--force_polling true"
Expand Down
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ kramdown:
toc_levels: 1..6
smart_quotes: lsquo,rsquo,ldquo,rdquo
enable_coderay: false
syntax_highlighter: rouge


# Sass/SCSS
Expand Down
2 changes: 1 addition & 1 deletion _plugins/rouge-extend.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This "hook" is executed right before the site's pages are rendered
Jekyll::Hooks.register :site, :pre_render do |site|
puts "Adding more JavaScript Markdown aliases..."
puts "Adding more rouge aliases..."
require "rouge"

# https://github.com/rouge-ruby/rouge/pull/760/files
Expand Down
3 changes: 2 additions & 1 deletion assets/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ search: false
@charset "utf-8";

@import "minimal-mistakes/skins/{{ site.minimal_mistakes_skin | default: 'default' }}"; // skin
@import "minimal-mistakes"; // main partials
@import "minimal-mistakes"; // main partials
@import "minimal-mistakes/_syntax";
27 changes: 0 additions & 27 deletions minimal-mistakes-jekyll.gemspec

This file was deleted.

0 comments on commit 02c231d

Please sign in to comment.