You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Abel Salgado Romero (Jira)" <ji...@apache.org> on 2024/11/01 11:27:00 UTC
[jira] [Created] (DOXIA-755) Feature request: Getting output directory in Doxia Parser
Abel Salgado Romero created DOXIA-755:
-----------------------------------------
Summary: 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
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)