This is an automated email from the ASF dual-hosted git repository.
zregvart pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 2288ccc CAMEL-16686: fix script to copy examples
2288ccc is described below
commit 2288ccc580cd4f213a7d82138dc6b10190e6a1d1
Author: Zoran Regvart <[email protected]>
AuthorDate: Fri Jun 4 14:24:55 2021 +0200
CAMEL-16686: fix script to copy examples
The Gulp script to copy over the examples did not consider components
bundled in core.
---
docs/gulpfile.js | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/docs/gulpfile.js b/docs/gulpfile.js
index 45d88a7..6d837f2 100644
--- a/docs/gulpfile.js
+++ b/docs/gulpfile.js
@@ -426,8 +426,11 @@ function createUserManualLanguageExamples () {
}
function createComponentExamples () {
- return src('../components/{*,*/*}/src/main/docs/*.adoc')
- .pipe(through2.obj(extractExamples))
+ return src([
+ '../core/camel-base/src/main/docs/*.adoc',
+ '../core/camel-main/src/main/docs/*.adoc',
+ '../components/{*,*/*}/src/main/docs/*.adoc',
+ ]).pipe(through2.obj(extractExamples))
.pipe(dest('components/modules/ROOT/examples/'))
}