Site Settings
The documentation theme can be customized through various site settings. These settings control different aspects of the theme’s functionality and appearance.
Configuration Options
copyLinkButtons
- Type:
boolean
- Default:
true
Controls the visibility of “copy link” buttons next to headings on documentation pages. When enabled, users can easily copy direct links to specific sections of your documentation.
useViewTransitions
- Type:
boolean
- Default:
false
Controls whether to enable Astro’s View Transitions API for page transitions. When using Tailwind v4 in development mode, enabling this option may cause visual stuttering. This does not seem to be an issue in production builds.
Example Configuration
export const siteSettings: DocsSiteSettingsProps = { useViewTransitions: false, // Disable view transitions copyLinkButtons: true, // Show copy link buttons on docs headings};