Browse Source

Repair broken links, and some files shouldn't exist

pull/472/head
风扇滑翔翼 10 months ago committed by yuhan6665
parent
commit
4cf6e9818e
  1. 4
      .prettierrc.json
  2. 3
      .vscode/settings.json
  3. 9
      docs/.vuepress/theme.ts

4
.prettierrc.json

@ -1,4 +0,0 @@
{
"singleQuote": true,
"semi": false
}

3
.vscode/settings.json vendored

@ -1,3 +0,0 @@
{
"editor.tabSize": 2
}

9
docs/.vuepress/theme.ts

@ -12,6 +12,10 @@ export default defaultTheme({
smoothScroll: true, smoothScroll: true,
repo: 'xtls/xray-core', repo: 'xtls/xray-core',
docsDir: 'docs', docsDir: 'docs',
docsRepo: 'xtls/Xray-docs-next',
docsBranch: 'main',
editLinks: true,
enableToggle: true,
locales: { locales: {
'/': { '/': {
navbar: navbarZh, navbar: navbarZh,
@ -58,11 +62,6 @@ export default defaultTheme({
toggleColorMode: 'toggle color mode', toggleColorMode: 'toggle color mode',
toggleSidebar: 'toggle side bar', toggleSidebar: 'toggle side bar',
}, },
docsRepo: 'xtls/Xray-docs-next',
docsBranch: 'main',
editLinks: true,
enableToggle: true,
smoothScroll: true,
// logo: '/logo.png', // logo: '/logo.png',
// sidebar: 'auto', // sidebar: 'auto',

Loading…
Cancel
Save