create python module that just has all markdown files#6398
Conversation
Greptile SummaryThis PR introduces Confidence Score: 5/5Safe to merge — all findings are P2 and do not affect current behavior. Only P2 findings: a latent rglob-on-file bug in the build hook (not triggered by current docs/ structure) and a missing path-traversal guard in an internal-only package. No regressions in the publish pipeline. docs/package/scripts/hatch_build.py (latent rglob bug) and docs/package/reflex_docs_bundle/init.py (path traversal) Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[docs/ tree] -->|iterdir top-level| B{BundleDocsHook}
B -->|skip: app/, package/, dotfiles| C[ignored]
B -->|.md file at top level| D[include directly]
B -->|directory| E[rglob *.md]
D --> F[force_include into wheel]
E --> F
F --> G[reflex_docs_bundle/_docs/]
G --> H[reflex_docs_bundle.__init__]
H -->|DOCS_DIR| I[list_docs]
H -->|get_doc rel_path| J[read_text]
Reviews (3): Last reviewed commit: "ignore both dirs" | Re-trigger Greptile |
|
@greptile |
|
@greptile |
No description provided.