This is an automated email from the ASF dual-hosted git repository. djencks pushed a commit to branch camel-3.14.x in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.14.x by this push: new 4f3a3b3 local/partial build setup 4f3a3b3 is described below commit 4f3a3b348e41f6683dd757be62806ade8f8be5d4 Author: David Jencks <djen...@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..3b5f4d4 --- /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.14.x + mapped_branch: HEAD diff --git a/docs/source-watch.yml b/docs/source-watch.yml new file mode 100644 index 0000000..982761e --- /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.14.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