123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- import { createRequire } from 'module'
- import { defineConfig } from 'vitepress'
- const require = createRequire(import.meta.url)
- const pkg = require('chinese-days/package.json')
- export const en = defineConfig({
- description: "A VitePress Site",
- themeConfig: {
- // https://vitepress.dev/reference/default-theme-config
- nav: [
- { text: 'Guide', link: '/en/getting-started' },
- { text: 'Calendar', link: '/en/calendar' },
- {
- text: pkg.version,
- items: [
- {
- text: 'Changelog',
- link: 'https://github.com/vsme/chinese-days/blob/main/CHANGELOG.md'
- },
- {
- text: 'Contributing',
- link: 'https://github.com/vsme/chinese-days?tab=readme-ov-file#%E8%B4%A1%E7%8C%AE%E4%BB%A3%E7%A0%81'
- }
- ]
- },
- ],
- sidebar: [
- {
- text: 'Examples',
- items: [
- { text: 'Markdown Examples', link: '/markdown-examples' },
- { text: 'Runtime API Examples', link: '/api-examples' }
- ]
- }
- ],
- socialLinks: [
- { icon: 'github', link: 'https://github.com/vsme/chinese-days' }
- ],
- footer: {
- message: 'Released under the MIT License.',
- copyright: 'Copyright © 2024-present Yawei Sun'
- },
- }
- })
|