Skip to content

Commit 423a301

Browse files
m2declaude
andcommitted
Fix docs generator skipping index.json in providers/
providers/index.json has a different shape from recipe files; the docs generator now skips it when loading providers. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 36308b5 commit 423a301

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docs/generate.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ def load_providers() -> list[dict]:
107107
"""Load all provider JSON files, sorted by display_name."""
108108
providers = []
109109
for path in sorted(PROVIDERS_DIR.glob("*.json")):
110+
if path.name == "index.json":
111+
continue
110112
with open(path) as f:
111113
data = json.load(f)
112114
providers.append(data)

0 commit comments

Comments
 (0)