app.config.ts and type-safe schema definitions via nuxt.schema.ts.
App Configuration
Theapp.config.ts file is the primary configuration file for your Docus site:
[app.config.ts]
Header Configuration
Customize your site’s header including title, logo, and branding:Title displayed in the header
Logo Configuration
Logo image for light mode (media path)
Logo image for dark mode (media path)
Alt text for accessibility
Wordmark (text logo) configuration for brand assets
Wordmark Schema
Wordmark Schema
Which logo variant to show:
"logo" for icon or "wordmark" for full wordmarkPath to favicon file for brand asset downloads
Link to full brand assets page (shown in logo context menu)
Additional CSS classes to apply to the logo image
SEO Configuration
Configure SEO settings for your documentation:[app.config.ts]
Default site title
Default site description for meta tags
Template for page titles. Use
%s as placeholder for page titleSEO configuration is automatically inferred from your
package.json if not explicitly set.Social Links
Add social media links to your header:[app.config.ts]
Social network links configuration. Supports any key-value pairs where the key is the platform name and value is the URL.
GitHub Configuration
Configure GitHub integration for “Edit this page” functionality:[app.config.ts]
GitHub repository URL
Git branch containing documentation
Root directory within the repository
GitHub configuration is automatically detected from your Git repository metadata when not explicitly configured.
Table of Contents
Customize the table of contents sidebar:[app.config.ts]
Title of the table of contents
Title of the bottom section
Links to display in the bottom section
Link Schema
Link Schema
AI Assistant Configuration
Configure the AI-powered documentation assistant:[app.config.ts]
Show floating input at bottom of documentation pages
Show “Explain with AI” button in documentation sidebar
List of FAQ questions. Can be an array of strings or an array of categories with questions:
Keyboard shortcut to focus input (e.g.,
meta_i, ctrl_k)Icon for AI chat trigger button and slideover header
Icon for “Explain with AI” button
Nuxt Configuration
Extend Docus with Nuxt configuration:[nuxt.config.ts]
Environment Variables
Docus respects the following environment variables:API key for AI Gateway to enable the assistant feature
Public site URL for absolute links and SEO
Type Safety
Docus provides full TypeScript support with schema validation:[nuxt.schema.ts]
Next Steps
Theming
Customize colors and design tokens
Customization
Extend and override components