Skip to content

Commit 29fb38c

Browse files
authored
Fix dev index building for suspended providers (#30812)
This is a follow-up after #30422 and #30763 - it turns out that locally building index of providers failed when some providers are suspended. It only impacts dev workflow locally.
1 parent c585ad5 commit 29fb38c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/exts/docs_build/dev_index_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def _render_content():
5858
)
5959
providers.append(current_provider)
6060
except StopIteration:
61-
raise Exception(f"Could not find provider.yaml file for package: {package_name}")
61+
print(f"WARNING! Could not find provider.yaml file for package: {package_name}")
6262

6363
content = _render_template(
6464
"dev_index_template.html.jinja2", providers=sorted(providers, key=lambda k: k["package-name"])

0 commit comments

Comments
 (0)