mirror of
https://github.com/pengzhanbo/vuepress-theme-plume.git
synced 2026-04-23 10:58:13 +08:00
71 lines
1.5 KiB
TypeScript
71 lines
1.5 KiB
TypeScript
import type { ThemeCollectionItem } from 'vuepress-theme-plume'
|
|
import { defineCollection } from 'vuepress-theme-plume'
|
|
|
|
export const themeGuide: ThemeCollectionItem = defineCollection({
|
|
type: 'doc',
|
|
dir: 'guide',
|
|
title: 'Guide',
|
|
linkPrefix: '/guide/',
|
|
sidebar: [
|
|
{
|
|
text: 'Quick Start',
|
|
collapsed: false,
|
|
icon: 'carbon:idea',
|
|
prefix: 'quick-start',
|
|
items: [
|
|
'intro',
|
|
'usage',
|
|
'project-structure',
|
|
'write',
|
|
'blog',
|
|
'document',
|
|
'international',
|
|
'deployment',
|
|
'optimize-build',
|
|
],
|
|
},
|
|
{
|
|
text: 'Write',
|
|
icon: 'fluent-mdl2:edit-create',
|
|
collapsed: false,
|
|
items: [
|
|
{
|
|
text: 'markdown',
|
|
icon: 'material-symbols:markdown-outline',
|
|
prefix: 'markdown',
|
|
collapsed: true,
|
|
items: [
|
|
'basic',
|
|
'extensions',
|
|
'icons',
|
|
'mark',
|
|
'plot',
|
|
'abbr',
|
|
'annotation',
|
|
'card',
|
|
'steps',
|
|
'file-tree',
|
|
'tabs',
|
|
'timeline',
|
|
'demo-wrapper',
|
|
'collapse',
|
|
'npm-to',
|
|
'caniuse',
|
|
'include',
|
|
],
|
|
},
|
|
],
|
|
},
|
|
{
|
|
text: 'Customization',
|
|
icon: 'material-symbols:dashboard-customize-outline-rounded',
|
|
collapsed: false,
|
|
prefix: 'custom',
|
|
items: [
|
|
'home',
|
|
'style',
|
|
],
|
|
},
|
|
],
|
|
})
|