You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I started getting errors from any use of asciidocify filter in a new project.
1: from /home/username/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/asciidoctor-2.0.14/lib/asciidoctor/document.rb:392:in `initialize'
/home/username/.rbenv/versions/2.6.6/lib/ruby/gems/2.6.0/gems/asciidoctor-2.0.14/lib/asciidoctor/document.rb:392:in `expand_path': asciidoctor: FAILED: <stdin>: Failed to load AsciiDoc document - no implicit conversion of Symbol into String (TypeError)
It turns out the symbol it's referring to is the :docdir in the Liquid context, which is explicitly recommended (and very handy). I don't know how this is suddenly happening. I have not used aciidocify much in the past, but I tested this on a fresh codebase with the same results.
To reproduce, set asciidoctor:base_dir to :docdir and use asciidocify anywhere.
I'm using:
jekyll-asciidoc 3.0.0
asciidoctor 2.0.14
jekyll 4.2.0
On Fedora 33
running Ruby 2.6.6p146
If I change docinfo to . or any explicit path, the base path and asciidocify work as expected.
The text was updated successfully, but these errors were encountered:
I started getting errors from any use of asciidocify filter in a new project.
It turns out the symbol it's referring to is the
:docdir
in the Liquid context, which is explicitly recommended (and very handy). I don't know how this is suddenly happening. I have not used aciidocify much in the past, but I tested this on a fresh codebase with the same results.To reproduce, set
asciidoctor:base_dir
to:docdir
and useasciidocify
anywhere.I'm using:
If I change
docinfo
to.
or any explicit path, the base path and asciidocify work as expected.The text was updated successfully, but these errors were encountered: