Configure Page Actions
Starlight Page Actions allows you to customize which actions appear on your documentation pages, including built-in integrations with AI tools and custom actions.
Default actions
Section titled “Default actions”By default, the plugin displays three actions: “Open in ChatGPT”, “Open in Claude”, and “View in Markdown”.
The plugin includes five built-in actions that you can enable or disable using the actions property:
chatgpt- Opens the current page in ChatGPTclaude- Opens the current page in Claudet3chat- Opens the current page in T3 Chat (disabled by default)v0- Opens the current page in v0 (disabled by default)markdown- View the page content in Markdown format
You can enable or disable any of these actions by setting them to true or false:
starlightPageActions({ actions: { chatgpt: false, // Disable ChatGPT action claude: true, // Enable Claude action t3chat: true, // Enable T3 Chat action v0: true, // Enable v0 action markdown: false, // Disable Markdown action },});Custom actions
Section titled “Custom actions”You can add your own custom actions to integrate with additional tools or services. Custom actions are defined using the custom property with a unique key for each action.
starlightPageActions({ actions: { custom: { sciraAi: { label: "Open in Scira AI", href: "https://scira.ai/?q=", }, }, },});Combining default and custom actions
Section titled “Combining default and custom actions”You can mix default actions with custom actions. Custom actions will appear after the default actions:
starlightPageActions({ actions: { chatgpt: false, v0: true, custom: { sciraAi: { label: "Open in Scira AI", href: "https://scira.ai/?q=", }, }, },});