You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pp...@apache.org on 2020/10/02 20:15:25 UTC
[camel-quarkus] branch master updated: Generate the list of
examples from the AsciiDoc pages generated in the examples repo
This is an automated email from the ASF dual-hosted git repository.
ppalaga pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/master by this push:
new 2c3c089 Generate the list of examples from the AsciiDoc pages generated in the examples repo
2c3c089 is described below
commit 2c3c089b3b71c7d9f5c4cdad2418b02a2eb4b386
Author: Peter Palaga <pp...@redhat.com>
AuthorDate: Fri Oct 2 18:04:44 2020 +0200
Generate the list of examples from the AsciiDoc pages generated in the
examples repo
---
docs/antora-playbook-dev.yml | 5 ++++-
docs/modules/ROOT/pages/user-guide/examples.adoc | 22 +++++++++-------------
2 files changed, 13 insertions(+), 14 deletions(-)
diff --git a/docs/antora-playbook-dev.yml b/docs/antora-playbook-dev.yml
index fd2e4f4..0b76950 100644
--- a/docs/antora-playbook-dev.yml
+++ b/docs/antora-playbook-dev.yml
@@ -24,9 +24,12 @@ content:
- url: ./../
branches: HEAD
start_path: docs
- - url: ./../../../camel/camel
+ - url: git@github.com:apache/camel.git
branches: HEAD
start_path: docs/components
+ - url: git@github.com:apache/camel-quarkus-examples.git
+ branches: HEAD
+ start_path: docs
- url: git@github.com:apache/camel-spring-boot.git
branches: master
start_path: docs
diff --git a/docs/modules/ROOT/pages/user-guide/examples.adoc b/docs/modules/ROOT/pages/user-guide/examples.adoc
index d18d34d..509902a 100644
--- a/docs/modules/ROOT/pages/user-guide/examples.adoc
+++ b/docs/modules/ROOT/pages/user-guide/examples.adoc
@@ -1,21 +1,17 @@
= Camel Quarkus Examples
:page-aliases: examples.adoc
+:indexer-version: latest
+:indexer-component: camel-quarkus-examples
+:indexer-module: ROOT
+:indexer-rel-filter: *.adoc
-We offer several examples in our https://github.com/apache/camel-quarkus/tree/master/examples[source tree]. To learn
-how to use them, please follow the xref:user-guide/first-steps.adoc[First steps] chapter of the User guide.
+We offer several examples in https://github.com/apache/camel-quarkus-examples[Camel Quarkus examples repository]. To
+learn how to use them, please follow the xref:user-guide/first-steps.adoc[First steps] chapter of the User guide.
-// examples: START
-Number of Examples: 8 (0 deprecated)
+Number of Examples: indexCount:[version="{indexer-version}",component="{indexer-component}",module="{indexer-module}",relative="{indexer-rel-filter}"]
[width="100%",cols="3,7",options="header"]
|===
| Example | Description
-| link:https://github.com/apache/camel-quarkus/tree/master/examples/observability/README.adoc[Observability] (observability) | An example that demonstrates how to add support for metrics, health checks and distributed tracing
-| link:https://github.com/apache/camel-quarkus/tree/master/examples/rest-json/README.adoc[Rest Json] (rest-json) | This example is a port of Quarkus' quickstart to Camel
-| link:https://github.com/apache/camel-quarkus/tree/master/examples/timer-log/README.adoc[Timer Log] (timer-log) | An example of basic Hello World that uses a Camel timer
-| link:https://github.com/apache/camel-quarkus/tree/master/examples/timer-log-cdi/README.adoc[Timer Log CDI] (timer-log-cdi) | An example of basic Hello World that uses CDI to set-up a Camel timer
-| link:https://github.com/apache/camel-quarkus/tree/master/examples/timer-log-kotlin[Timer Log Kotlin] (timer-log-kotlin) | An example of basic Hello World that uses Kotlin to set-up a Camel timer
-| link:https://github.com/apache/camel-quarkus/tree/master/examples/timer-log-xml/README.adoc[Timer Log XML] (timer-log-xml) | An example of basic Hello World that uses XML to set-up a Camel timer
-| link:https://github.com/apache/camel-quarkus/tree/master/examples/timer-log-spring/README.adoc[Timer Log Spring] (timer-log-spring) | An example of basic Hello World that uses Spring to set-up a Camel timer
-| link:https://github.com/apache/camel-quarkus/tree/master/examples/file-split-log-xml/README.adoc[File Split Log XML] (file-split-log-xml) | An example of basic Hello World that uses XML to set-up a Camel file consumer
|===
-// examples: END
\ No newline at end of file
+
+indexTable::[version="{indexer-version}",component="{indexer-component}",module="{indexer-module}",relative="{indexer-rel-filter}",cells="=`$\{cqExampleUrl}[$\{cqExampleTitle}]`,cq-example-description"]