add llms.txt and llms-full.txt for LLM agent consumption #13
No reviewers
Labels
No labels
bug
contribution welcome
duplicate
enhancement
good first issue
help wanted
invalid
question
upstream
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Reference
marvin8/longwei!13
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/issue-12-llm-docs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #12
Summary
latestalias. Copied as-is by MkDocs to the site root.docs_hooks.py—on_post_build— new hook that concatenates all nav-ordered markdown files intollms-full.txtat build time. Skips any files that don't exist. Existingon_confighook is unchanged.Both files land at
.../latest/llms.txtand.../latest/llms-full.txtautomatically via the Mike versioning pipeline.Test plan
pytest tests/test_docs_hooks.py— 4 tests covering file creation, nav order, separator presence, and graceful handling of missing filesnox -s pytest— full suite green (681 tests, 99.66% coverage)mkdocs build—site/llms.txtandsite/llms-full.txtpresent in outputruff format/ruff check/ty check— all clean