docs: use docs dir
This commit is contained in:
@@ -3,19 +3,6 @@ module.exports = {
|
||||
'@vuepress/google-analytics': {
|
||||
ga: 'UA-48084758-9',
|
||||
},
|
||||
'@vuepress/pwa': {
|
||||
serviceWorker: true,
|
||||
updatePopup: {
|
||||
'/zh/': {
|
||||
message: '发现新内容可用',
|
||||
buttonText: '刷新',
|
||||
},
|
||||
'/': {
|
||||
message: 'New content is available',
|
||||
buttonText: 'Refresh',
|
||||
},
|
||||
},
|
||||
},
|
||||
'@vuepress/back-to-top': true,
|
||||
},
|
||||
locales: {
|
||||
@@ -42,7 +29,7 @@ module.exports = {
|
||||
themeConfig: {
|
||||
repo: 'MoePlayer/DPlayer',
|
||||
editLinks: true,
|
||||
docsDir: 'docs',
|
||||
docsDir: '.',
|
||||
locales: {
|
||||
'/zh/': {
|
||||
lang: 'zh-CN',
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": "docs",
|
||||
"scripts": {
|
||||
"docs:dev": "vuepress dev",
|
||||
"docs:build": "vuepress build"
|
||||
},
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"devDependencies": {
|
||||
"@vuepress/plugin-back-to-top": "^1.9.7",
|
||||
"@vuepress/plugin-google-analytics": "^1.9.7",
|
||||
"vuepress": "^1.9.7"
|
||||
}
|
||||
}
|
||||
Generated
+9328
File diff suppressed because it is too large
Load Diff
@@ -39,8 +39,6 @@
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.6.0",
|
||||
"@babel/preset-env": "^7.4.5",
|
||||
"@vuepress/plugin-back-to-top": "1.9.7",
|
||||
"@vuepress/plugin-google-analytics": "1.9.7",
|
||||
"@vuepress/plugin-pwa": "1.9.7",
|
||||
"art-template": "4.13.2",
|
||||
"art-template-loader": "1.4.3",
|
||||
@@ -69,7 +67,6 @@
|
||||
"svg-inline-loader": "0.8.2",
|
||||
"template-string-optimize-loader": "^3.0.0",
|
||||
"url-loader": "^4.1.0",
|
||||
"vuepress": "1.9.7",
|
||||
"webpack": "^5.74.0",
|
||||
"webpack-cli": "4.10.0",
|
||||
"webpack-dev-server": "^4.10.0",
|
||||
|
||||
Generated
+9
-5346
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user