You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Docs sites with Ask AI enabled display a "Connect to Claude Code" button alongside existing page actions. Clicking it copies a `claude mcp add` command to the clipboard so users can register the docs site's MCP server with Claude Code.
8
+
9
+
The action is enabled by default and can be toggled off with `page-actions.options.claude-code: false` in `docs.yml`.
10
+
11
+
<Buttonintent="none"outlinedrightIcon="arrow-right"href="/learn/docs/configuration/site-level-settings#page-actions-configuration">Read the docs</Button>
Controls the conditional rendering of page action buttons (Copy Page, View as Markdown, Ask AI). Set to true to turn off page actions for an individual page.
288
+
Controls the conditional rendering of page action buttons (Copy Page, View as Markdown, Ask AI, ChatGPT, Claude, Claude Code, Cursor). Set to true to turn off page actions for an individual page.
289
289
290
290
Alternatively, configure page actions [for your entire site](/learn/docs/configuration/site-level-settings#page-actions-configuration) in your `docs.yml` file.
Copy file name to clipboardExpand all lines: fern/products/docs/pages/navigation/site-level-settings.mdx
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -782,7 +782,7 @@ settings:
782
782
783
783
## Page actions configuration
784
784
785
-
Configure the page action buttons that appear throughout your documentation. By default, **Copy Page** (`copy-page`), **View as Markdown** (`view-as-markdown`), **Ask AI** (`ask-ai`), **ChatGPT** (`chatgpt`), **Claude** (`claude`), and **Cursor** (`cursor`) are enabled.
785
+
Configure the page action buttons that appear throughout your documentation. By default, **Copy Page** (`copy-page`), **View as Markdown** (`view-as-markdown`), **Ask AI** (`ask-ai`), **ChatGPT** (`chatgpt`), **Claude** (`claude`), **Claude Code** (`claude-code`), and **Cursor** (`cursor`) are enabled.
786
786
787
787
To hide page actions on an individual page, use the [`hide-page-actions` frontmatter property](/learn/docs/configuration/page-level-settings#page-actions).
Controls the "Connect to Claude Code" button, which copies a `claude mcp add` command to the clipboard so users can register the docs site's MCP server with Claude Code. Requires [Ask AI](/learn/docs/ai-features/ask-fern/overview) to be enabled. Set to `false` to hide it.
When enabled, displays an "Open in Cursor" button that allows users to open the page content in Cursor IDE with AI-powered code assistance. Requires [Ask AI](/learn/docs/ai-features/ask-fern/overview) to be enabled.
827
+
Controls the "Connect to Cursor" button, which installs the docs site's MCP server in Cursor via a deeplink. Requires [Ask AI](/learn/docs/ai-features/ask-fern/overview) to be enabled. Set to `false` to hide it.
0 commit comments