@modern-js/doc-tools-doc
Version:
Website for @modern-js/doc-tools
33 lines (28 loc) • 880 B
text/mdx
# Home Page
You can define the content of the Home page through frontmatter, see [FrontMatter Config](/api/config/config-frontmatter.html#hero) for detailed types. Here is a simple example:
```yaml
pageType: home
hero:
name: Modern.js Doc
text: A documentation solution
tagline: A modern documentation development technology stack
actions:
- theme: brand
text: Introduction
link: /en/guide/introduction
- theme: alt
text: Quick Start
link: /en/guide/getting-started
features:
- title: 'MDX Support'
details: MDX is a powerful way to write content. You can use React components in Markdown.
icon: 📦
- title: 'Feature Rich'
details: Out of box support for i18n, full-text search etc.
icon: 🎨
- title: 'Customizable'
details: You can customize the theme ui and the build process.
icon: 🚀
```