Use AI builder, enterprise and hosting docs from reflex#1808
Conversation
…carlos/replace-some-docs
…carlos/replace-some-docs
Greptile SummaryThis PR migrates AI builder, enterprise, and hosting documentation from local markdown files in
Confidence Score: 5/5Safe to merge once reflex-dev/reflex#6277 is confirmed included in the pinned reflex commit — all code logic is correct and well-structured All Python changes are correct: the nested-tuple decoder in docpage.py handles both flexdown and docgen pipelines properly via the isinstance check, the TOC scrolling fix is straightforward CSS, and the enterprise.py deletion is clean. No bugs were introduced. The main dependency is the linked reflex PR being present at the pinned commit hash in uv.lock. uv.lock pins reflex to rev=main at commit 11102878 — verify reflex-dev/reflex#6277 is included at that specific commit before merging Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[docs/ directory] -->|flexdown_docs list| B[get_component]
C[reflex package /docs/] -->|docgen_docs dict| D[get_component_docgen]
B --> E["get_toc(d, path)\n→ (headings, doc_content)"]
B --> F["xd.render(d, path)\n→ rx.Component"]
E --> G["return ((headings, doc_content), rendered)"]
F --> G
D --> H["get_docgen_toc(actual)\n→ headings list"]
D --> I["Path(actual).read_text()\n→ doc_content str"]
D --> J["render_docgen_document()\n→ rx.Component"]
H --> K["return ((toc, doc_content), rendered)"]
I --> K
J --> K
G --> L[docpage decoder]
K --> L
L -->|"isinstance(first, tuple)"| M["toc, doc_content = first\ncomp = second"]
M --> N[TOC sidebar]
M --> O["copy_to_markdown(doc_content)"]
M --> P[Rendered article]
Reviews (1): Last reviewed commit: "use reflex_base" | Re-trigger Greptile |
needs reflex-dev/reflex#6277