diff options
-rw-r--r-- | docs/pom.xml | 33 | ||||
-rw-r--r-- | pom.xml | 13 |
2 files changed, 46 insertions, 0 deletions
diff --git a/docs/pom.xml b/docs/pom.xml index 52c58b03d..e6c256dd9 100644 --- a/docs/pom.xml +++ b/docs/pom.xml @@ -12,6 +12,39 @@ <profiles> <profile> + <id>create-docs-new</id> + <activation> + <property> + <name>createDocs__NEW</name> + <value>true</value> + </property> + </activation> + + <build> + <plugins> + <plugin> + <groupId>org.asciidoctor</groupId> + <artifactId>asciidoctor-maven-plugin</artifactId> + <executions> + <execution> + <id>create-asciidoc</id> + <phase>generate-resources</phase> + <goals> + <goal>process-asciidoc</goal> + </goals> + <configuration> + <sourceDirectory>${project.basedir}</sourceDirectory> + <outputDirectory>${project.build.directory}/html</outputDirectory> + <preserveDirectories>true</preserveDirectories> + <relativeBaseDir>true</relativeBaseDir> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + <profile> <id>create-docs</id> <activation> <property> @@ -412,6 +412,19 @@ <artifactId>maven-javadoc-plugin</artifactId> <version>3.2.0</version> </plugin> + <plugin> + <groupId>org.asciidoctor</groupId> + <artifactId>asciidoctor-maven-plugin</artifactId> + <version>2.2.1</version> + <configuration> + <attributes> + <source-highlighter>coderay</source-highlighter> + <imagesdir>./images</imagesdir> + <toc>left</toc> + <icons>font</icons> + </attributes> + </configuration> + </plugin> </plugins> </pluginManagement> |