Skip to content

Scheduling infrastructure for absolutely everyone.

chore: update docs links (#7782)

Richard Poelderl679965782ed6
diff --git a/packages/embeds/embed-core/README.md b/packages/embeds/embed-core/README.md
index 4ea01f3c3f4..b8631d9919a 100644
--- a/packages/embeds/embed-core/README.md
+++ b/packages/embeds/embed-core/README.md
@@ -124,7 +124,7 @@ Make `dist/embed.umd.js` servable on URL <http://cal.com/embed.js>
- Why do we NOT want to provide completely flexible CSS customization by adding whatever CSS user wants. ?
- Feature Documentation
- Inline mode doesn't cause any scroll in iframe by default. It looks like it is part of the website.
-- docs.cal.com
+- cal.com/docs
- A complete document on how to use embed
diff --git a/packages/features/ee/support/components/HelpMenuItem.tsx b/packages/features/ee/support/components/HelpMenuItem.tsx
index fbcf0aa9b2d..fed3af9ae72 100644
--- a/packages/features/ee/support/components/HelpMenuItem.tsx
+++ b/packages/features/ee/support/components/HelpMenuItem.tsx
@@ -47,7 +47,8 @@ export default function HelpMenuItem({ onHelpItemSelect }: HelpMenuItemProps) {
<div className="w-full py-5">
<p className="mb-1 px-5 text-gray-500">{t("resources").toUpperCase()}</p>
<a
- href="https://docs.cal.com/"
+ onClick={() => onHelpItemSelect()}
+ href="https://cal.com/docs/"
target="_blank"
className="flex w-full px-5 py-2 pr-4 text-sm font-medium text-gray-700 hover:bg-gray-100 hover:text-gray-900"
rel="noreferrer">
@@ -77,7 +78,7 @@ export default function HelpMenuItem({ onHelpItemSelect }: HelpMenuItemProps) {
</div>
</div>
- <hr className=" bg-gray-200" />
+ <hr className="bg-gray-200 " />
<div className="w-full p-5">
<p className="mb-1 text-gray-500">{t("feedback").toUpperCase()}</p>
<p className="flex w-full py-2 text-sm font-medium text-gray-700">{t("comments")}</p>
@@ -86,7 +87,7 @@ export default function HelpMenuItem({ onHelpItemSelect }: HelpMenuItemProps) {
name="comment"
rows={3}
onChange={(event) => setComment(event.target.value)}
- className="my-1 block w-full rounded-sm border-gray-300 py-2 pb-2 text-sm"
+ className="my-1 block w-full rounded-sm border-gray-300 py-2 pb-2 text-sm"
/>
<div className="my-3 flex justify-end">
@@ -201,7 +202,7 @@ export default function HelpMenuItem({ onHelpItemSelect }: HelpMenuItemProps) {
<div className="w-full bg-neutral-50 p-5 text-gray-500">
<p className="">{t("specific_issue")}</p>
<button
- className="font-medium underline hover:text-gray-700"
+ className="font-medium underline hover:text-gray-700"
onClick={() => {
setActive(true);
if (isFreshChatEnabled) {
@@ -216,8 +217,8 @@ export default function HelpMenuItem({ onHelpItemSelect }: HelpMenuItemProps) {
<span> {t("or").toLowerCase()} </span>
<a
onClick={() => onHelpItemSelect()}
- className="font-medium underline hover:text-gray-700"
- href="https://docs.cal.com/"
+ className="font-medium underline hover:text-gray-700"
+ href="https://cal.com/docs/"
target="_blank"
rel="noreferrer">
{t("browse_our_docs")}
diff --git a/packages/features/tips/Tips.tsx b/packages/features/tips/Tips.tsx
index f5fd10d0913..af9af191e3b 100644
--- a/packages/features/tips/Tips.tsx
+++ b/packages/features/tips/Tips.tsx
@@ -20,7 +20,7 @@ export const tips = [
mediaLink: "https://go.cal.com/teams-video",
title: "How to set up Teams",
description: "Learn how to use round-robin and collective events.",
- href: "https://docs.cal.com/deep-dives/event-types",
+ href: "https://cal.com/docs/enterprise-features/teams",
},
{
id: 3,
@@ -36,7 +36,7 @@ export const tips = [
mediaLink: "https://go.cal.com/confirmation-video",
title: "Requires Confirmation",
description: "Learn how to be in charge of your bookings",
- href: "https://docs.cal.com/deep-dives/event-types#opt-in-booking",
+ href: "https://cal.com/resources/feature/opt-in",
},
{
id: 5,
diff --git a/packages/lib/constants.ts b/packages/lib/constants.ts
index 9ee541a153e..0dedcb64c45 100644
--- a/packages/lib/constants.ts
+++ b/packages/lib/constants.ts
@@ -44,7 +44,7 @@ export const ROADMAP = "https://cal.com/roadmap";
export const DESKTOP_APP_LINK = "https://cal.com/download";
export const JOIN_SLACK = "https://cal.com/slack";
export const POWERED_BY_URL = `${WEBSITE_URL}/?utm_source=embed&utm_medium=powered-by-button`;
-export const DOCS_URL = "https://docs.cal.com";
+export const DOCS_URL = "https://cal.com/docs";
export const DEVELOPER_DOCS = "https://developer.cal.com";
export const SEO_IMG_DEFAULT = `${WEBSITE_URL}/og-image.png`;
// The Dynamic OG Image is passed through Next's Image API to further optimize it.