Skip to content

Commit 908809a

Browse files
authored
add enterprise docs url (#1409)
1 parent 532edec commit 908809a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

pcweb/components/docpage/sidebar/sidebar.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from .sidebar_items.recipes import recipes
1616
from .sidebar_items.reference import api_reference
1717
from .state import SidebarState, SideBarItem, SideBarBase
18-
18+
from pcweb.constants import ENTERPRISE_DOCS_URL
1919

2020
def sidebar_link(*children, **props):
2121
"""Create a sidebar link that closes the sidebar when clicked."""
@@ -573,7 +573,8 @@ def sidebar_comp(
573573
class_name="flex flex-col gap-2 border-slate-5 bg-slate-1 hover:bg-slate-3 shadow-large px-3.5 py-2 border rounded-xl transition-bg",
574574
),
575575
underline="none",
576-
href="#",
576+
href=ENTERPRISE_DOCS_URL,
577+
is_external=True,
577578
),
578579
class_name="flex flex-col items-start gap-6 p-[0px_1rem_0px_0.5rem] w-full list-none list-style-none",
579580
),

pcweb/constants.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
NPMJS_URL = "https://www.npmjs.com/"
4242
SPLINE_URL = "https://github.com/splinetool/react-spline"
4343
REFLEX_CLOUD_URL = "https://cloud.reflex.dev"
44+
ENTERPRISE_DOCS_URL = "https://enterprise.reflex.dev"
4445

4546
# Install urls.
4647
BUN_URL = "https://bun.sh"

0 commit comments

Comments
 (0)