From 80e2db76e2ccfb9474cd8a11964fc6c88ecd0264 Mon Sep 17 00:00:00 2001 From: fern-support Date: Sat, 6 Dec 2025 02:33:45 +0000 Subject: [PATCH] docs: improve page actions configuration with clear disable example - Add dedicated 'Disable all page actions' section with copy-paste snippet - Add 'Customize page actions' section with coherent example - Fix misleading example that set default to an action that was disabled - Include view-as-markdown in examples (was missing from original) Co-Authored-By: Fern Support --- .../customization/site-level-settings.mdx | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/fern/products/docs/pages/customization/site-level-settings.mdx b/fern/products/docs/pages/customization/site-level-settings.mdx index 0a4d854dc..1853f824a 100644 --- a/fern/products/docs/pages/customization/site-level-settings.mdx +++ b/fern/products/docs/pages/customization/site-level-settings.mdx @@ -657,15 +657,34 @@ settings: Configure the page action buttons that appear throughout your documentation. By default, **Copy Page** (`copy-page`), **View as Markdown** (`view-as-markdown`), and **Ask AI** (`ask-ai`) are enabled. +### Disable all page actions + +To remove all page actions from your documentation, set each default-enabled option to `false`: + +```yaml docs.yml +page-actions: + options: + copy-page: false + view-as-markdown: false + ask-ai: false +``` + +### Customize page actions + +To customize which page actions appear and set a default, use the `default` and `options` properties together: + ```yaml docs.yml page-actions: - default: copy-page + default: cursor options: copy-page: false + view-as-markdown: false ask-ai: false cursor: true ``` +This example hides the default actions and shows only an "Open in Cursor" button. + The default page action to display. Options: `copy-page`, `view-as-markdown`, `ask-ai`, `chatgpt`, `claude`, `cursor`, `vscode`.