Skip to content
This repository has been archived by the owner on Apr 28, 2024. It is now read-only.

Commit

Permalink
Docs: switch to hugo-asciidoctorj-extension bootique/bootique#352
Browse files Browse the repository at this point in the history
  • Loading branch information
stariy95 committed Apr 17, 2024
1 parent b6840b9 commit 50dfd5f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 16 deletions.
23 changes: 8 additions & 15 deletions bootique-kotlin-docs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
<packaging>jar</packaging>

<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.snapshot.version>3.0.M2</bootique.snapshot.version>
</properties>

Expand All @@ -57,25 +57,18 @@
<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>


<executions>
<!-- generate "embeddable" html content with front matter and without header/footer/styles -->
<execution>
Expand All @@ -93,14 +86,14 @@
<!-- 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>
<sectnums />
<icons>font</icons>
<toc>auto</toc>
<bootique_version>3.0.M1</bootique_version>
<bootique_version>3.0.M2</bootique_version>
<kotlin_version>${kotlin.version}</kotlin_version>
</attributes>
</configuration>
Expand Down
2 changes: 1 addition & 1 deletion bootique-kotlin-docs/src/main/asciidoc/index.adoc
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: _index/header.html
:hugo-header: _index/header.html

= Kotlin Extensions for Bootique and Bootique Modules

Expand Down

0 comments on commit 50dfd5f

Please sign in to comment.