Skip to content

Commit a5ef598

Browse files
authored
Use CI to create documentation (#764)
* fix: Replace Umlaut to allow using spring-html asciidoc * Add soring-asciidoctor-backend to pom.xml
1 parent 44fed8a commit a5ef598

File tree

2 files changed

+38
-1
lines changed

2 files changed

+38
-1
lines changed

docs/reference/developer-documentation.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
= Developer Documentation
2-
Fabian Krüger
2+
Fabian Krueger
33
2022-02-28
44
:appversion: 0.9.1
55
:toc: left

pom.xml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
<project.csvParser.outputEncoding>UTF-8</project.csvParser.outputEncoding>
3131
<generated-sources.dir>src/generated/java</generated-sources.dir>
3232
<snakeyaml.version>1.33</snakeyaml.version>
33+
<spring-asciidoctor-backends.version>0.0.5</spring-asciidoctor-backends.version>
3334
</properties>
3435

3536
<scm>
@@ -503,6 +504,42 @@ limitations under the License.
503504
</licenseSets>
504505
</configuration>
505506
</plugin>
507+
<plugin>
508+
<groupId>org.asciidoctor</groupId>
509+
<artifactId>asciidoctor-maven-plugin</artifactId>
510+
<version>2.2.2</version>
511+
<executions>
512+
<execution>
513+
<id>generate-html-documentation</id>
514+
<phase>prepare-package</phase>
515+
<goals>
516+
<goal>process-asciidoc</goal>
517+
</goals>
518+
</execution>
519+
</executions>
520+
<configuration>
521+
<backend>spring-html</backend>
522+
<sourceDirectory>docs/reference</sourceDirectory>
523+
</configuration>
524+
<dependencies>
525+
<dependency>
526+
<groupId>io.spring.asciidoctor.backends</groupId>
527+
<artifactId>spring-asciidoctor-backends</artifactId>
528+
<version>0.0.5</version>
529+
<exclusions>
530+
<exclusion>
531+
<groupId>org.asciidoctor</groupId>
532+
<artifactId>asciidoctorj</artifactId>
533+
</exclusion>
534+
</exclusions>
535+
</dependency>
536+
<dependency>
537+
<groupId>org.asciidoctor</groupId>
538+
<artifactId>asciidoctorj</artifactId>
539+
<version>2.5.7</version>
540+
</dependency>
541+
</dependencies>
542+
</plugin>
506543
</plugins>
507544
</build>
508545
</project>

0 commit comments

Comments
 (0)