You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2024/12/08 14:32:00 UTC

[jira] [Commented] (DOXIA-755) Feature request: Getting output directory in Doxia Parser

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

Michael Osipov commented on DOXIA-755:
--------------------------------------

[~kwin], I think this is rather Doxia Sitetools. WDYT?

> 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)