Skip to content

Commit

Permalink
Switch to hugo-asciidoctorj-extension
Browse files Browse the repository at this point in the history
  • Loading branch information
stariy95 committed Apr 16, 2024
1 parent 588359a commit d3c8c14
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 135 deletions.
25 changes: 0 additions & 25 deletions agrest-asciidoc-postprocessor/pom.xml

This file was deleted.

This file was deleted.

2 changes: 1 addition & 1 deletion agrest-docs-framework/src/docs/asciidoc/framework.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
:agrest-header: _chapters/header.html
:hugo-font-awesome-icons: false

= Agrest Framework

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
:agrest-header: _chapters/header.html
:hugo-font-awesome-icons: false

= Getting Started

Expand Down
2 changes: 1 addition & 1 deletion agrest-docs-protocol/src/docs/asciidoc/protocol.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
:agrest-header: _chapters/header.html
:hugo-font-awesome-icons: false

= Agrest Protocol

Expand Down
24 changes: 9 additions & 15 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
<packaging>pom</packaging>

<modules>
<module>agrest-asciidoc-postprocessor</module>
<module>agrest-docs-get-started-cayenne-sb</module>
<module>agrest-docs-protocol</module>
<module>agrest-docs-framework</module>
Expand All @@ -20,10 +19,9 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<asciidoctorj.version>2.5.3</asciidoctorj.version>
<asciidoctor.maven.plugin.version>2.2.2</asciidoctor.maven.plugin.version>
<asciidoctorj.pdf.version>1.6.2</asciidoctorj.pdf.version>
<jruby.version>9.2.20.1</jruby.version>
<asciidoctorj.version>2.5.12</asciidoctorj.version>
<asciidoctor.maven.plugin.version>2.2.6</asciidoctor.maven.plugin.version>
<asciidoctorj.pdf.version>2.1.4</asciidoctorj.pdf.version>
<jsoup.version>1.14.3</jsoup.version>

<agrest.version>5.0.M19</agrest.version>
Expand Down Expand Up @@ -78,11 +76,6 @@
<artifactId>asciidoctor-maven-plugin</artifactId>
<version>${asciidoctor.maven.plugin.version}</version>
<dependencies>
<dependency>
<groupId>org.jruby</groupId>
<artifactId>jruby-complete</artifactId>
<version>${jruby.version}</version>
</dependency>
<dependency>
<groupId>org.asciidoctor</groupId>
<artifactId>asciidoctorj</artifactId>
Expand All @@ -94,9 +87,9 @@
<version>${asciidoctorj.pdf.version}</version>
</dependency>
<dependency>
<groupId>io.agrest.docs</groupId>
<artifactId>agrest-asciidoc-postprocessor</artifactId>
<version>${project.version}</version>
<groupId>io.bootique.tools</groupId>
<artifactId>hugo-asciidoctorj-extension</artifactId>
<version>1.0-M2</version>
</dependency>
</dependencies>
<configuration>
Expand All @@ -121,11 +114,12 @@
<icons>font</icons>
<toc>auto</toc>
<project-version>${project.version}</project-version>
<docs-version>5.x</docs-version>
<hugo-header>_chapters/header.html</hugo-header>
</attributes>
<!-- this will inject a header with "front-matter" markup -->
<extensions>
<extension>
<className>io.agrest.docs.AgrestPostprocessor</className>
<className>io.bootique.tools.asciidoctorj.HugoExtension</className>
</extension>
</extensions>
</configuration>
Expand Down

0 comments on commit d3c8c14

Please sign in to comment.