Asciidoc-Doku hinzugefügt.
This commit is contained in:
39
docs/pom.xml
Normal file
39
docs/pom.xml
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<parent>
|
||||||
|
<groupId>com.kapdion.pisano</groupId>
|
||||||
|
<artifactId>productknowledge-parent</artifactId>
|
||||||
|
<version>1.0-SNAPSHOT</version>
|
||||||
|
</parent>
|
||||||
|
|
||||||
|
<artifactId>docs</artifactId>
|
||||||
|
|
||||||
|
<!-- ... existing code ... -->
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.asciidoctor</groupId>
|
||||||
|
<artifactId>asciidoctor-maven-plugin</artifactId>
|
||||||
|
<!-- Keine Version nötig, kommt vom Parent -->
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>generate-docs</id>
|
||||||
|
<phase>prepare-package</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>process-asciidoc</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<attributes>
|
||||||
|
<!-- Pfad-Helper, um auf Code in anderen Modulen zuzugreifen -->
|
||||||
|
<project-root>${project.basedir}/..</project-root>
|
||||||
|
</attributes>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</project>
|
||||||
10
docs/src/main/asciidoc/index.adoc
Normal file
10
docs/src/main/asciidoc/index.adoc
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
= Dokumentation für {project-name}
|
||||||
|
Vorname Nachname <autor@example.com>
|
||||||
|
:icons: font
|
||||||
|
|
||||||
|
== Einleitung
|
||||||
|
Dies ist die zentrale Dokumentation für unser Jakarta EE & Spring Projekt.
|
||||||
|
|
||||||
|
== Module
|
||||||
|
* *api-definition*: Enthält die Api.
|
||||||
|
* *Web*: Angular Frontend und REST-Controller.
|
||||||
14
pom.xml
14
pom.xml
@@ -18,6 +18,7 @@
|
|||||||
<module>client-lib</module>
|
<module>client-lib</module>
|
||||||
<module>client-app</module>
|
<module>client-app</module>
|
||||||
<module>web-frontend</module>
|
<module>web-frontend</module>
|
||||||
|
<module>docs</module>
|
||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
@@ -44,4 +45,17 @@
|
|||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
</dependencyManagement>
|
</dependencyManagement>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<pluginManagement>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.asciidoctor</groupId>
|
||||||
|
<artifactId>asciidoctor-maven-plugin</artifactId>
|
||||||
|
<version>2.2.4</version>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</pluginManagement>
|
||||||
|
</build>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|||||||
Reference in New Issue
Block a user