Content Structure
Docs content lives in thecontent/ directory. Docus uses Nuxt Content’s collection system to organize pages.
The content structure automatically adapts based on whether i18n is enabled in your Nuxt config.
Writing with Markdown
Create new pages by adding.md or .mdx files in your content directory:
[content/docs/my-page.md]
Frontmatter
Every page should include frontmatter with metadata:string
required
Page title shown in navigation and SEO
string
Page description for SEO and previews
array
Custom links displayed in the page header
Link Object Schema
Link Object Schema
MDC Syntax
Docus uses MDC (Markdown Components) powered by Nuxt Content, allowing you to use Vue components directly in Markdown:1
Enable MDC
MDC is enabled by default through the Nuxt Content configuration:
[nuxt.config.ts]
2
Use Components
Reference any component from your
components/ directory or Nuxt UI:3
Add Props
Pass props using the curly brace syntax:
Editing with Nuxt Studio
Nuxt Studio provides a visual editor for your Docus documentation with live preview and collaborative features.Setup Studio
Configure Nuxt Studio in yournuxt.config.ts:
[nuxt.config.ts]
string
default:"/admin"
URL path where Studio admin interface is accessible
string
required
Git provider:
github, gitlab, or bitbucketstring
Root directory containing your content files
Studio Features
Visual Editor
Edit Markdown with a rich WYSIWYG interface
Live Preview
See changes instantly with hot reload
Schema Validation
Validate frontmatter using Nuxt Schema
Media Library
Upload and manage images and assets
GitHub Integration
Enable “Edit this page” links by configuring GitHub settings:[app.config.ts]
string
Full GitHub repository URL
string
default:"main"
Branch where content files are stored
string
Root directory path within the repository
The GitHub configuration is automatically inferred from your Git repository if not explicitly set.
AI-Powered Editing
Docus includes an AI assistant to help with documentation:[app.config.ts]
- Explain with AI
- Floating Input
- Smart Search
Click the “Explain with AI” button to get contextual explanations of documentation sections.
Content Collections
Docus automatically configures content collections based on your setup:[content.config.ts]
Next Steps
Markdown Syntax
Learn advanced Markdown features
Components
Use built-in components in your docs