You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@plc4x.apache.org by "Christofer Dutz (JIRA)" <ji...@apache.org> on 2019/03/03 16:27:00 UTC

[jira] [Resolved] (PLC4X-1) Fix the diagram generation with asciidoctor

     [ https://issues.apache.org/jira/browse/PLC4X-1?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christofer Dutz resolved PLC4X-1.
---------------------------------
    Resolution: Fixed

> Fix the diagram generation with asciidoctor
> -------------------------------------------
>
>                 Key: PLC4X-1
>                 URL: https://issues.apache.org/jira/browse/PLC4X-1
>             Project: Apache PLC4X
>          Issue Type: Bug
>          Components: Build
>            Reporter: Christofer Dutz
>            Assignee: Christofer Dutz
>            Priority: Major
>              Labels: Build, Documentation, Website
>
> Right now there are problems with using Asciidoctor as part of the site generation. As soon as the diagrams are generated by asciidoctor run by the site plugin, the images of all diagrams are generated into the same directory in the root of the builds target directory. This breaks things. When however running Asciidoctor as normal plugin, the output doesn't match the maven site style but the image generation works correctly.
> Right now I run asciidoctor twice: Once with the normal asciidoctor-maven-plugin to generate the images to the right place and the content (as xml) into a dummy directory. Then in the site generation asciidoctor is setup to generate images to the dummy dirtectory and content to the right place. 
> It's an ugly hack, but it works and hopefully in the future someone (or myself) will fix that problem.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)