Documentation
Create and manage documentation with multi-language support and SEO'
Tools
- Nuxt Content: Render documentation content.
Setup
- Create a markdown file:
- Add a new Markdown file under content/docs for your default language.
- For other languages:
- Define a new collection in
content.config.tswith the appropriatesourcefor that locale. - Create a folder for the locale (e.g.,
content/es/docs) and add a Markdown file inside it.
- Define a new collection in
- Markdown Content:
content/docs/new-doc.md or content/docs/en/new-doc.md --- title: My New Documentation description: Step-by-step guide for this document. --- ## Introduction This is the content of your document. - View and Verify the Document:
- Go to
/docsto see the blog list with titles, descriptions, thumbnails, and categories. - Open your new document at
/docs/my-new-docto confirm it renders correctly.
- Go to
Folder Structure
content/ ├─ docs/ │ ├─ 1.get-started/ │ │ ├─ .navigation.yml │ │ └─ 1.index.md │ └─ 2.essentials/ │ ├─ .navigation.yml │ └─ 1.markdown-syntax.md └─ es/ └─ docs/ ├─ 1.get-started/ │ ├─ .navigation.yml │ └─ 1.index.md └─ 2.essentials/ ├─ .navigation.yml └─ 1.markdown-syntax.md