Wanted to support his, after testing we had following situation
docdir is set by asciidoctor ready only.
Also ...
Eclipse asciidoctor editor does set the base dir at render time
And this seems to change docdir (maybe).
A file rendered from command line has following:
/path/testscripts/docdir-example/the-example.adoc
Rendered by asciidoc 2.0.16 from command line:
docdir = /path/testscripts/docdir-example/
Rendered by asciidoc editor v3.0.1
`docdir = /path/testscriptsv
But ...
when having
/path/testscripts/docdir-example/the-example.adoc and
/path/testscripts/docdir-example/subfolder/the-included-example.adoc
Inside the-included-example.adoc we have still the same output. Means: docdir is only set at runtime for FIRST
document (and seems to be the same as base dir?)
When setting the base directory attribute via -B parameter on console, I have exactly the same problem like in eclipse asciidoctor editor: the docdir has changed.
Wanted to support his, after testing we had following situation
docdir is set by asciidoctor ready only.
Also ...
Eclipse asciidoctor editor does set the base dir at render time And this seems to change docdir (maybe).
A file rendered from command line has following:
/path/testscripts/docdir-example/the-example.adoc
Rendered by asciidoc 2.0.16 from command line:
docdir = /path/testscripts/docdir-example/
Rendered by asciidoc editor v3.0.1 `docdir = /path/testscriptsv
But ... when having
/path/testscripts/docdir-example/the-example.adoc
and/path/testscripts/docdir-example/subfolder/the-included-example.adoc
Inside
the-included-example.adoc
we have still the same output. Means: docdir is only set at runtime for FIRST document (and seems to be the same as base dir?)