Docus is the offical Nuxt documentation theme.
Docus offers all the features needed to build a modern looking documentation without efforts.
It is the predecessor of @nuxt/content-theme-docs
that used to power the Nuxt 2 modules documentations!
docs
, page
and fluid
configurable layouts@docus/github
integrationnpx nuxi init my-docus-project -t docuscd my-docus-projectyarn
yarn add --dev @nuxt-themes/docus
export default defineNuxtConfig({ extends: ['@nuxt-themes/docus']})
import { defineTheme } from '@nuxt-themes/config'export default defineTheme({ title: 'My Documentation Project', description: 'This documentation is about my awesome package.', url: 'https://myawesomepackage.dev', socials: { twitter: '@nuxt_js', github: 'nuxt-themes/config' }})
cd my-docus-projectyarn dev✨ Your Docus project is ready!
As any Nuxt 3 project, Docus supports both Node, Edge and Static deployments.
Build a Node server:
nuxi build
Build a static website:
nuxi generate