Conversation
Greptile SummaryThis PR improves the llms.txt/llms-full.txt structure for agent-friendly docs: it adds an H1 and blockquote preamble to Confidence Score: 4/5Safe to merge with low risk; the single concern is whether root-relative paths resolve correctly when the docs are mounted under /docs/. All plugin logic and tests are correct. The only open question is the /llms-full.txt and /llms.txt hrefs in docpage.py β if Reflex does not prefix rx.el.a hrefs with the configured frontend_path, both links 404 in production, but the author claims local verification passed. docs/app/reflex_docs/templates/docpage/docpage.py β verify LLMS_TXT_PATH and LLMS_FULL_TXT_PATH resolve to the correct /docs/-prefixed URLs in production. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[AgentFilesPlugin.get_static_assets] --> B[generate_agent_files]
B --> C[generate_markdown_file_entries]
B --> D[generate_llms_txt]
B --> E[generate_llms_full_txt]
D --> D1["LLMS_TXT_INTRO.format(llms_full_txt_url)\n# Reflex Documentation\n> blockquote\n## Docs"]
D1 --> D2["### Section\n- [Title](url.md)\n..."]
D2 --> D3["β llms.txt"]
E --> E1["LLMS_FULL_INTRO.format(...)"]
E1 --> E2["Stitched Markdown pages"]
E2 --> E3["β llms-full.txt"]
F[docpage template] --> G["sr-only blockquote\nhref=/llms.txt"]
F --> H["Copy/LLM dropdown menu item\nhref=/llms-full.txt target=_blank"]
Reviews (1): Last reviewed commit: "Fix docs llms index links" | Re-trigger Greptile |
Summary
Validation