diff --git a/Gemfile b/Gemfile index 1ece4c01..ce86c1f0 100644 --- a/Gemfile +++ b/Gemfile @@ -7,4 +7,10 @@ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" } # Synchronize with https://pages.github.com/versions ruby '>=2.5.3' -gem 'github-pages', group: :jekyll_plugins +# github-pages conflics with jekyll+liquid, but the site +# builds well locally; github-pages gem is semi-deprecated +# and should not be used as gem anymore, instead use via Actions +# gem 'github-pages', group: :jekyll_plugins +gem 'jekyll', '~> 4.3' +gem 'csv' +gem 'bigdecimal' diff --git a/Makefile b/Makefile index 7da810b4..7013dd6d 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ export SHELL = /bin/bash # Settings MAKEFILES=Makefile $(wildcard *.mk) JEKYLL_VERSION=3.8.5 -JEKYLL=bundle install --path .vendor/bundle && bundle update && bundle exec jekyll +JEKYLL=bundle install && bundle update --all && bundle exec jekyll PARSER=bin/markdown_ast.rb DST=_site diff --git a/bin/lesson_check.py b/bin/lesson_check.py index 42771d01..227b72cc 100644 --- a/bin/lesson_check.py +++ b/bin/lesson_check.py @@ -103,7 +103,7 @@ # How long are lines allowed to be? # Please keep this in sync with .editorconfig! -MAX_LINE_LEN = 100 +MAX_LINE_LEN = 170 def main(): @@ -556,7 +556,7 @@ def __init__(self, args, filename, metadata, metadata_len, text, lines, doc): (re.compile(r'README\.md'), CheckNonJekyll), (re.compile(r'index\.md'), CheckIndex), (re.compile(r'reference\.md'), CheckReference), - (re.compile(os.path.join('_episodes', '*\.md')), CheckEpisode), + (re.compile(os.path.join('_episodes', r'*\.md')), CheckEpisode), (re.compile(r'.*\.md'), CheckGeneric) ]