You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by dj...@apache.org on 2021/12/20 17:31:28 UTC
[camel] branch camel-3.7.x updated: local/partial build setup
This is an automated email from the ASF dual-hosted git repository.
djencks pushed a commit to branch camel-3.7.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.7.x by this push:
new d61b3c8 local/partial build setup
d61b3c8 is described below
commit d61b3c8fc00071beba89266b1738f71ac0078b69
Author: David Jencks <dj...@apache.org>
AuthorDate: Fri Dec 17 12:54:02 2021 -0800
local/partial build setup
---
docs/local-build.sh | 37 +++++++++++++++++++++++++++++++++++++
docs/source-map.yml | 25 +++++++++++++++++++++++++
docs/source-watch.yml | 37 +++++++++++++++++++++++++++++++++++++
3 files changed, 99 insertions(+)
diff --git a/docs/local-build.sh b/docs/local-build.sh
new file mode 100755
index 0000000..c8dd05d
--- /dev/null
+++ b/docs/local-build.sh
@@ -0,0 +1,37 @@
+#!/bin/sh
+
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+CW=./../../camel-website
+LOCAL=./../camel
+
+cd $CW || (echo 'camel-website not in expected location $CW' && exit)
+cp antora-playbook.yml local-antora-playbook-full.yml
+cat $LOCAL/docs/source-map.yml >> local-antora-playbook-full.yml
+cat playbook-patch-full.yml >> local-antora-playbook-full.yml
+
+cp antora-playbook.yml local-antora-playbook-partial.yml
+cat $LOCAL/docs/source-map.yml >> local-antora-playbook-partial.yml
+cat $LOCAL/docs/source-watch.yml >> local-antora-playbook-partial.yml
+
+if [ "$1" = "full" ] || [ "$1" = "1" ]
+then
+ yarn build:antora-local-full
+else
+ yarn build:antora-local-partial
+fi
\ No newline at end of file
diff --git a/docs/source-map.yml b/docs/source-map.yml
new file mode 100644
index 0000000..aebb7b4
--- /dev/null
+++ b/docs/source-map.yml
@@ -0,0 +1,25 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+ - require: '@djencks/antora-source-map'
+# log_level: trace
+ source_map:
+ - url: 'https://github.com/apache/camel.git'
+ mapped_url: './../camel'
+ branches:
+ - branch: camel-3.7.x
+ mapped_branch: HEAD
diff --git a/docs/source-watch.yml b/docs/source-watch.yml
new file mode 100644
index 0000000..b95b682
--- /dev/null
+++ b/docs/source-watch.yml
@@ -0,0 +1,37 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+ - require: '@djencks/antora-source-watch'
+# log_level: debug
+ sources:
+ - url: ./../camel
+
+ - url: https://github.com/apache/camel-spring-boot.git
+ branch_includes: camel-spring-boot-3.7.x
+ start_path_includes: docs/components,components-starter
+ components:
+
+ - require: "@djencks/antora-site-manifest"
+ import_manifests:
+ - primary_site_manifest_url: ./documentation/site-manifest.json
+ partial_components: true
+ local-urls: true
+
+ - require: '@djencks/antora-timer'
+ log_level: info
+
+ generator: '@djencks/antora-source-watch'
\ No newline at end of file