doc: Updated vuepress to use local version

This commit is contained in:
Bob Fanger 2020-09-05 09:58:55 +02:00
parent 109dde1165
commit 83a224126c
4 changed files with 7845 additions and 2 deletions

1
.gitignore vendored
View File

@ -5,5 +5,6 @@
/openapi.json
/openapi.yaml
/docs/.vuepress/dist
/docs/node_modules/*
.phpunit.result.cache
/.php_cs.cache

View File

@ -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"
}
}

12
docs/package.json Normal file
View File

@ -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"
}
}

7830
docs/yarn.lock Normal file

File diff suppressed because it is too large Load Diff