Skip to content

Commit

Permalink
ERROR: '@jekyll::GitHubMetadata::EditLinkTag#parts' is not allowed
Browse files Browse the repository at this point in the history
Liquid Exception: '@jekyll::GitHubMetadata::EditLinkTag#parts' is not allowed as an instance variable name in /_layouts/default.liquid

caused by {% github_edit_link %} in _includes/templates/breadcrumbs.liquid 30
  • Loading branch information
JV-conseil committed Dec 28, 2024
1 parent 64ca62b commit d3c9992
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 41 deletions.
2 changes: 1 addition & 1 deletion .bash/osx/jekyll.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
{
. ".bash/incl/all.sh"
. ".bash/osx/gem.sh"
. "${HOME}/.env/jekyll/.env"
}

_jvcl_::jekyll_serve() {
Expand All @@ -32,7 +33,6 @@ _jvcl_::jekyll_serve() {

_jvcl_::github_pages() {
(
. "${HOME}/.env/jekyll/.env"
bundle exec github-pages health-check
) || printf "\nERROR: bundle exec github-pages health-check failed\n"
}
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
# Development
group :development do
gem "faraday-retry", "~> 2.0"
gem "webrick", "~> 1.9"
# gem "webrick", "~> 1.8"
# Troubleshooting Jekyll errors
# See <https://primer.style/css/getting-started#troubleshooting-jekyll-errors>
# gem 'jekyll-sass-converter', github: 'jekyll/jekyll-sass-converter'
Expand Down
44 changes: 6 additions & 38 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ GEM
public_suffix (>= 2.0.2, < 7.0)
base64 (0.2.0)
benchmark (0.4.0)
bigdecimal (3.1.8)
bigdecimal (3.1.9)
coffee-script (2.4.1)
coffee-script-source
execjs
Expand Down Expand Up @@ -47,16 +47,7 @@ GEM
net-http (>= 0.5.0)
faraday-retry (2.2.1)
faraday (~> 2.0)
ffi (1.17.0-aarch64-linux-gnu)
ffi (1.17.0-aarch64-linux-musl)
ffi (1.17.0-arm-linux-gnu)
ffi (1.17.0-arm-linux-musl)
ffi (1.17.0-arm64-darwin)
ffi (1.17.0-x86-linux-gnu)
ffi (1.17.0-x86-linux-musl)
ffi (1.17.0-x86_64-darwin)
ffi (1.17.0-x86_64-linux-gnu)
ffi (1.17.0-x86_64-linux-musl)
ffi (1.17.0)
forwardable-extended (2.6.0)
gemoji (4.1.0)
github-pages (232)
Expand Down Expand Up @@ -245,17 +236,7 @@ GEM
minitest (5.25.4)
net-http (0.6.0)
uri
nokogiri (1.17.2-aarch64-linux)
racc (~> 1.4)
nokogiri (1.17.2-arm-linux)
racc (~> 1.4)
nokogiri (1.17.2-arm64-darwin)
racc (~> 1.4)
nokogiri (1.17.2-x86-linux)
racc (~> 1.4)
nokogiri (1.17.2-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.17.2-x86_64-linux)
nokogiri (1.18.0-arm64-darwin)
racc (~> 1.4)
octokit (4.25.1)
faraday (>= 1, < 3)
Expand Down Expand Up @@ -289,23 +270,10 @@ GEM
concurrent-ruby (~> 1.0)
unicode-display_width (1.8.0)
uri (1.0.2)
webrick (1.9.1)
webrick (1.8.0)

PLATFORMS
aarch64-linux
aarch64-linux-gnu
aarch64-linux-musl
arm-linux
arm-linux-gnu
arm-linux-musl
arm64-darwin
x86-linux
x86-linux-gnu
x86-linux-musl
x86_64-darwin
x86_64-linux
x86_64-linux-gnu
x86_64-linux-musl
arm64-darwin-23

DEPENDENCIES
csv (~> 3.3)
Expand All @@ -320,7 +288,7 @@ DEPENDENCIES
kramdown-parser-gfm
tzinfo (>= 1, < 3)
tzinfo-data
webrick (~> 1.8)
webrick (= 1.8)

BUNDLED WITH
2.6.2
1 change: 1 addition & 0 deletions _config-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ plugins:
- jemoji
- jekyll-avatar
- jekyll-mentions
- jekyll-github-metadata

exclude:
- .bash
Expand Down
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ plugins:
- jemoji
- jekyll-avatar
- jekyll-mentions
- jekyll-github-metadata

exclude:
- .bash
Expand Down
2 changes: 1 addition & 1 deletion jekyll-theme-read-the-docs.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ Gem::Specification.new do |spec|

spec.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r!^(assets|_layouts|_includes|_sass|LICENSE|README)!i) }

spec.add_runtime_dependency "github-pages", "~> 231"
spec.add_runtime_dependency "github-pages", "~> 232"
end

0 comments on commit d3c9992

Please sign in to comment.