diff --git a/fern/products/docs/pages/customization/frontmatter.mdx b/fern/products/docs/pages/customization/frontmatter.mdx index 621d6b4bf..c88293692 100644 --- a/fern/products/docs/pages/customization/frontmatter.mdx +++ b/fern/products/docs/pages/customization/frontmatter.mdx @@ -4,7 +4,7 @@ subtitle: Set titles, add meta descriptions, and more description: Use frontmatter to set a variety of page properties and metadata. --- -You can optionally use frontmatter to set each page's title, full slug override, meta description, a URL to suggest edits to the page, and its OpenGraph image. You can also use frontmatter to disable certain page elements like the table of contents and on-page feedback. For advanced styling and functionality customizations beyond frontmatter options, see [custom CSS and JavaScript](/docs/customization/custom-css-js). +You can optionally use frontmatter to set each page's title, full slug override, meta description, a URL to suggest edits to the page, and its OpenGraph image. You can also use frontmatter to disable certain page elements like the table of contents, on-page feedback, and page actions. For advanced styling and functionality customizations beyond frontmatter options, see [custom CSS and JavaScript](/docs/customization/custom-css-js). Frontmatter must be added to the top of a `.md` or `.mdx` file, before the rest of the content. Use sets of three dashes to indicate the beginning and end of your frontmatter, as shown: @@ -235,6 +235,22 @@ hide-feedback: true Leave feedback feature +## Page actions + + 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. + + Alternatively, configure page actions [for your entire site](/learn/docs/configuration/site-level-settings#page-actions-configuration) in your `docs.yml` file. + + + +```mdx +--- +title: Overview +hide-page-actions: true +--- +``` + + ## Page logo Override the site-wide logo for a page. Specify different logos for light and dark modes using absolute URLs.