Skip to content

Commit

Permalink
Docs: switch to hugo-asciidoctorj-extension bootique/bootique#352
Browse files Browse the repository at this point in the history
(cherry picked from commit 6fd8cad)
  • Loading branch information
stariy95 committed Apr 17, 2024
1 parent 42dcb2b commit 7c98b26
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 15 deletions.
20 changes: 7 additions & 13 deletions bootique-di-docs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
</dependencies>

<properties>
<asciidoctorj.version>2.1.0</asciidoctorj.version>
<asciidoctor.maven.plugin.version>2.0.0-RC.1</asciidoctor.maven.plugin.version>
<jruby.version>9.2.8.0</jruby.version>
<asciidoctorj.version>2.5.12</asciidoctorj.version>
<asciidoctor.maven.plugin.version>2.2.6</asciidoctor.maven.plugin.version>
<hugo.asciidoctorj.extension.version>1.0-M2</hugo.asciidoctorj.extension.version>
<bootique.version>${project.version}</bootique.version>
</properties>

Expand Down Expand Up @@ -72,21 +72,15 @@
<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>
<version>${asciidoctorj.version}</version>
</dependency>
<!-- Using Cayenne asciidoc extension to inject custom headers -->
<dependency>
<groupId>io.bootique.docs</groupId>
<artifactId>bootique-asciidoc-internal</artifactId>
<version>${bootique.version}</version>
<groupId>io.bootique.tools</groupId>
<artifactId>hugo-asciidoctorj-extension</artifactId>
<version>${hugo.asciidoctorj.extension.version}</version>
</dependency>
</dependencies>

Expand All @@ -108,7 +102,7 @@
<!-- this will inject header with "front-matter" markup -->
<extensions>
<extension>
<className>io.bootique.docs.asciidoc.BootiquePostprocessor</className>
<className>io.bootique.tools.asciidoctorj.HugoExtension</className>
</extension>
</extensions>
<attributes>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

:bq-header: bootique-di-docs/_bootique_di/header.html
:hugo-header: bootique-di-docs/_bootique_di/header.html

== Bootique DI framework

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// specific language governing permissions and limitations
// under the License.

:bq-header: migrate-from-guice/_migrate/header.html
:hugo-header: migrate-from-guice/_migrate/header.html

== Migrating from Guice framework

Expand Down

0 comments on commit 7c98b26

Please sign in to comment.