diff --git a/docs/generator/generator.go b/docs/generator/generator.go index 4392a5b19..37bb9d0d5 100644 --- a/docs/generator/generator.go +++ b/docs/generator/generator.go @@ -32,7 +32,7 @@ func main() { img := saveImage(k, out) produceDoc(k, out, img) - links = append(links, fmt.Sprintf("** xref:ROOT:%s.adoc[%s %s]", k.Name, img, k.Spec.Definition.Title)) + links = append(links, fmt.Sprintf("* xref:ROOT:%s.adoc[%s %s]", k.Name, img, k.Spec.Definition.Title)) } saveNav(links, out) @@ -40,7 +40,6 @@ func main() { func saveNav(links []string, out string) { content := "// THIS FILE IS AUTOMATICALLY GENERATED: DO NOT EDIT\n" - content += "* xref:ROOT:index.adoc[Kamelet Catalog]\n" for _, l := range links { content += l + "\n" } @@ -226,7 +225,7 @@ spec: content += "----\n" content += "\n" - content += "Make sure you have xref:latest@camel-k::installation/installation.html[Camel K installed] into the Kubernetes cluster you're connected to.\n" + content += "Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to.\n" content += "\n" content += fmt.Sprintf("Save the `%s-binding.yaml` file into your hard drive, then configure it according to your needs.\n", k.Name) content += "\n" diff --git a/docs/modules/ROOT/nav.adoc b/docs/modules/ROOT/nav.adoc index e09c04ac6..ccae072f6 100644 --- a/docs/modules/ROOT/nav.adoc +++ b/docs/modules/ROOT/nav.adoc @@ -1,13 +1,12 @@ // THIS FILE IS AUTOMATICALLY GENERATED: DO NOT EDIT -* xref:ROOT:index.adoc[Kamelet Catalog] -** xref:ROOT:aws-kinesis-source.adoc[image:kamelets/aws-kinesis-source.svg[] AWS Kinesis Source] -** xref:ROOT:aws-sqs-source.adoc[image:kamelets/aws-sqs-source.svg[] AWS SQS Source] -** xref:ROOT:bitcoin-source.adoc[image:kamelets/bitcoin-source.svg[] Bitcoin Source] -** xref:ROOT:http-source.adoc[image:kamelets/http-source.svg[] HTTP Source] -** xref:ROOT:jira-source.adoc[image:kamelets/jira-source.svg[] Jira Source] -** xref:ROOT:mqtt-source.adoc[image:kamelets/mqtt-source.svg[] MQTT Source] -** xref:ROOT:salesforce-source.adoc[image:kamelets/salesforce-source.svg[] Salesforce Source] -** xref:ROOT:slack-source.adoc[image:kamelets/slack-source.svg[] Slack Source] -** xref:ROOT:telegram-source.adoc[image:kamelets/telegram-source.svg[] Telegram Source] -** xref:ROOT:timer-source.adoc[image:kamelets/timer-source.svg[] Timer Source] +* xref:ROOT:aws-kinesis-source.adoc[image:kamelets/aws-kinesis-source.svg[] AWS Kinesis Source] +* xref:ROOT:aws-sqs-source.adoc[image:kamelets/aws-sqs-source.svg[] AWS SQS Source] +* xref:ROOT:bitcoin-source.adoc[image:kamelets/bitcoin-source.svg[] Bitcoin Source] +* xref:ROOT:http-source.adoc[image:kamelets/http-source.svg[] HTTP Source] +* xref:ROOT:jira-source.adoc[image:kamelets/jira-source.svg[] Jira Source] +* xref:ROOT:mqtt-source.adoc[image:kamelets/mqtt-source.svg[] MQTT Source] +* xref:ROOT:salesforce-source.adoc[image:kamelets/salesforce-source.svg[] Salesforce Source] +* xref:ROOT:slack-source.adoc[image:kamelets/slack-source.svg[] Slack Source] +* xref:ROOT:telegram-source.adoc[image:kamelets/telegram-source.svg[] Telegram Source] +* xref:ROOT:timer-source.adoc[image:kamelets/timer-source.svg[] Timer Source] // THIS FILE IS AUTOMATICALLY GENERATED: DO NOT EDIT diff --git a/docs/modules/ROOT/pages/aws-kinesis-source.adoc b/docs/modules/ROOT/pages/aws-kinesis-source.adoc index b8fd4b46a..3b6ff4cee 100644 --- a/docs/modules/ROOT/pages/aws-kinesis-source.adoc +++ b/docs/modules/ROOT/pages/aws-kinesis-source.adoc @@ -53,7 +53,7 @@ spec: ---- -Make sure you have xref:latest@camel-k::installation/installation.html[Camel K installed] into the Kubernetes cluster you're connected to. +Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `aws-kinesis-source-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/aws-sqs-source.adoc b/docs/modules/ROOT/pages/aws-sqs-source.adoc index 2b45f6f2b..a4f2d12ff 100644 --- a/docs/modules/ROOT/pages/aws-sqs-source.adoc +++ b/docs/modules/ROOT/pages/aws-sqs-source.adoc @@ -54,7 +54,7 @@ spec: ---- -Make sure you have xref:latest@camel-k::installation/installation.html[Camel K installed] into the Kubernetes cluster you're connected to. +Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `aws-sqs-source-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/bitcoin-source.adoc b/docs/modules/ROOT/pages/bitcoin-source.adoc index 7c6ad0232..9130b6235 100644 --- a/docs/modules/ROOT/pages/bitcoin-source.adoc +++ b/docs/modules/ROOT/pages/bitcoin-source.adoc @@ -45,7 +45,7 @@ spec: ---- -Make sure you have xref:latest@camel-k::installation/installation.html[Camel K installed] into the Kubernetes cluster you're connected to. +Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `bitcoin-source-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/http-source.adoc b/docs/modules/ROOT/pages/http-source.adoc index db1b6a0a9..c8f0d98c4 100644 --- a/docs/modules/ROOT/pages/http-source.adoc +++ b/docs/modules/ROOT/pages/http-source.adoc @@ -49,7 +49,7 @@ spec: ---- -Make sure you have xref:latest@camel-k::installation/installation.html[Camel K installed] into the Kubernetes cluster you're connected to. +Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `http-source-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/jira-source.adoc b/docs/modules/ROOT/pages/jira-source.adoc index 871a13f82..fc2fb5f0e 100644 --- a/docs/modules/ROOT/pages/jira-source.adoc +++ b/docs/modules/ROOT/pages/jira-source.adoc @@ -52,7 +52,7 @@ spec: ---- -Make sure you have xref:latest@camel-k::installation/installation.html[Camel K installed] into the Kubernetes cluster you're connected to. +Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `jira-source-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/mqtt-source.adoc b/docs/modules/ROOT/pages/mqtt-source.adoc index de3f42fbc..e2af0b3d6 100644 --- a/docs/modules/ROOT/pages/mqtt-source.adoc +++ b/docs/modules/ROOT/pages/mqtt-source.adoc @@ -50,7 +50,7 @@ spec: ---- -Make sure you have xref:latest@camel-k::installation/installation.html[Camel K installed] into the Kubernetes cluster you're connected to. +Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `mqtt-source-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/salesforce-source.adoc b/docs/modules/ROOT/pages/salesforce-source.adoc index 46bea7924..c247497dd 100644 --- a/docs/modules/ROOT/pages/salesforce-source.adoc +++ b/docs/modules/ROOT/pages/salesforce-source.adoc @@ -58,7 +58,7 @@ spec: ---- -Make sure you have xref:latest@camel-k::installation/installation.html[Camel K installed] into the Kubernetes cluster you're connected to. +Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `salesforce-source-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/slack-source.adoc b/docs/modules/ROOT/pages/slack-source.adoc index 0af3da97b..8261521f2 100644 --- a/docs/modules/ROOT/pages/slack-source.adoc +++ b/docs/modules/ROOT/pages/slack-source.adoc @@ -49,7 +49,7 @@ spec: ---- -Make sure you have xref:latest@camel-k::installation/installation.html[Camel K installed] into the Kubernetes cluster you're connected to. +Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `slack-source-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/telegram-source.adoc b/docs/modules/ROOT/pages/telegram-source.adoc index eb7f5d9cf..4ce469805 100644 --- a/docs/modules/ROOT/pages/telegram-source.adoc +++ b/docs/modules/ROOT/pages/telegram-source.adoc @@ -49,7 +49,7 @@ spec: ---- -Make sure you have xref:latest@camel-k::installation/installation.html[Camel K installed] into the Kubernetes cluster you're connected to. +Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `telegram-source-binding.yaml` file into your hard drive, then configure it according to your needs. diff --git a/docs/modules/ROOT/pages/timer-source.adoc b/docs/modules/ROOT/pages/timer-source.adoc index bcb0a9f7c..658063c88 100644 --- a/docs/modules/ROOT/pages/timer-source.adoc +++ b/docs/modules/ROOT/pages/timer-source.adoc @@ -48,7 +48,7 @@ spec: ---- -Make sure you have xref:latest@camel-k::installation/installation.html[Camel K installed] into the Kubernetes cluster you're connected to. +Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to. Save the `timer-source-binding.yaml` file into your hard drive, then configure it according to your needs.