Skip to content

Commit

Permalink
Fix the Asciidoc build
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy2003 committed May 30, 2024
1 parent 95f88c4 commit 4ed9c57
Show file tree
Hide file tree
Showing 16 changed files with 35 additions and 37 deletions.
14 changes: 6 additions & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
<plugin>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctor-maven-plugin</artifactId>
<version>2.2.3</version>
<version>3.0.0</version>
<executions>
<execution>
<id>generate-docs</id>
Expand All @@ -172,12 +172,14 @@
<configuration>
<backend>html5</backend>
<!--preserveDirectories>true</preserveDirectories-->
<imagesDir>images</imagesDir>
<sourceDirectory>${basedir}/target/docs</sourceDirectory>
<sourceDocumentName>index.adoc</sourceDocumentName>
<outputDirectory>${basedir}/docs</outputDirectory>
<attributes>
<neo4j-version>${project.version}</neo4j-version>
<imagesdir>images</imagesdir>
<source-highlighter>coderay</source-highlighter>
<coderay-css>style</coderay-css>
</attributes>
<requires>
<require>asciidoctor-diagram</require>
Expand All @@ -204,17 +206,13 @@
</includes>
</resource>
</resources>
<source-highlighter>coderay</source-highlighter>
<coderay-css>style</coderay-css>
<requires>
<require>asciidoctor-diagram</require>
</requires>
<requires>asciidoctor-diagram</requires>
</configuration>
<dependencies>
<dependency>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctorj-diagram</artifactId>
<version>2.2.1</version>
<version>2.3.0</version>
</dependency>
</dependencies>
</plugin>
Expand Down
2 changes: 1 addition & 1 deletion src/docs/conf/asciidoc.local.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
imagesdir=images
iconsdir=icons
imagestargetdir=target/src/images
fontsdir=target/tools/bin/fonts
fontsdir=target/tools/bin/fonts
6 changes: 3 additions & 3 deletions src/docs/dev/appendix.txt → src/docs/dev/appendix.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

:leveloffset: 1

include::udig.txt[]
include::udig.adoc[]

:leveloffset: 1

include::geoserver.txt[]
include::geoserver.adoc[]

:leveloffset: 1

include::geoserver2.txt[]
include::geoserver2.adoc[]

2 changes: 1 addition & 1 deletion src/docs/dev/examples.txt → src/docs/dev/examples.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -96,5 +96,5 @@ image::equalLayer.png[]

:leveloffset: 2

include::geo-pipes.txt[]
include::geo-pipes.adoc[]

File renamed without changes.
File renamed without changes.
File renamed without changes.
21 changes: 21 additions & 0 deletions src/docs/dev/index.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

:leveloffset: 1

include::indexing.adoc[]

:leveloffset: 1

include::layers.adoc[]

:leveloffset: 1

include::procedures.adoc[]

:leveloffset: 1

include::querying.adoc[]

:leveloffset: 1

include::examples.adoc[]

21 changes: 0 additions & 21 deletions src/docs/dev/index.txt

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions src/docs/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@

:leveloffset: 1

include::dev/introduction.txt[]
include::dev/introduction.adoc[]

:leveloffset: 1

include::dev/index.txt[]
include::dev/index.adoc[]

:leveloffset: 1

include::dev/appendix.txt[]
include::dev/appendix.adoc[]


0 comments on commit 4ed9c57

Please sign in to comment.