Skip to content

Commit

Permalink
docs: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Jun 5, 2024
1 parent 9a2a53c commit 48745ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 0 additions & 3 deletions docs/src/.vuepress/config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { viteBundler } from '@vuepress/bundler-vite';
import { redirectPlugin } from '@vuepress/plugin-redirect';
import { defineUserConfig } from 'vuepress';
import { path } from 'vuepress/utils';

Expand Down Expand Up @@ -29,8 +28,6 @@ export default defineUserConfig({

theme,

plugins: [redirectPlugin()],

alias: {
'@MigrationTool': path.resolve(__dirname, './components/MigrationTool.vue'),
'@theme-hope/components/HomePage': path.resolve(
Expand Down
4 changes: 4 additions & 0 deletions docs/src/.vuepress/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ export default hopeTheme(
sup: true,
tasklist: true,
},

redirect: {
switchLocale: 'modal',
},
},
},
{ custom: true },
Expand Down

0 comments on commit 48745ce

Please sign in to comment.