From a63394ddb21f521316feb1557d877fde41b749a4 Mon Sep 17 00:00:00 2001 From: Des <10514807+dizzydes@users.noreply.github.com> Date: Thu, 25 Jun 2026 19:01:26 +0200 Subject: [PATCH] Revert "Add Deploy with Railway button to docs sidebar (#1216)" This reverts commit c365dbfeb4dc1a40080fb68bd8d64532e27537fd. --- src/components/page-actions.tsx | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/components/page-actions.tsx b/src/components/page-actions.tsx index 4ae1e4887..af5cd2392 100644 --- a/src/components/page-actions.tsx +++ b/src/components/page-actions.tsx @@ -3,7 +3,6 @@ import { useCopyableCode } from "@/contexts/copyable-code-context"; import { reconstructMarkdownWithFrontmatter } from "@/utils/markdown"; import { cn } from "@/lib/cn"; import * as React from "react"; -import posthog from "posthog-js"; import { Icon } from "./icon"; import type { FrontMatter } from "@/types"; @@ -119,22 +118,6 @@ export function PageActions({ /> - - {/* Deploy with Railway */} - { - posthog.capture("docs_deploy_button_clicked", { - page: slug, - }); - }} - className="inline-flex items-center justify-center gap-1.5 h-9 px-2.5 mt-4 rounded-lg text-sm font-medium text-white bg-primary-solid hover:bg-primary-solid-hover active:bg-primary-solid-active transition-colors focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-solid focus-visible:ring-offset-2 focus-visible:ring-offset-muted-app" - > - Deploy with Railway - - ); }