docs/app/README.md
uv sync
uv run reflex run
Markdown docs live in the parent docs/ directory (one level above app/). Edit any .md file there and the dev server will pick up the changes so you can preview them live in the app.
By default, the dev server compiles all pages, which can be slow. To speed things up, you can whitelist only the pages you're working on so only those get compiled.
Edit reflex_docs/whitelist.py and add paths to the WHITELISTED_PAGES list. Paths are app routes (relative to frontend_path, which defaults to /docs in rxconfig.py). Do not repeat the /docs mount segment in the whitelist, or nothing will match.
WHITELISTED_PAGES = [
"/getting-started/introduction",
"/components/props",
]
Rules:
/./getting-started/introduction, not /getting-started/introduction/).[]) builds all pages (the default)."/components" will include all pages under that section.After editing the whitelist, restart the dev server for changes to take effect.