Uploaded image for project: 'Apache PLC4X'
  1. Apache PLC4X
  2. PLC4X-1

Fix the diagram generation with asciidoctor

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • Build

    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.

      Attachments

        Activity

          People

            cdutz Christofer Dutz
            cdutz Christofer Dutz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment