This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
commit 1dcb589e26ad2f573e53d480b3a65f4a90641235 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Mon Jun 15 14:16:41 2020 +0200 CAMEL-15190: Add main doc --- docs/components/modules/others/nav.adoc | 1 + docs/components/modules/others/pages/main.adoc | 15 +++++++++++++++ docs/gulpfile.js | 2 +- 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/docs/components/modules/others/nav.adoc b/docs/components/modules/others/nav.adoc index 9f1e7cd..7410a5f 100644 --- a/docs/components/modules/others/nav.adoc +++ b/docs/components/modules/others/nav.adoc @@ -12,6 +12,7 @@ ** xref:jta.adoc[JTA] ** xref:leveldb.adoc[LevelDB] ** xref:lra.adoc[LRA] +** xref:main.adoc[Main] ** xref:microprofile-config.adoc[Microprofile Config] ** xref:microprofile-fault-tolerance.adoc[Microprofile Fault Tolerance] ** xref:microprofile-health.adoc[Microprofile Health] diff --git a/docs/components/modules/others/pages/main.adoc b/docs/components/modules/others/pages/main.adoc new file mode 100644 index 0000000..293e274 --- /dev/null +++ b/docs/components/modules/others/pages/main.adoc @@ -0,0 +1,15 @@ +[[main-component]] += Main Component +//THIS FILE IS COPIED: EDIT THE SOURCE FILE: +:page-source: core/camel-main/src/main/docs/main.adoc +:docTitle: Main +:artifactId: camel-main +:description: Camel Main support +:since: 3.0 +:supportLevel: Stable +//Manually maintained attributes +:group: Core + +*Since Camel {since}* + +This module is used for running Camel standalone via a main class extended from `camel-main`. \ No newline at end of file diff --git a/docs/gulpfile.js b/docs/gulpfile.js index 4904e57..b40e17e 100644 --- a/docs/gulpfile.js +++ b/docs/gulpfile.js @@ -58,7 +58,7 @@ function createComponentSymlinks() { function createComponentOthersSymlinks() { const f = filter(['**','!**/*-language.adoc', '!**/*-dataformat.adoc', '!**/*-component.adoc', '!**/*-summary.adoc']) - return src(['../core/camel-base/src/main/docs/*.adoc','../components/{*,*/*}/src/main/docs/*.adoc']) + return src(['../core/camel-base/src/main/docs/*.adoc','../core/camel-main/src/main/docs/*.adoc','../components/{*,*/*}/src/main/docs/*.adoc']) .pipe(f) .pipe(map((file, done) => { // this flattens the output to just .../pages/....adoc