Compare commits

...

4 Commits

Author SHA1 Message Date
d441f5b489 1.0.11 2019-05-15 21:42:30 +02:00
38f3ccb364 fix(core): update 2019-05-15 21:42:29 +02:00
0c7f50e3cc 1.0.10 2019-05-15 21:40:19 +02:00
7937cc8898 fix(core): update 2019-05-15 21:40:18 +02:00
3 changed files with 5 additions and 6 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "@gitzone/tsdoc", "name": "@gitzone/tsdoc",
"version": "1.0.9", "version": "1.0.11",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "@gitzone/tsdoc", "name": "@gitzone/tsdoc",
"version": "1.0.9", "version": "1.0.11",
"private": false, "private": false,
"description": "a tool for better documentation", "description": "a tool for better documentation",
"main": "dist/index.js", "main": "dist/index.js",

View File

@ -45,17 +45,16 @@ export class MkDocs {
await this.update(); await this.update();
await this.smartshellInstance.exec(`rm -rf public/`); await this.smartshellInstance.exec(`rm -rf public/`);
await this.smartshellInstance.exec( await this.smartshellInstance.exec(
`docker run --rm -it -p 8000:8000 -v ${ `docker run --rm -p 8000:8000 -v ${
paths.cwd paths.cwd
}:/docs registry.gitlab.com/hosttoday/ht-docker-mkdocs build` }:/docs registry.gitlab.com/hosttoday/ht-docker-mkdocs build`
); );
await this.smartshellInstance.exec(`gitzone commit`);
} }
public async serve() { public async serve() {
await this.update(); await this.update();
await this.smartshellInstance.exec( await this.smartshellInstance.exec(
`docker run --rm -it -p 8000:8000 -v ${ `docker run --rm -p 8000:8000 -v ${
paths.cwd paths.cwd
}:/docs registry.gitlab.com/hosttoday/ht-docker-mkdocs` }:/docs registry.gitlab.com/hosttoday/ht-docker-mkdocs`
); );