[jboss-jira] [JBoss JIRA] (DROOLS-1311) Add PDF in kie-docs zips: upgrade to maven-asciidoctor-plugin 1.5.6 and enable the PDF generation

Michael Biarnes Kiefer (JIRA) issues at jboss.org
Fri Feb 23 09:45:00 EST 2018


    [ https://issues.jboss.org/browse/DROOLS-1311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13537591#comment-13537591 ] 

Michael Biarnes Kiefer commented on DROOLS-1311:
------------------------------------------------

[~ge0ffrey] have done steps so far -
how can I control if it does what it is supposed to?
I see the pdf is always generated when I uncomment the generate-pdf execution. Under kie.docs/docs/target/<repository>-generated-docs/
there is always a html-single and pdf directory.
I added this 
  <files>
    <file>
      <!-- Rename PDf file name -->
      <source>${project.build.directory}/generated-docs/pdf/index.pdf</source>
      <outputDirectory>pdf/</outputDirectory>
      <destName><repository>-docs.pdf</destName>
    </file>
  </files>
to docs/<repository>-docs/src/main/assembly/generated-docs-zip.xml
where <repository> is drools or jbpm or optaplanner

I see it builds and thta a PDF is there but I don't know how can I controll it if this OK.

> Add PDF in kie-docs zips: upgrade to maven-asciidoctor-plugin 1.5.6 and enable the PDF generation
> -------------------------------------------------------------------------------------------------
>
>                 Key: DROOLS-1311
>                 URL: https://issues.jboss.org/browse/DROOLS-1311
>             Project: Drools
>          Issue Type: Feature Request
>          Components: docs
>            Reporter: Geoffrey De Smet
>            Assignee: Michael Biarnes Kiefer
>
> Using approach from optaplanner-docs in asciidoc, the *kie-docs must also generated a PDF* (next to the html):
>   https://github.com/kiegroup/optaplanner/blob/master/optaplanner-docs/pom.xml#L76
> Steps to take:
> - first upgrade the maven-asciidoctor-plugin to version 1.5.6 or higher
> - try uncommenting the generate-pdf execution here: https://github.com/kiegroup/kie-docs/blob/master/docs/pom.xml#L102
> - add the pdf in the assembly zips
> Feel free to ping me (Geoffrey) if you tried this and you're stuck.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list