Hi,

To fix an integration issue in
https://github.com/asciidoctor/asciidoctor-maven-plugin/blob/main/asciidoctor-converter-doxia-module/src/main/java/org/asciidoctor/maven/site/AsciidoctorConverterDoxiaParser.java,
we'd need to know the target directory where a site page will be stored.
With that we'd be able to adjust some configuration so other files
generated from Asciidoctor can be correctly placed.
After checking the code and from previous conversations (
https://issues.apache.org/jira/browse/DOXIA-614) related to the "reference"
argument, I am quite sure it's not possible to get.

It's a shame I was not working on this before Doxia final v2.0.0 was
released, but now that is out, I'd like to discuss options.
The information is available 2 calls above in
https://github.com/apache/maven-doxia-sitetools/blob/cd77672ba79e1ee42f16258706fc6a43c898b842/doxia-site-renderer/src/main/java/org/apache/maven/doxia/siterenderer/DefaultSiteRenderer.java#L300-L302
.
My first suggestion would be to add outputDir to siteRenderingContext, and
pass it to the `parse` method instead of the reference. But I imagine that
would need to wait for Doxia 3.0.0 right?

Any suggestion or idea? Thanks!

Reply via email to