docs: fix edit link

This commit is contained in:
leejooy96 committed 2024-09-05 10:06:32 +09:00
1 parent 6b18be7bba
commit 9500e90aa7
1 file changed
+1 -1
+1 -1
View File
@@ -5,7 +5,7 @@ import { generateI18nLocale, generateI18nSearch } from 'vitepress-i18n'
const capitalizeFirst = (str: string): string => str.charAt(0).toUpperCase() + str.slice(1) const capitalizeFirst = (str: string): string => str.charAt(0).toUpperCase() + str.slice(1)
const defaultLocale: string = 'en' const defaultLocale: string = 'en'
const editLinkPattern = 'https://github.com/jooy2/vutron/edit/master/docs/:path' const editLinkPattern = 'https://github.com/jooy2/vutron/edit/master/docs/src/:path'
const defineSupportLocales = [ const defineSupportLocales = [
{ label: defaultLocale, translateLocale: defaultLocale }, { label: defaultLocale, translateLocale: defaultLocale },