Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Documentation
about: Report a problem with the docs at reflex.dev/docs
title: ""
labels: documentation
assignees: ""
---

**Page**
Path:

**What's wrong?**
A clear description of the issue (typo, missing info, broken example, etc.).

**Suggested fix (optional)**
If you have a suggestion for how to improve the page, share it here.

**Screenshots (optional)**
If applicable, add screenshots to help explain.
12 changes: 11 additions & 1 deletion docs/app/reflex_docs/pages/docs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,17 @@ def comp(_actual=actual_path, _virtual=virtual_doc):

# Build doc_markdown_sources mapping
for _virtual, _actual in all_docs.items():
if _virtual.endswith("-style.md") or _virtual.endswith("-ll.md"):
if _virtual.endswith("-style.md"):
continue
if _virtual.endswith("-ll.md"):
# Register low-level docs at /<path>-ll.md so the copy button can
# fetch them from the served URL.
_hl_virtual = _virtual.replace("-ll.md", ".md")
_hl_route = doc_route_from_path(_hl_virtual)
if not _check_whitelisted_path(_hl_route):
continue
_ll_route = _hl_route.rstrip("/") + "-ll"
doc_markdown_sources[_ll_route] = _actual
continue
_route = doc_route_from_path(_virtual)
if not _check_whitelisted_path(_route):
Expand Down
Loading
Loading