Ovski4 / jekyll-tabs

Add tabs on your pages with this Jekyll plugin
MIT License
26 stars 15 forks source link

Can't build on Github Action (for Github pages) #17

Open gkorland opened 3 months ago

gkorland commented 3 months ago

https://github.com/FalkorDB/docs/actions/runs/10377400150/job/28731496415#step:5:62

 Liquid Exception: Liquid syntax error (line 32): Unknown tag 'tabs' in index.md
/usr/local/bundle/gems/liquid-4.0.4/lib/liquid/document.rb:23:in `unknown_tag': Liquid syntax error (line 32): Unknown tag 'tabs' (Liquid::SyntaxError)
    from /usr/local/bundle/gems/liquid-4.0.4/lib/liquid/document.rb:11:in `block in parse'
    from /usr/local/bundle/gems/liquid-4.0.4/lib/liquid/block_body.rb:32:in `parse'
    from /usr/local/bundle/gems/liquid-4.0.4/lib/liquid/document.rb:10:in `parse'
    from /usr/local/bundle/gems/liquid-4.0.4/lib/liquid/document.rb:5:in `parse'
    from /usr/local/bundle/gems/liquid-4.0.4/lib/liquid/template.rb:130:in `parse'
    from /usr/local/bundle/gems/liquid-4.0.4/lib/liquid/template.rb:114:in `parse'
    from /usr/local/bundle/gems/jekyll-3.10.0/lib/jekyll/liquid_renderer/file.rb:13:in `block in parse'
    from /usr/local/bundle/gems/jekyll-3.10.0/lib/jekyll/liquid_renderer/file.rb:49:in `measure_time'
    from /usr/local/bundle/gems/jekyll-3.10.0/lib/jekyll/liquid_renderer/file.rb:12:in `parse'
    from /usr/local/bundle/gems/jekyll-3.10.0/lib/jekyll/renderer.rb:121:in `render_liquid'
    from /usr/local/bundle/gems/jekyll-3.10.0/lib/jekyll/renderer.rb:79:in `render_document'
    from /usr/local/bundle/gems/jekyll-3.10.0/lib/jekyll/renderer.rb:62:in `run'
    from /usr/local/bundle/gems/jekyll-3.10.0/lib/jekyll/site.rb:479:in `render_regenerated'
    from /usr/local/bundle/gems/jekyll-3.10.0/lib/jekyll/site.rb:472:in `block in render_pages'
    from /usr/local/bundle/gems/jekyll-3.10.0/lib/jekyll/site.rb:471:in `each'
    from /usr/local/bundle/gems/jekyll-3.10.0/lib/jekyll/site.rb:471:in `render_pages'
    from /usr/local/bundle/gems/jekyll-3.10.0/lib/jekyll/site.rb:192:in `render'
    from /usr/local/bundle/gems/jekyll-3.10.0/lib/jekyll/site.rb:71:in `process'
    from /usr/local/bundle/gems/jekyll-3.10.0/lib/jekyll/command.rb:28:in `process_site'
    from /usr/local/bundle/gems/jekyll-3.10.0/lib/jekyll/commands/build.rb:65:in `build'
    from /usr/local/bundle/gems/jekyll-3.10.0/lib/jekyll/commands/build.rb:36:in `process'
    from /usr/local/bundle/gems/github-pages-232/bin/github-pages:70:in `block (3 levels) in <top (required)>'
    from /usr/local/bundle/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `block in execute'
    from /usr/local/bundle/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `each'
    from /usr/local/bundle/gems/mercenary-0.3.6/lib/mercenary/command.rb:220:in `execute'
    from /usr/local/bundle/gems/mercenary-0.3.6/lib/mercenary/program.rb:42:in `go'
    from /usr/local/bundle/gems/mercenary-0.3.6/lib/mercenary.rb:19:in `program'
    from /usr/local/bundle/gems/github-pages-232/bin/github-pages:6:in `<top (required)>'
    from /usr/local/bundle/bin/github-pages:25:in `load'
    from /usr/local/bundle/bin/github-pages:25:in `<main>'
pyongjoo commented 2 months ago

Just had the same problem. I have found that this page is helpful to work around the issue.

Ovski4 commented 2 months ago

Thanks for sharing @pyongjoo. It might also be related to another issue closed a while ago: https://github.com/Ovski4/jekyll-tabs/issues/4

I don't think I can help much, since there isn't anything I can do with this plugin code to help resolve this kind of issue.

If you find a way to make things work, feel free to let me know how you did it and I could update the docs though