This is an automated email from the ASF dual-hosted git repository.

jedcunningham pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new f1f5560d97 Update dev instructions to use breeze command directly with 
short package ids to build docs (#35080)
f1f5560d97 is described below

commit f1f5560d9730d0f17cb46a93d6393b0a1130fa48
Author: anudeep-pv <76508424+anudeep...@users.noreply.github.com>
AuthorDate: Wed Oct 25 22:28:41 2023 +0530

    Update dev instructions to use breeze command directly with short package 
ids to build docs (#35080)
---
 dev/README_RELEASE_PROVIDER_PACKAGES.md            |  2 +-
 .../build_provider_documentation.sh                | 34 ----------------------
 2 files changed, 1 insertion(+), 35 deletions(-)

diff --git a/dev/README_RELEASE_PROVIDER_PACKAGES.md 
b/dev/README_RELEASE_PROVIDER_PACKAGES.md
index af91775e9f..d5725ab1e6 100644
--- a/dev/README_RELEASE_PROVIDER_PACKAGES.md
+++ b/dev/README_RELEASE_PROVIDER_PACKAGES.md
@@ -383,7 +383,7 @@ breeze build-docs providers-index cncf.kubernetes sftp 
--clean-build
 If you have providers as list of provider ids because you just released them, 
you can build them with
 
 ```shell script
-./dev/provider_packages/build_provider_documentation.sh amazon apache.beam 
google ....
+breeze build-docs --clean-build amazon apache.beam google ....
 ```
 
 - Now you can preview the documentation.
diff --git a/dev/provider_packages/build_provider_documentation.sh 
b/dev/provider_packages/build_provider_documentation.sh
deleted file mode 100755
index 7d8a55b8a5..0000000000
--- a/dev/provider_packages/build_provider_documentation.sh
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/usr/bin/env bash
-# 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.
-set -euo pipefail
-
-if [[ $# == "0" ]]; then
-    echo "ERROR: Pass provider ids as list"
-    exit 1
-fi
-
-provider_filters=()
-for provider in "${@}"
-do
-    provider_filters+=("--package-filter" 
"apache-airflow-providers-${provider//./-}")
-done
-
-.breeze build-docs \
-    --clean-build \
-    "${provider_filters[@]}"
-cd "${AIRFLOW_SITE_DIRECTORY}"

Reply via email to