From e067e3bec8a95dbdd92616c4a306e265a26cef22 Mon Sep 17 00:00:00 2001 From: Knut Wannheden Date: Thu, 15 Oct 2020 14:05:04 +0200 Subject: [PATCH] Fix syntax highlighting for all code examples in guides Fixes #12733 --- docs/src/main/asciidoc/deploying-to-kubernetes.adoc | 2 +- docs/src/main/asciidoc/funqy-amazon-lambda.adoc | 2 +- docs/src/main/asciidoc/kafka-streams.adoc | 2 +- docs/src/main/asciidoc/optaplanner.adoc | 2 +- docs/src/main/asciidoc/security-keycloak-authorization.adoc | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/src/main/asciidoc/deploying-to-kubernetes.adoc b/docs/src/main/asciidoc/deploying-to-kubernetes.adoc index 03dba98adf65b..8a332bab34d34 100644 --- a/docs/src/main/asciidoc/deploying-to-kubernetes.adoc +++ b/docs/src/main/asciidoc/deploying-to-kubernetes.adoc @@ -27,7 +27,7 @@ To complete this guide, you need: Let's create a new project that contains both the Kubernetes and Jib extensions: -[source,subs=attributes+] +[source,bash,subs=attributes+] ---- mvn io.quarkus:quarkus-maven-plugin:{quarkus-version}:create \ -DprojectGroupId=org.acme \ diff --git a/docs/src/main/asciidoc/funqy-amazon-lambda.adoc b/docs/src/main/asciidoc/funqy-amazon-lambda.adoc index da40f47ade769..c11e3b0e8ed67 100644 --- a/docs/src/main/asciidoc/funqy-amazon-lambda.adoc +++ b/docs/src/main/asciidoc/funqy-amazon-lambda.adoc @@ -192,7 +192,7 @@ code to a native executable. Just make sure to rebuild your project with the `- For Linux hosts execute: -[source,subs=attributes+] +[source,bash,subs=attributes+] ---- mvn package -Pnative ---- diff --git a/docs/src/main/asciidoc/kafka-streams.adoc b/docs/src/main/asciidoc/kafka-streams.adoc index 476c190e49050..5fe7badc28728 100644 --- a/docs/src/main/asciidoc/kafka-streams.adoc +++ b/docs/src/main/asciidoc/kafka-streams.adoc @@ -32,7 +32,7 @@ Using the dev mode, you'll instantly see messages on the output topic(s) as prod For the best development experience, we recommend applying the following configuration settings to your Kafka broker: -[source,subs=attributes+] +[source,properties,subs=attributes+] ---- group.min.session.timeout.ms=250 ---- diff --git a/docs/src/main/asciidoc/optaplanner.adoc b/docs/src/main/asciidoc/optaplanner.adoc index f786d9105a843..47b553e78d568 100644 --- a/docs/src/main/asciidoc/optaplanner.adoc +++ b/docs/src/main/asciidoc/optaplanner.adoc @@ -65,7 +65,7 @@ with the following extensions, for Maven or Gradle: Alternatively, generate it from the command line with Maven: -[source,subs=attributes+] +[source,bash,subs=attributes+] ---- mvn io.quarkus:quarkus-maven-plugin:{quarkus-version}:create \ -DprojectGroupId=org.acme \ diff --git a/docs/src/main/asciidoc/security-keycloak-authorization.adoc b/docs/src/main/asciidoc/security-keycloak-authorization.adoc index 3f9282c86bb07..43a5809a80a33 100644 --- a/docs/src/main/asciidoc/security-keycloak-authorization.adoc +++ b/docs/src/main/asciidoc/security-keycloak-authorization.adoc @@ -68,7 +68,7 @@ The solution is located in the `security-keycloak-authorization-quickstart` {qui First, we need a new project. Create a new project with the following command: -[source,subs=attributes+] +[source,bash,subs=attributes+] ---- mvn io.quarkus:quarkus-maven-plugin:{quarkus-version}:create \ -DprojectGroupId=org.acme \