A simple sample project to demonstrate the use of asciidoc on a java project
When adding a diagram, don’t forget to specify the location where asciidoctor-diagram have to render them.
If not specified, the picture will be generated in the root project dir which is not good.
In fact, these generated files would not be taken into account when calling the clean task on the project.
/* * [[plantuml]] * .Diagramme de classe * [plantuml, "build/tmp/javadoc/class", "png", align="center"] * --------------------------------------------------------------------- * AbstractHandler <|-- Handler * AbstractHandler ..> Object * --------------------------------------------------------------------- * */
The file class.png will be generated in the folder build/tmp/javadoc.
-
[plantuml, "class", "png", align="center"]
The file class.png will be generated in the root project folder.
Warning
|
The folder specified has to be created before. |
clone the project.
git clone https://github.com/JGrenier/asciidoclet-sample.git