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:Page title shown in navigation and SEO
Page description for SEO and previews
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: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]
URL path where Studio admin interface is accessible
Git provider:
github, gitlab, or bitbucketRoot 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]
Full GitHub repository URL
Branch where content files are stored
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