Skip to content

Commit

Permalink
Use CI to create documentation (#764)
Browse files Browse the repository at this point in the history
* fix: Replace Umlaut to allow using spring-html asciidoc

* Add soring-asciidoctor-backend to pom.xml
  • Loading branch information
fabapp2 authored Aug 5, 2023
1 parent 44fed8a commit a5ef598
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/developer-documentation.adoc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
= Developer Documentation
Fabian Krüger
Fabian Krueger
2022-02-28
:appversion: 0.9.1
:toc: left
Expand Down
37 changes: 37 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
<project.csvParser.outputEncoding>UTF-8</project.csvParser.outputEncoding>
<generated-sources.dir>src/generated/java</generated-sources.dir>
<snakeyaml.version>1.33</snakeyaml.version>
<spring-asciidoctor-backends.version>0.0.5</spring-asciidoctor-backends.version>
</properties>

<scm>
Expand Down Expand Up @@ -503,6 +504,42 @@ limitations under the License.
</licenseSets>
</configuration>
</plugin>
<plugin>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
<version>2.2.2</version>
<executions>
<execution>
<id>generate-html-documentation</id>
<phase>prepare-package</phase>
<goals>
<goal>process-asciidoc</goal>
</goals>
</execution>
</executions>
<configuration>
<backend>spring-html</backend>
<sourceDirectory>docs/reference</sourceDirectory>
</configuration>
<dependencies>
<dependency>
<groupId>io.spring.asciidoctor.backends</groupId>
<artifactId>spring-asciidoctor-backends</artifactId>
<version>0.0.5</version>
<exclusions>
<exclusion>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctorj</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctorj</artifactId>
<version>2.5.7</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</project>

0 comments on commit a5ef598

Please sign in to comment.