Skip to content

Commit 7ff5f76

Browse files
Alek99claude
andcommitted
docs: rename Hosting card, fix Edit/Raise issue links, add docs issue template
- "How to Host" card on the docs landing page is now labeled "Deployment". - Right-rail "Raise an issue" link previously pointed at the archived `reflex-dev/reflex-web` repo and used `&amp;` in the URL, which sent the literal `amp;body=...` to GitHub. Repoint at `reflex-dev/reflex`, fix the entity, prefill title/body with the current page path, pre-select the new "Documentation" issue template tab, and pre-add the `documentation` label. - "Edit this page" link likewise pointed at `reflex-web/tree/main` and produced `…/<path>/.md` (extra slash, missing `docs/` prefix). Use `reflex/blob/main/docs<path>.md` so the link lands on the actual markdown file. - Add `.github/ISSUE_TEMPLATE/documentation.md` so the `?template=documentation.md` URL resolves. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 8158f1a commit 7ff5f76

3 files changed

Lines changed: 28 additions & 3 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: Documentation
3+
about: Report a problem with the docs at reflex.dev/docs
4+
title: ""
5+
labels: documentation
6+
assignees: ""
7+
---
8+
9+
**Page**
10+
Path:
11+
12+
**What's wrong?**
13+
A clear description of the issue (typo, missing info, broken example, etc.).
14+
15+
**Suggested fix (optional)**
16+
If you have a suggestion for how to improve the page, share it here.
17+
18+
**Screenshots (optional)**
19+
If applicable, add screenshots to help explain.

docs/app/reflex_docs/pages/docs_landing/views/hosting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def hosting_section() -> rx.Component:
2121
faded_borders(),
2222
link_item(
2323
"CloudServerIcon",
24-
"How to Host",
24+
"Deployment",
2525
"Step-by-step instructions to deploy your Reflex application to the cloud, including configuration and setup guides.",
2626
hosting_page.deploy_quick_start.path,
2727
),

docs/app/reflex_docs/templates/docpage/docpage.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,11 +241,17 @@ def docpage_footer(path: str):
241241
rx.box(
242242
link_pill(
243243
"Raise an issue",
244-
href=f"https://github.com/reflex-dev/reflex-web/issues/new?title=Issue with reflex.dev documentation&amp;body=Path: {path}",
244+
href=(
245+
"https://github.com/reflex-dev/reflex/issues/new"
246+
"?template=documentation.md"
247+
"&labels=documentation"
248+
f"&title=Issue with reflex.dev{path}"
249+
f"&body=Path: {path}%0A%0A"
250+
),
245251
),
246252
link_pill(
247253
"Edit this page",
248-
f"https://github.com/reflex-dev/reflex-web/tree/main{path}.md",
254+
f"https://github.com/reflex-dev/reflex/blob/main/docs{path}.md",
249255
),
250256
class_name="lg:flex hidden flex-row items-center gap-2 w-auto",
251257
),

0 commit comments

Comments
 (0)