From 05d542249bbf2efd3eb4a332e6f5c8f661e13d53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Mal=C3=A9=C5=99?= Date: Tue, 15 Oct 2024 16:49:22 +0200 Subject: [PATCH] Tweaking the Datasource guide content conditionals MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Maléř --- docs/src/main/asciidoc/datasource.adoc | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/docs/src/main/asciidoc/datasource.adoc b/docs/src/main/asciidoc/datasource.adoc index cc16c346dd980..220db0e78b8d0 100644 --- a/docs/src/main/asciidoc/datasource.adoc +++ b/docs/src/main/asciidoc/datasource.adoc @@ -65,10 +65,12 @@ For more details and optional configurations, see xref:databases-dev-services.ad * `quarkus-jdbc-db2` * `quarkus-jdbc-derby` -ifdef::note-quarkus-derby[] + -{note-quarkus-derby} +-- +ifdef::note-quarkus-derby[] +include::resources/snippets/snip-note-derby.adoc[] endif::note-quarkus-derby[] +-- * `quarkus-jdbc-h2` * `quarkus-jdbc-mariadb` * `quarkus-jdbc-mssql` @@ -155,10 +157,12 @@ Quarkus currently includes the following built-in database kinds: + * DB2: `db2` * Derby: `derby` -ifdef::note-quarkus-derby[] + -{note-quarkus-derby} +-- +ifdef::note-quarkus-derby[] +include::resources/snippets/snip-note-derby.adoc[] endif::note-quarkus-derby[] +-- * H2: `h2` * MariaDB: `mariadb` * Microsoft SQL Server: `mssql` @@ -199,10 +203,12 @@ JDBC is the most common database connection pattern, typically needed when used .. For use with a built-in JDBC driver, choose and add the Quarkus extension for your relational database driver from the list below: + * Derby - `quarkus-jdbc-derby` -ifdef::note-quarkus-derby[] + -{note-quarkus-derby} +-- +ifdef::note-quarkus-derby[] +include::resources/snippets/snip-note-derby.adoc[] endif::note-quarkus-derby[] +-- * H2 - `quarkus-jdbc-h2` + [NOTE]