1. Settings
  2. Menus

Navigation menus help readers move around the site. The Copy page menu offers actions on the current page. Configure them separately in layout.json.

Deployments sidebar group expanded with Deploy an application and Monitor a deployment

A nested sidebar group keeps related pages together.

Use nested groups for a collapsible section within a sidebar. Unlike a product dropdown, expanding a group does not switch the reader into another product area.

layout.json
{
  "navigation": [
    {
      "group": "Getting Started",
      "pages": [
        "quickstart",
        { "group": "Guides", "pages": ["guides/install", "guides/publish"] }
      ]
    }
  ]
}

See navigation for page paths, groups and anchors, or dropdowns for the section selector.

Copy page menu with Markdown, ChatGPT, Claude and PDF actions

The page menu offers the actions selected in contextMenu.options.

​
Page-actions menu

Use contextMenu.options to select actions for the Copy page menu:

layout.json
{
  "contextMenu": {
    "options": ["copy", "markdown", "chatgpt", "claude", "pdf"]
  }
}
OptionAction
copyCopy the current page as Markdown.
markdownView the Markdown version.
chatgptOpen the page with ChatGPT.
claudeOpen the page with Claude.
perplexityOpen the page with Perplexity.
cursorConnect the docs MCP server to Cursor.
vscodeConnect the docs MCP server to VS Code.
claudecodeCopy the Claude Code MCP setup command.
pdfPrepare the page for the browser’s print/save-as-PDF flow.

Omitting contextMenu.options keeps the standard actions, excluding PDF. An empty array hides the menu. Unsupported option names are ignored. The array selects actions; the renderer keeps its own action order.

Selecting an external AI or editor action opens another service. Review what you share there and verify any required client setup. Enabling a menu item does not grant access to private documentation.