apidoc
Advanced tools
Comparing version 0.50.3 to 0.50.4
@@ -153,3 +153,3 @@ /* | ||
const prismCss = this.fs.readFileSync(this.findAsset('prismjs/themes/prism-tomorrow.css'), 'utf8'); | ||
const mainCss = this.fs.readFileSync('./template/src/css/main.css', 'utf8'); | ||
const mainCss = this.fs.readFileSync(this.path.join(this.opt.template, 'src', 'css', 'main.css'), 'utf8'); | ||
const tmpPath = '/tmp/apidoc-tmp'; | ||
@@ -175,2 +175,4 @@ // TODO add favicons in base64 in the html | ||
const finalPath = this.path.join(this.opt.dest, 'index.html'); | ||
// make sure destination exists | ||
this.createDir(this.opt.dest); | ||
this.log.verbose(`Generating self-contained single file: ${finalPath}`); | ||
@@ -177,0 +179,0 @@ this.fs.writeFileSync(finalPath, finalContent); |
{ | ||
"name": "apidoc", | ||
"version": "0.50.3", | ||
"version": "0.50.4", | ||
"description": "RESTful web API Documentation Generator", | ||
@@ -5,0 +5,0 @@ "author": "Peter Rottmann <rottmann@inveris.de>", |
536242
5818