Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.0.0
-
None
-
None
-
None
Description
As described in https://lists.apache.org/thread/z0thrxyv9tybot6xpkd8ft9nc1mc3nj9 (sumary below), the main requirement is providing a method for Doxia Parsers to obtain the outpath file where the current source file is going to be saved.
For context, the Asciidoctor Doxia Module allows using third-party Asciidoctor extensions that generate other files (or example, asciidoctor-diagram creates images from text descriptions). In order to configure where those should reside we need to be able to know where the site output path is configured. Currently, the files are generated alongside the sources in the "src" path by default.
Based on my preliminary analysis, the path 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