Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the Asciidoc build #411

Merged
merged 1 commit into from
May 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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[]