@bhagany I usually just set :out-dir to "." but that doesn’t help with 0.4.2-SNAPSHOT because there’s also the global :doc-root metadata and I don’t quite understand how these two interact…
@martinklepsch okay, I see. I think I can explain
the way I think of it is, :out-dir is the path relative to root where a file is written, and :doc-root is the part of the path relative to the root that files are intended to be served from
so, for instance, when we default both :out-dir and :doc-root to public, we're saying, "output files to public, and then we're also going to serve them from public"
The interaction between them is used for things like calculating permalinks and canonical urls
Specifically, :doc-root is the part of the file's path that is not present in links
In your case, I think :doc-root can be ""
I thought I tried setting doc root to ""...
I use "." For out-dir most of the time I think that might be breaking some of the regex handling there
that could be... does :out-dir "" not do what you expect?