[
https://issues.jboss.org/browse/DROOLS-1311?page=com.atlassian.jira.plugi...
]
Michael Biarnes Kiefer edited comment on DROOLS-1311 at 2/23/18 9:45 AM:
-------------------------------------------------------------------------
[~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 that a PDF is there but I don't know how can I control if it is
OK.
was (Author: mbiarnes):
[~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....
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)