Skip to main content
Docus provides a comprehensive configuration system through app.config.ts and type-safe schema definitions via nuxt.schema.ts.

App Configuration

The app.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:
string
default:""
Title displayed in the header

Logo Configuration

string
Logo image for light mode (media path)
string
Logo image for dark mode (media path)
string
default:""
Alt text for accessibility
object
Wordmark (text logo) configuration for brand assets
string
default:"logo"
Which logo variant to show: "logo" for icon or "wordmark" for full wordmark
string
default:"/favicon.ico"
Path to favicon file for brand asset downloads
string
Link to full brand assets page (shown in logo context menu)
string
Additional CSS classes to apply to the logo image

SEO Configuration

Configure SEO settings for your documentation:
[app.config.ts]
string
default:""
Default site title
string
default:""
Default site description for meta tags
string
Template for page titles. Use %s as placeholder for page title
SEO configuration is automatically inferred from your package.json if not explicitly set.
Add social media links to your header:
[app.config.ts]
object
default:"{}"
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]
string
default:""
GitHub repository URL
string
default:"main"
Git branch containing documentation
string
default:""
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]
string
default:"On this page"
Title of the table of contents
string
default:"Community"
Title of the bottom section
Links to display in the bottom section

AI Assistant Configuration

Configure the AI-powered documentation assistant:
[app.config.ts]
boolean
default:"true"
Show floating input at bottom of documentation pages
boolean
default:"true"
Show “Explain with AI” button in documentation sidebar
array
default:"[]"
List of FAQ questions. Can be an array of strings or an array of categories with questions:
string
default:"meta_i"
Keyboard shortcut to focus input (e.g., meta_i, ctrl_k)
string
default:"i-lucide-sparkles"
Icon for AI chat trigger button and slideover header
string
default:"i-lucide-brain"
Icon for “Explain with AI” button

Nuxt Configuration

Extend Docus with Nuxt configuration:
[nuxt.config.ts]
1

Extend Docus

Use extends: ['docus'] to inherit all Docus features
2

Add Modules

Include additional Nuxt modules like @nuxtjs/i18n or nuxt-studio
3

Configure Content

Customize Nuxt Content behavior including syntax highlighting and plugins

Environment Variables

Docus respects the following environment variables:
string
API key for AI Gateway to enable the assistant feature
string
Public site URL for absolute links and SEO

Type Safety

Docus provides full TypeScript support with schema validation:
[nuxt.schema.ts]
The schema is primarily used by Nuxt Studio for visual configuration. Most users will configure settings directly in app.config.ts.

Next Steps

Theming

Customize colors and design tokens

Customization

Extend and override components