Skip to content

Commit 5034686

Browse files
committed
Skip suspended providers when generating providers summary index
When provider's summary index gets generated it should not include suspended providers. This has been missed in apache#30422
1 parent 82ba645 commit 5034686

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/exts/provider_yaml_utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ def load_package_data() -> list[dict[str, Any]]:
6969
jsonschema.validate(provider, schema=schema)
7070
except jsonschema.ValidationError:
7171
raise Exception(f"Unable to parse: {provider_yaml_path}.")
72+
if provider["suspended"]:
73+
continue
7274
provider_yaml_dir = os.path.dirname(provider_yaml_path)
7375
provider["python-module"] = _filepath_to_module(provider_yaml_dir)
7476
provider["package-dir"] = provider_yaml_dir

0 commit comments

Comments
 (0)