Skip to content

Commit

Permalink
Included Antora
Browse files Browse the repository at this point in the history
  • Loading branch information
karesti committed Dec 5, 2024
1 parent 4de7cbe commit 2e24c54
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 4 deletions.
19 changes: 19 additions & 0 deletions docs/antora-playbook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
site:
title: Infinispan Embedded for Quarkus
start_page: quarkus-infinispan-embedded:ROOT:index.adoc
content:
sources:
- url: ./../
branches: HEAD
start_path: docs
ui:
bundle:
url: https://gitlab.com/antora/antora-ui-default/-/jobs/artifacts/HEAD/raw/build/ui-bundle.zip?job=bundle-stable
snapshot: true

asciidoc:
attributes:
kroki-fetch-diagram: true

output:
dir: ./target/site
5 changes: 5 additions & 0 deletions docs/antora.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name: quarkus-infinispan-embedded
title: Infinispan Embedded
version: dev
nav:
- modules/ROOT/nav.adoc
6 changes: 5 additions & 1 deletion docs/modules/ROOT/pages/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,8 @@ To incorporate Quarkus Infinispan Embedded into your Quarkus project, add the fo
include::{examples-dir}/io/quarkiverse/infinispan/embedded/samples/MyServiceExample.java[]
----
<1> The `@Inject` annotation injects the _EmbeddedCacheManager_.
<2> Use the _EmbeddedCacheManager_. Scope if the bean is _@Singleton_
<2> Use the _EmbeddedCacheManager_. Scope if the bean is _@Singleton_

== Configuration Settings

include::includes/quarkus-infinispan-embedded.adoc[leveloffset=+1,opts=optional]
6 changes: 6 additions & 0 deletions docs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
<version>${project.version}</version>
</dependency>

<dependency>
<groupId>io.quarkiverse.antora</groupId>
<artifactId>quarkus-antora</artifactId>
<version>${quarkus-antora.version}</version>
</dependency>

<!-- Test dependencies -->
<dependency>
<groupId>io.quarkus</groupId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
package io.quarkiverse.infinispan.embedded.docs.it;

import java.io.IOException;
import java.util.concurrent.TimeoutException;

import org.hamcrest.CoreMatchers;
import org.junit.jupiter.api.Test;

Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
</scm>
<properties>
<quarkus.version>3.15.2</quarkus.version>
<quarkus-antora.version>0.3.0</quarkus-antora.version>
<infinispan.version>15.0.11.Final</infinispan.version>
<jgroups.raft.version>1.0.14.Final</jgroups.raft.version>
<assertj.version>3.26.3</assertj.version>
Expand Down

0 comments on commit 2e24c54

Please sign in to comment.