app.config.ts file is used to configure your Docus site appearance, behavior, and integrations. All options are reactive and can be updated at runtime.
Configuration Schema
Docus uses a structured configuration schema defined innuxt.schema.ts. Below are all available configuration options.
UI Customization
Colors
Customize the color scheme of your documentation site.Primary color of your UI. Choose from Tailwind CSS color names.Options:
red, orange, amber, yellow, lime, green, emerald, teal, cyan, sky, blue, indigo, violet, purple, fuchsia, pink, roseNeutral color of your UI for backgrounds and borders.Options:
slate, gray, zinc, neutral, stoneIcons
Customize icons used throughout the documentation interface.Icon to display in the search bar.
Icon for the dark mode color mode button.
Icon for the light mode color mode button.
Icon displayed next to external links.
Icon used for chevrons in navigation and dropdowns.
Icon displayed next to heading anchors.
SEO Configuration
Default title for SEO meta tags. Used as fallback when page-specific title is not provided.
Default description for SEO meta tags. Used as fallback when page-specific description is not provided.
Header Configuration
Basic Header
Title displayed in the header. Falls back to site name if logo is not provided.
Logo Configuration
Path to logo image for light mode.
Path to logo image for dark mode.
Alt text for the logo image (accessibility).
Additional CSS classes to apply to the logo image.
Which logo variant to show in the header.Options:
logo- Display the icon logowordmark- Display the full wordmark
Wordmark Configuration
Path to wordmark (text logo) image for light mode.
Path to wordmark (text logo) image for dark mode.
Brand Assets
Path to the favicon file for brand asset downloads.
Link to the full brand assets page. Shown in the logo context menu for easy access to brand resources.
Social Links
Social network links displayed in the footer or header. Add any social platform as a key-value pair.Common platforms:
twitter, x, github, discord, linkedin, youtubeTable of Contents
Main TOC
Title of the table of contents sidebar.
Bottom Links
Title of the bottom section in the table of contents.
Links to display in the bottom section of the TOC. Each link should have
icon, label, to, and optionally target properties.GitHub Integration
GitHub repository URL. Enables “Edit this page” links and GitHub icon in header.
GitHub branch name for edit links.
Root directory of documentation content in the repository. Used to construct correct edit URLs.
AI Assistant
Configure the AI-powered documentation assistant.Display Options
Show the floating AI input at the bottom of documentation pages.
Show the “Explain with AI” button in the documentation sidebar.
FAQ Questions
List of FAQ questions for the AI assistant. Can be an array of strings or an array of category objects with questions.Supports internationalization by using an object with locale keys.
Keyboard Shortcuts
Keyboard shortcut to focus the floating AI input.Format:
meta_i, ctrl_k, etc.Assistant Icons
Icon for the AI chat trigger button and slideover header.
Icon for the “Explain with AI” button.