This is an automated email from the ASF dual-hosted git repository. nferraro pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 77f3e1bdb5e67e00c398526d2eadacddfe0d4f9b Author: nicolaferraro <ni.ferr...@gmail.com> AuthorDate: Tue Feb 16 14:11:27 2021 +0100 fix nav --- docs/generator/generator.go | 3 +-- docs/modules/ROOT/nav.adoc | 21 ++++++++++----------- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/docs/generator/generator.go b/docs/generator/generator.go index 9c8ad2e..37bb9d0 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" } diff --git a/docs/modules/ROOT/nav.adoc b/docs/modules/ROOT/nav.adoc index e09c04a..ccae072 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