2022-03-16 22:15:52 +00:00
|
|
|
import { defineConfig } from 'vitepress';
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
title: 'Schlechtenburg',
|
|
|
|
description: 'Experimental WYSIWYG block editor',
|
|
|
|
|
|
|
|
themeConfig: {
|
|
|
|
nav: [
|
|
|
|
{
|
|
|
|
text: 'Guide',
|
|
|
|
activeMatch: '^/guide/',
|
|
|
|
link: '/guide/introduction'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
text: 'API',
|
|
|
|
activeMatch: `^/api/`,
|
|
|
|
items: [
|
2022-03-21 00:53:25 +00:00
|
|
|
{ text: '@schlechtenburg/standalone', link: '/api/@schlechtenburg/standalone' },
|
2022-03-16 22:15:52 +00:00
|
|
|
{ text: '@schlechtenburg/core', link: '/api/@schlechtenburg/core' },
|
2022-03-21 00:53:25 +00:00
|
|
|
{ text: '@schlechtenburg/layout', link: '/api/@schlechtenburg/layout' },
|
|
|
|
{ text: '@schlechtenburg/heading', link: '/api/@schlechtenburg/heading' },
|
|
|
|
{ text: '@schlechtenburg/paragraph', link: '/api/@schlechtenburg/paragraph' },
|
|
|
|
{ text: '@schlechtenburg/image', link: '/api/@schlechtenburg/image' },
|
2022-03-16 22:15:52 +00:00
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
sidebar: {
|
|
|
|
'/guide/': [
|
|
|
|
{
|
|
|
|
text: 'Getting Started',
|
|
|
|
children: [
|
2022-03-17 17:59:51 +00:00
|
|
|
{ text: 'Why Schlechtenburg?', link: '/guide/why' },
|
2022-03-20 13:49:44 +00:00
|
|
|
{ text: 'Examples', link: '/guide/examples' },
|
2022-03-17 17:59:51 +00:00
|
|
|
{ text: 'Installation', link: '/guide/installation' },
|
2022-03-16 22:15:52 +00:00
|
|
|
],
|
|
|
|
}
|
|
|
|
],
|
|
|
|
'/api/': [
|
|
|
|
{
|
|
|
|
text: 'API',
|
|
|
|
children: [
|
2022-03-21 00:53:25 +00:00
|
|
|
{ text: '@schlechtenburg/standalone', link: '/api/@schlechtenburg/standalone' },
|
|
|
|
{ text: '@schlechtenburg/core', link: '/api/@schlechtenburg/core' },
|
|
|
|
{ text: '@schlechtenburg/layout', link: '/api/@schlechtenburg/layout' },
|
|
|
|
{ text: '@schlechtenburg/heading', link: '/api/@schlechtenburg/heading' },
|
|
|
|
{ text: '@schlechtenburg/paragraph', link: '/api/@schlechtenburg/paragraph' },
|
|
|
|
{ text: '@schlechtenburg/image', link: '/api/@schlechtenburg/image' },
|
2022-03-16 22:15:52 +00:00
|
|
|
],
|
|
|
|
}
|
|
|
|
],
|
2022-03-17 17:59:51 +00:00
|
|
|
'/': false,
|
2022-03-16 22:15:52 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
});
|