1
0
mirror of https://github.com/Snailclimb/JavaGuide synced 2025-06-16 18:10:13 +08:00

[docs feat]允许网站复制

This commit is contained in:
Guide 2023-09-04 13:54:00 +08:00
parent 4f894993ea
commit 1742c14080
3 changed files with 10 additions and 3 deletions

View File

@ -51,7 +51,14 @@ export default hopeTheme({
plugins: {
blog: true,
copyright: true,
copyright: {
author: "JavaGuide(javaguide.cn)",
license: "MIT",
triggerLength: 100,
maxLength: 700,
canonical: "https://javaguide.cn/",
global:true
},
mdEnhance: {
align: true,
codetabs: true,

View File

@ -22,6 +22,7 @@
"packageManager": "pnpm@8.6.0",
"dependencies": {
"@vuepress/client": "2.0.0-beta.67",
"@vuepress/plugin-search": "2.0.0-beta.67",
"@vuepress/utils": "2.0.0-beta.67",
"husky": "8.0.3",
"markdownlint-cli": "0.34.0",
@ -30,7 +31,6 @@
"prettier": "2.8.8",
"vue": "3.3.4",
"vuepress": "2.0.0-beta.67",
"@vuepress/plugin-search": "2.0.0-beta.67",
"vuepress-theme-hope": "2.0.0-beta.236"
}
}

2
pnpm-lock.yaml generated
View File

@ -2270,7 +2270,7 @@ packages:
engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0}
dependencies:
'@gar/promisify': registry.npmmirror.com/@gar/promisify@1.1.3
semver: registry.npmmirror.com/semver@7.5.1
semver: registry.npmmirror.com/semver@7.5.4
dev: false
registry.npmmirror.com/@npmcli/move-file@2.0.1: