[
https://issues.jboss.org/browse/FORGEPLUGINS-171?page=com.atlassian.jira....
]
George Gastaldi commented on FORGEPLUGINS-171:
----------------------------------------------
To install the addon from Forge, use:
{code}
addon-install-from-git --url
https://github.com/mgreau/asciidoctor-forge-addon.git
--coordinate org.jboss.forge.addon.asciidoctor:asciidoctor-forge-addon,1.0.0-SNAPSHOT
{code}
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)