Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
5a046a7667 | |||
b04f3be3db | |||
d441f5b489 | |||
38f3ccb364 |
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@gitzone/tsdoc",
|
"name": "@gitzone/tsdoc",
|
||||||
"version": "1.0.10",
|
"version": "1.0.12",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@gitzone/tsdoc",
|
"name": "@gitzone/tsdoc",
|
||||||
"version": "1.0.10",
|
"version": "1.0.12",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "a tool for better documentation",
|
"description": "a tool for better documentation",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
@ -45,7 +45,7 @@ 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`
|
||||||
);
|
);
|
||||||
@ -54,7 +54,7 @@ export class MkDocs {
|
|||||||
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`
|
||||||
);
|
);
|
||||||
|
@ -22,6 +22,7 @@ export class TypeDoc {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public async compile() {
|
public async compile() {
|
||||||
|
console.log(paths.binDir);
|
||||||
await this.smartshellInstance.exec(
|
await this.smartshellInstance.exec(
|
||||||
`typedoc --module "commonjs" --target "ES2016" --out public/ ts/`
|
`typedoc --module "commonjs" --target "ES2016" --out public/ ts/`
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user