Re: Single CSS for multiple, nested adoc files
Posted by
mojavelinux on
URL: https://discuss.asciidoctor.org/Single-CSS-for-multiple-nested-adoc-files-tp552p607.html
I also want to clarify that "docrootdir" does not have a direct correlation with any particular file. It's not the same, for instance, as "docdir". The "docrootdir" is a synthetic value that comes into existence when processing many files.
The "docrootdir" attribute is the path distance from the directory where the output file ends up and the output directory supplied to the invocation of Asciidoctor.
For example, if you run Asciidoctor recursively on:
src/main/asciidoc
and the output directory is
target/html
when this file is processed:
src/main/asciidoc/quickstart/quickstart-1.adoc
it ends up in
target/html/quickstart/quickstart-1.html
the docrootdir is ".."
-Dan