antd-tiny-vue/.vitepress/config/rewrites.ts

10 lines
349 B
TypeScript
Raw Permalink Normal View History

2023-04-16 18:09:13 +08:00
export const getRewrites = (): Record<string, string> => {
return {
'site/index.md': 'index.md',
'site/index.zh-CN.md': 'zh-CN/index.md',
'site/components/index.md': 'components/index.md',
'site/components/index.zh-CN.md': 'zh-CN/components/index.md',
2023-04-16 18:34:47 +08:00
'components/:comp/index.zh-CN.md': 'zh-CN/components/:comp/index.md'
2023-04-16 18:09:13 +08:00
}
}