diff --git a/apify-docs-theme/src/theme/LLMButtons/index.jsx b/apify-docs-theme/src/theme/LLMButtons/index.jsx index 4e0aa6439..0a989935b 100644 --- a/apify-docs-theme/src/theme/LLMButtons/index.jsx +++ b/apify-docs-theme/src/theme/LLMButtons/index.jsx @@ -2,7 +2,6 @@ import clsx from 'clsx'; import React, { useCallback, useState } from 'react'; import { - AnthropicIcon, ChatGptIcon, CheckIcon, ChevronDownIcon, @@ -38,13 +37,6 @@ const DROPDOWN_OPTIONS = [ Icon: ChatGptIcon, value: 'openInChatGPT', }, - { - label: 'Open in Claude', - description: 'Ask questions about this page', - showExternalIcon: true, - Icon: AnthropicIcon, - value: 'openInClaude', - }, { label: 'Open in Perplexity', description: 'Ask questions about this page', @@ -78,27 +70,6 @@ const onOpenInChatGPTClick = () => { } }; -const onOpenInClaudeClick = () => { - if (window.analytics) { - window.analytics.track('Clicked', { - app: 'docs', - button_text: 'Open in Claude', - element: 'llm-buttons.openInClaude', - }); - } - - const prompt = getPrompt(window.location.href); - - try { - window.open( - `https://claude.ai/new?q=${encodeURIComponent(prompt)}`, - '_blank', - ); - } catch (error) { - console.error('Error opening Claude:', error); - } -}; - const onOpenInPerplexityClick = () => { if (window.analytics) { window.analytics.track('Clicked', { @@ -256,9 +227,6 @@ export default function LLMButtons({ isApiReferencePage = false }) { case 'openInChatGPT': onOpenInChatGPTClick(); break; - case 'openInClaude': - onOpenInClaudeClick(); - break; case 'openInPerplexity': onOpenInPerplexityClick(); break; diff --git a/package-lock.json b/package-lock.json index bfa077e96..9a6bd62ae 100644 --- a/package-lock.json +++ b/package-lock.json @@ -63,7 +63,7 @@ }, "apify-docs-theme": { "name": "@apify/docs-theme", - "version": "1.0.210", + "version": "1.0.214", "license": "ISC", "dependencies": { "@apify/docs-search-modal": "^1.2.2",