升级:vitepress 1.0.0-beta.7 => 1.0.0-rc.4(已修复升级会导致的部分内容不兼容问题,且还原配色方案)

This commit is contained in:
2023-08-13 17:22:19 +08:00
parent d99fa66aae
commit c692334019
5 changed files with 86 additions and 24 deletions

View File

@@ -1,7 +1,8 @@
import type { DefaultTheme } from 'vitepress';
import { sync } from 'fast-glob';
import * as matter from 'gray-matter';
import fg from 'fast-glob';
import matter from 'gray-matter';
import { getChineseZodiac, getChineseZodiacAlias } from '../theme/utils.ts';
const sync = fg.sync;
export const sidebar: DefaultTheme.Config['sidebar'] = {
'/categories/issues/': getItemsByDate("categories/issues"),