From 4cf6e9818e852ce743ad7367b8a5f8699e7a1021 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A3=8E=E6=89=87=E6=BB=91=E7=BF=94=E7=BF=BC?= Date: Thu, 1 Feb 2024 15:44:46 +0800 Subject: [PATCH] Repair broken links, and some files shouldn't exist --- .prettierrc.json | 4 ---- .vscode/settings.json | 3 --- docs/.vuepress/theme.ts | 9 ++++----- 3 files changed, 4 insertions(+), 12 deletions(-) delete mode 100755 .prettierrc.json delete mode 100755 .vscode/settings.json diff --git a/.prettierrc.json b/.prettierrc.json deleted file mode 100755 index fd496a820..000000000 --- a/.prettierrc.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "singleQuote": true, - "semi": false -} diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100755 index 78664b273..000000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "editor.tabSize": 2 -} diff --git a/docs/.vuepress/theme.ts b/docs/.vuepress/theme.ts index f80edf8c3..33eddd28b 100755 --- a/docs/.vuepress/theme.ts +++ b/docs/.vuepress/theme.ts @@ -12,6 +12,10 @@ export default defaultTheme({ smoothScroll: true, repo: 'xtls/xray-core', docsDir: 'docs', + docsRepo: 'xtls/Xray-docs-next', + docsBranch: 'main', + editLinks: true, + enableToggle: true, locales: { '/': { navbar: navbarZh, @@ -58,11 +62,6 @@ export default defaultTheme({ toggleColorMode: 'toggle color mode', toggleSidebar: 'toggle side bar', }, - docsRepo: 'xtls/Xray-docs-next', - docsBranch: 'main', - editLinks: true, - enableToggle: true, - smoothScroll: true, // logo: '/logo.png', // sidebar: 'auto',