diff --git a/docs.json b/docs.json index edd11836e..2ce1b0762 100644 --- a/docs.json +++ b/docs.json @@ -141,10 +141,7 @@ { "group": "Model Context Protocol", "icon": "server", - "pages": [ - "advanced/mcp/quickstart", - "advanced/mcp/generate" - ] + "pages": ["advanced/mcp/quickstart", "advanced/mcp/generate"] }, { "group": "REST API", @@ -373,5 +370,8 @@ "koala": { "publicApiKey": "pk_76a6caa274e800f3ceff0b2bc6b9b9d82ab8" } + }, + "contextual": { + "options": ["copy", "view", "chatgpt", "claude"] } } diff --git a/images/page-context-menu.png b/images/page-context-menu.png new file mode 100644 index 000000000..edf37ada5 Binary files /dev/null and b/images/page-context-menu.png differ diff --git a/settings/global.mdx b/settings/global.mdx index eff6eb9cd..afafcacff 100644 --- a/settings/global.mdx +++ b/settings/global.mdx @@ -446,6 +446,24 @@ Every documentation site requires a `docs.json` file that contains the core conf + + + + The options to be displayed in the contextual menu. The first option is the default option. + - `copy`: Copy the current page as markdown to the clipboard + - `view`: View the current page as markdown in a new tab + - `chatgpt`: Feed the current page to ChatGPT + - `claude`: Feed the current page to Claude + + Contextual Menu + + + The contextual menu is only available on preview & production deployments. + + + + + ### API Configurations