Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Liquid filter asciidocify causes Jekyll build error #3

Closed
briandominick opened this issue May 19, 2021 · 1 comment
Closed

Liquid filter asciidocify causes Jekyll build error #3

briandominick opened this issue May 19, 2021 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed Jekyll Involves working heavily with or extending Jekyll SSG Liquid Incorporates Liquid templating Ruby Involves some Ruby troubleshooting/coding
Milestone

Comments

@briandominick
Copy link
Contributor

Though I can confirm the nifty asciidocify filter provided by the jekyll-asciidoc plugin works in a fresh Jekyll repo, something in this codebase is causing an error I've never encountered.

To reporoduce, in _includes/footer.yml, just change one of the entries that now reads asciidocifyxme to asciidocify and run bundle exec jekyll build.

Liquid Exception: asciidoctor: FAILED: <stdin>: Failed to load AsciiDoc document - no implicit conversion of Symbol into String in <project-path>/_layouts/default.html

This is a Ruby TypeError thrown inside Asciidoctor as called by the Convert module in jekyll-asciidoc plugin. I cannot figure out for the life of me what could be causing this to behave differently. Even if you just pass it an explicit String (e.g., {{ "some _asciidoc_ string" | asciidocify }}), it rejects it as a Symbol type.

@briandominick briandominick added bug Something isn't working help wanted Extra attention is needed Liquid Incorporates Liquid templating Jekyll Involves working heavily with or extending Jekyll SSG Ruby Involves some Ruby troubleshooting/coding labels May 19, 2021
@briandominick briandominick added this to the 0.1.1 milestone May 19, 2021
@briandominick
Copy link
Contributor Author

Effectively addressed in #19 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed Jekyll Involves working heavily with or extending Jekyll SSG Liquid Incorporates Liquid templating Ruby Involves some Ruby troubleshooting/coding
Projects
None yet
Development

No branches or pull requests

1 participant