docs: fix edit link
This commit is contained in:
1 parent
6b18be7bba
commit
9500e90aa7
1 file changed
+1
-1
@@ -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 },
|
||||||
|
|||||||
Reference in new issue
Block a user