2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-06-19 09:50:33 +03:00
Files
vue-select/docs/.vitepress/config/themeConfig.ts
T
Jeff Sagal 223f3a6d85 Squashed commit of the following:
commit 8c3a1b107b
Author: Jeff Sagal <sagalbot@gmail.com>
Date:   Fri Jul 15 09:57:37 2022 -0700

    bump to vitepress 1.0.0-alpha.4

commit 96ff08406c
Author: Jeff Sagal <sagalbot@gmail.com>
Date:   Wed Feb 23 10:25:36 2022 -0800

    vitepress wip

    mostly working, feeling like vuepress should still be considered

commit f3e22e0439
Author: Jeff Sagal <sagalbot@gmail.com>
Date:   Sat Feb 19 17:18:30 2022 -0800

    remove yarn, rename readme

commit 8cd3bbeb51
Author: Jeff Sagal <sagalbot@gmail.com>
Date:   Sat Feb 19 17:17:22 2022 -0800

    install vitepress
2022-07-18 09:40:42 -07:00

76 lines
2.8 KiB
TypeScript

import { defineConfig } from 'vitepress'
export const themeConfig = defineConfig({
themeConfig: {
siteTitle: 'Vue Select',
// nav: [{link: '/', text: 'Home'}],
editLink: {
pattern:
'https://github.com/sagalbot/vue-select/edit/master/docs/:path',
},
sidebar: [
{
text: 'Community',
items: [
{ text: 'Sponsors 🎉', link: 'sponsors' },
{ text: 'Contributors', link: 'contributors' },
],
},
{
text: 'Getting Started',
items: [
{ link: 'guide/install', text: 'Installation' },
{ link: 'guide/options', text: 'Dropdown Options' },
{ link: 'guide/values', text: 'Selecting Values' },
{ link: 'guide/upgrading', text: 'Upgrading 2.x to 3.x' },
],
},
{
text: 'Templating & Styling',
items: [
{ link: 'guide/components', text: 'Child Components' },
{ link: 'guide/css', text: 'CSS & Selectors' },
{ link: 'guide/slots', text: 'Slots' },
],
},
{
text: 'Accessibility',
items: [
{ link: 'guide/accessibility', text: 'WAI-ARIA Spec' },
{ link: 'guide/localization', text: 'Localization' },
],
},
{
text: 'Use Cases',
items: [
{ link: 'guide/validation', text: 'Validation' },
{ link: 'guide/selectable', text: 'Limiting Selections' },
{ link: 'guide/pagination', text: 'Pagination' },
{ link: 'guide/infinite-scroll', text: 'Infinite Scroll' },
{ link: 'guide/vuex', text: 'Vuex' },
{ link: 'guide/ajax', text: 'AJAX' },
{ link: 'guide/loops', text: 'Using in Loops' },
],
},
{
text: 'Customizing',
items: [
{ link: 'guide/keydown', text: 'Keydown Events' },
{ link: 'guide/positioning', text: 'Dropdown Position' },
{ link: 'guide/opening', text: 'Dropdown Opening' },
{ link: 'guide/filtering', text: 'Option Filtering' },
],
},
{
text: 'API',
items: [
{ link: 'api/props', text: 'Props' },
{ link: 'api/slots', text: 'Slots' },
{ link: 'api/events', text: 'Events' },
],
},
],
},
})