[ 
https://issues.apache.org/jira/browse/DOXIA-755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17903928#comment-17903928
 ] 

Konrad Windszus commented on DOXIA-755:
---------------------------------------

Yes, this abstraction level is provided by doxia-sitetools.

> Feature request: Getting output directory in Doxia Parser
> ---------------------------------------------------------
>
>                 Key: DOXIA-755
>                 URL: https://issues.apache.org/jira/browse/DOXIA-755
>             Project: Maven Doxia
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: Abel Salgado Romero
>            Priority: Minor
>
> 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



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to