conlang.phundrak.com/docs/.vuepress/config.ts

66 lines
1.6 KiB
TypeScript
Raw Normal View History

import { defaultTheme } from '@vuepress/theme-default';
import { defineUserConfig } from 'vuepress';
import { viteBundler } from '@vuepress/bundler-vite';
import { searchProPlugin } from 'vuepress-plugin-search-pro';
2023-04-07 12:02:11 +00:00
import head from './head';
2023-02-26 18:20:43 +00:00
export default defineUserConfig({
2023-04-07 12:02:11 +00:00
lang: 'en-US',
2023-02-26 18:20:43 +00:00
title: "Phundrak's Conlangs",
head: head,
2023-04-07 12:02:11 +00:00
description: 'Documentation of the constructed languages made by Phundrak',
2023-02-26 18:20:43 +00:00
markdown: {
html: false,
linkify: true,
typographer: true,
headers: {
level: [1, 2, 3, 4, 5],
},
},
plugins: [
searchProPlugin({
indexContent: true,
}),
],
bundler: viteBundler({}),
2023-02-26 18:20:43 +00:00
theme: defaultTheme({
sidebarDepth: 5,
2023-04-07 12:02:11 +00:00
repo: 'https://labs.phundrak.com/phundrak/conlang.phundrak.com',
2023-02-26 18:20:43 +00:00
sidebar: [
{
2023-04-07 12:02:11 +00:00
text: 'Index',
link: '/',
2023-02-26 18:20:43 +00:00
},
2023-04-07 12:08:58 +00:00
'/about',
2023-02-26 18:20:43 +00:00
{
2023-04-07 12:02:11 +00:00
text: 'Eittlandic',
link: '/eittlandic/',
2023-02-26 18:20:43 +00:00
collapsible: true,
children: [
'/eittlandic/country',
'/eittlandic/typology',
'/eittlandic/phonology',
'/eittlandic/grammar',
'/eittlandic/names-and-places',
'/eittlandic/dictionary',
2023-02-26 18:20:43 +00:00
],
},
{
2023-04-07 12:02:11 +00:00
text: 'Proto-Ñyqy',
link: '/proto-nyqy/',
2023-02-26 18:20:43 +00:00
collapsible: true,
children: [
'/proto-nyqy/introduction',
'/proto-nyqy/culture-and-people',
'/proto-nyqy/typology',
'/proto-nyqy/phonology',
'/proto-nyqy/syntax',
'/proto-nyqy/dictionary',
2023-02-26 18:20:43 +00:00
],
},
'/zikãti',
2023-02-26 18:20:43 +00:00
],
}),
});