Skip to content

Commit 2a8755a

Browse files
christophdbclaude
andcommitted
Fix generate_llms_txt.py to handle !ENV tags in mkdocs.yml
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ca92f1e commit 2a8755a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/generate_llms_txt.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ def load_mkdocs_config():
3333
"tag:yaml.org,2002:python/",
3434
lambda loader, suffix, node: None,
3535
)
36+
loader.add_constructor(
37+
"!ENV",
38+
lambda loader, node: None,
39+
)
3640
with open(MKDOCS_YML, "r") as f:
3741
return yaml.load(f, Loader=loader)
3842

0 commit comments

Comments
 (0)