Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
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.