[
https://issues.jboss.org/browse/FORGEPLUGINS-171?page=com.atlassian.jira....
]
Maxime Gréau commented on FORGEPLUGINS-171:
-------------------------------------------
Hi,
So I've added some tests and fixed bugs.
Based on those Maven examples projects
https://github.com/asciidoctor/asciidoctor-maven-examples, you can test for HTML5 or PDF
examples :
* HTML5 output with asciidoctor-diagram
** asciidoctor-setup --converter HTML5 --useAsciidoctorDiagram true --toc left
** build
** open the target/generated-docs/manual.html
* PDF output
** asciidoctor-setup --converter PDF --toc left
** build
** open the target/generated-docs/manual.pdf
Let me know if it works for you.
Thanks
Create an Asciidoctor Addon
---------------------------
Key: FORGEPLUGINS-171
URL:
https://issues.jboss.org/browse/FORGEPLUGINS-171
Project: Forge Plugins/Addons
Issue Type: Feature Request
Reporter: Maxime Gréau
Create an addon to handle Asciidoctor configuration.
The highest value is simply bypassing the copy-and-paste task currently required to setup
the pom for Asciidcotor configuration for Maven Project.
There are two distinct needs here :
1) the first is setting up the regular plugin for processing src/main/asciidoc into one
or more output formats.
2) the second is setting up the site plugin.
Both plugins are setup in the example you can find here:
https://github.com/asciidoctor/asciidoctor-maven-example/blob/master/pom.xml
I've started to develop this addon here (early version) :
https://github.com/mgreau/asciidoctor-forge-addon
You can install it and try the feature 1) like this for example :
asciidoctor-setup --asciiDocFile manual.adoc --converter HTML5 --docWriter Max --toc
left --sourceHighlighter coderay
I'd love to have your feedback about it.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)