Skip to content

Commit

Permalink
0
Browse files Browse the repository at this point in the history
  • Loading branch information
LYS86 committed Mar 16, 2023
1 parent 728d740 commit 58d8909
Show file tree
Hide file tree
Showing 4 changed files with 442 additions and 13 deletions.
15 changes: 12 additions & 3 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { defineUserConfig } from "vuepress";
import { defaultTheme } from "@vuepress/theme-default";
import { searchPlugin } from "@vuepress/plugin-search";

import { copyCodePlugin } from "vuepress-plugin-copy-code2";
export default defineUserConfig({
lang: "zh-CN",
//标题
Expand All @@ -21,7 +21,7 @@ export default defineUserConfig({
editLink: false,

//禁用更新时间
lastUpdated:false,
lastUpdated: false,

//禁用贡献者
contributors: false,
Expand Down Expand Up @@ -92,5 +92,14 @@ export default defineUserConfig({
//搜索插件
}),

plugins: [searchPlugin()],
plugins: [
searchPlugin(),
copyCodePlugin({
//移动端是否显示
showInMobile: true,
//纯净模式
pure: true,
// 插件选项
}),
],
});
4 changes: 2 additions & 2 deletions docs/.vuepress/styles/index.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
:root {
--c-text-lighter: #e96900;
code {
color: #e96900;
}
Loading

0 comments on commit 58d8909

Please sign in to comment.