Skip to content

Commit bf8f7ce

Browse files
authored
Merge branch 'main' into devin/1751074257-replace-inkeep-with-typesense
2 parents 1deb8d4 + 6c21902 commit bf8f7ce

File tree

20 files changed

+349
-46
lines changed

20 files changed

+349
-46
lines changed

.github/workflows/deploy-dev.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,14 @@ jobs:
5252
id: deploy
5353
run: |
5454
reflex deploy --project ${{ secrets.DEV_PROJECT_ID }} --token ${{ secrets.DEV_TOKEN }} --no-interactive
55+
56+
- name: Check for dead links
57+
run: |
58+
# Install dependencies for dead link checker
59+
uv pip install -r scripts/requirements.txt
60+
61+
# Wait a moment for deployment to be fully ready
62+
sleep 30
63+
64+
# Run dead link checker
65+
python scripts/check_dead_links.py https://pcweb-gray-orca.rxc.app --timeout 15 --delay 1

blog/2023-09-28-unlocking-new-workflows-with-background-tasks.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,6 @@ continue processing UI events in the foreground. The only time the UI is
106106
blocked is during the short period of time where the response is being appended
107107
to the state.
108108

109-
For a more complete example with comparisons of the two styles, see the
110-
`random-number-range` app in the
111-
[reflex-examples](https://github.com/reflex-dev/reflex-examples/blob/main/random-number-range/random_number_range/random_number_range.py)
112-
repository.
113109

114110
```md alert warning
115111
# `@rx.event(background=True)` used to be called `@rx.background`.
@@ -148,4 +144,4 @@ release notes for all the new features and bug fixes.
148144

149145
🔧 Happy Building 🚀
150146

151-
-- Reflex Team
147+
-- Reflex Team

blog/2024-09-25-using-ag-grid-in-reflex.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ pip install reflex-ag-grid
5151
```
5252

5353
**Note:** This is an initial release.
54-
Check out the [open source repo](https://github.com/reflex-dev/reflex-ag-grid) and our [docs](https://reflex.dev/docs/library/tables-and-data-grids/ag-grid/) for the latest version and any updates.
54+
Check out the [open source repo](https://github.com/reflex-dev/reflex-ag-grid) and our [docs](https://reflex.dev/docs/enterprise/ag-grid/) for the latest version and any updates.
5555

5656
## What is AG Grid?
5757

docs/hosting/deploy-quick-start.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ The command is by default interactive. It asks you a few questions for informati
6363

6464
That’s it! You should receive some feedback on the progress of your deployment and in a few minutes your app should be up. 🎉
6565

66-
For detailed information about the deploy command and its options, see the [Deploy API Reference](https://reflex.dev/docs/hosting/deploy/) and the [CLI Reference](https://reflex.dev/docs/api-reference/cli/).
66+
For detailed information about the deploy command and its options, see the [Deploy API Reference]({docs.cloud.deploy.path}) and the [CLI Reference](https://reflex.dev/docs/api-reference/cli/).
6767

6868

6969
```md alert info

pcweb/components/docpage/navbar/navbar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,7 @@ def new_component_section() -> rx.Component:
515515
),
516516
underline="none",
517517
is_external=True,
518-
href=f"{REFLEX_CLOUD_URL}/?redirect_url={REFLEX_BUILD_URL}",
518+
href=f"{REFLEX_CLOUD_URL.strip('/')}/?redirect_url={REFLEX_BUILD_URL}",
519519
),
520520
class_name="desktop-only",
521521
),

pcweb/components/docpage/sidebar/sidebar.py

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@
1010

1111
from .sidebar_items.ai import ai_builder_overview_items
1212
from .sidebar_items.component_lib import component_lib, graphing_libs
13-
from .sidebar_items.enterprise import enterprise_items, enterprise_usage_items, enterprise_component_items
13+
from .sidebar_items.enterprise import (
14+
enterprise_items,
15+
enterprise_usage_items,
16+
enterprise_component_items,
17+
)
1418
from .sidebar_items.learn import backend, cli_ref, frontend, hosting, learn
1519
from .sidebar_items.recipes import recipes
1620
from .sidebar_items.reference import api_reference
@@ -552,7 +556,9 @@ def sidebar_comp(
552556
rx.link( # pyright: ignore [reportCallIssue]
553557
rx.box( # pyright: ignore [reportCallIssue]
554558
rx.box( # pyright: ignore [reportCallIssue]
555-
rx.icon("atom", size=16), # pyright: ignore [reportCallIssue]
559+
rx.icon(
560+
"atom", size=16
561+
), # pyright: ignore [reportCallIssue]
556562
rx.el.h5(
557563
"Custom Components",
558564
class_name="font-smbold text-[0.875rem] text-slate-12 leading-5 tracking-[-0.01313rem] transition-color",
@@ -596,7 +602,9 @@ def sidebar_comp(
596602
),
597603
create_sidebar_section(
598604
"Components",
599-
enterprise.ag_grid.index.path,
605+
enterprise_component_items[0]
606+
.children[0]
607+
.link.replace("_", "-"),
600608
enterprise_component_items,
601609
enterprise_index,
602610
url,

pcweb/components/docpage/sidebar/sidebar_items/component_lib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
def get_component_link(category, clist, prefix="") -> str:
77
component_name = rx.utils.format.to_kebab_case(clist[0])
88
# construct the component link. The component name points to the name of the md file.
9-
return f"/docs/library/{prefix.strip('/')}/{category.lower().replace(' ', '-')}/{component_name.lower()}"
9+
return f"/docs/library/{prefix.strip('/') + '/' if prefix.strip('/') else ''}{category.lower().replace(' ', '-')}/{component_name.lower()}"
1010

1111

1212
def get_category_children(category, category_list, prefix=""):
@@ -22,7 +22,7 @@ def get_category_children(category, category_list, prefix=""):
2222
category_item_children.append(
2323
SideBarItem(
2424
names="Overview",
25-
link=f"/docs/library/{prefix}{category.lower().replace(' ', '-')}/",
25+
link=f"/docs/library/{prefix if prefix else ''}{category.lower().replace(' ', '-')}/",
2626
)
2727
)
2828
for c in category_list:

pcweb/components/docpage/sidebar/sidebar_items/enterprise.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,6 @@ def get_sidebar_items_enterprise_components():
6565
names="Value Transformers",
6666
link="/docs/enterprise/ag_grid/value-transformers/",
6767
),
68-
SideBarItem(
69-
names="Undocumented Features",
70-
link="/docs/enterprise/ag_grid/undocumented-features-guideline/",
71-
),
7268
],
7369
),
7470
SideBarItem(

pcweb/constants.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,3 +100,5 @@
100100

101101
# Posthog
102102
POSTHOG_API_KEY = os.getenv("POSTHOG_API_KEY")
103+
104+
SLACK_DEMO_WEBHOOK_URL: str = os.environ.get("SLACK_DEMO_WEBHOOK_URL")

pcweb/pages/docs/library.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def generate_gallery(
2222
class_name="font-large text-slate-12",
2323
),
2424
get_icon("new_tab", class_name="text-slate-11 [&>svg]:size-4"),
25-
href=f"/docs/library/{prefix.strip('/')}/{category.lower()}",
25+
href=f"/docs/library/{prefix.strip('/') + '/' if prefix.strip('/') else ''}{category.lower()}",
2626
underline="none",
2727
class_name="px-4 py-2 bg-slate-1 hover:bg-slate-3 transition-bg flex flex-row justify-between items-center !text-slate-12",
2828
),

0 commit comments

Comments
 (0)