doc: Updated vuepress to use local version
This commit is contained in:
parent
109dde1165
commit
83a224126c
|
@ -5,5 +5,6 @@
|
|||
/openapi.json
|
||||
/openapi.yaml
|
||||
/docs/.vuepress/dist
|
||||
/docs/node_modules/*
|
||||
.phpunit.result.cache
|
||||
/.php_cs.cache
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
"phpunit",
|
||||
"@lint"
|
||||
],
|
||||
"docs": "vuepress dev docs/",
|
||||
"deploy_docs": "vuepress build docs/ && cp -r .git docs/.vuepress/dist/.git && cd docs/.vuepress/dist/ && git symbolic-ref HEAD refs/heads/gh-pages && git add --all"
|
||||
"docs": "./docs/node_modules/.bin/vuepress dev docs/",
|
||||
"deploy_docs": "./docs/node_modules/.bin/vuepress build docs/ && cp -r .git docs/.vuepress/dist/.git && cd docs/.vuepress/dist/ && git symbolic-ref HEAD refs/heads/gh-pages && git add --all"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"name": "swagger-php-docs",
|
||||
"version":"3.0.0",
|
||||
"license": "Apache-2.0",
|
||||
"scripts": {
|
||||
"dev": "vuepress dev .",
|
||||
"build": "vuepress build ."
|
||||
},
|
||||
"devDependencies": {
|
||||
"vuepress": "^1.5.4"
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue