Skip to content

Commit

Permalink
Fix dev index building for suspended providers (#30812)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
potiuk committed Apr 22, 2023
1 parent c585ad5 commit 29fb38c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/exts/docs_build/dev_index_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def _render_content():
)
providers.append(current_provider)
except StopIteration:
raise Exception(f"Could not find provider.yaml file for package: {package_name}")
print(f"WARNING! Could not find provider.yaml file for package: {package_name}")

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

0 comments on commit 29fb38c

Please sign in to comment.