Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit ebc7b44

Browse files
authored
Merge pull request #14 from xinpingwang/fix-docs-dir-structure
fix: docs directory structure not match recommended (#3,#9)
2 parents fc5920e + 6eacabf commit ebc7b44

File tree

13 files changed

+3
-3
lines changed

13 files changed

+3
-3
lines changed

lib/generators/docs/templates/docs/src/.vuepress/config.js lib/generators/docs/templates/docs/.vuepress/config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ module.exports = {
3939
},
4040
{
4141
text: 'Config',
42-
link: '/config/'
42+
link: '/config'
4343
},
4444
{
4545
text: 'VuePress',

lib/generators/docs/templates/docs/package.json lib/generators/docs/templates/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
},
1010
"repository": "<%= repo %>/<%= name %>",
1111
"scripts": {
12-
"dev": "vuepress dev src",
13-
"build": "vuepress build src"
12+
"dev": "vuepress dev docs",
13+
"build": "vuepress build docs"
1414
},
1515
"license": "MIT",
1616
"devDependencies": {

0 commit comments

Comments
 (0)