Single CSS for multiple, nested adoc files

Posted by ChrLipp on
URL: https://discuss.asciidoctor.org/Single-CSS-for-multiple-nested-adoc-files-tp552.html

Hello all!

I have nested adoc files in different directories, like

- src/asciidoc
  - 1.adoc
  - 2.adoc
  - nested <dir>
    - 3.adoc

When I set the copycss flag I end in having an asciidoc.css in each directory.
When I set the linkcss flag and copy the css manually in the root of the output directory, the css-link of 3.adoc is wrong (it expects the css in the same directory).

Is there a solution for that?
Kind regards, CL