Skip to content

Commit

Permalink
Remove consoles and update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ph1p committed Aug 20, 2018
1 parent 0ca366a commit 0c1a59c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ npm i vuepress-jsdoc -g
**Example:**

```bash
vuepress-jsdoc --source=./src --dist=./documentation --folder=./code --title=API
# search code in src and move it to code (./documentation/code) in your vuepress folder (./documentation)
vuepress-jsdoc --source=./src --dist=./documentation --folder=code --title=API
```

### Options
Expand Down
2 changes: 0 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,10 @@ const readFiles = async (folder, depth = 0, tree) => {
mdFileData = await vuedoc.md({
filename: `${folder}/${file}`
});
console.log(mdFileData);
} else if (/\.(js|ts)$/.test(file)) {
// render file
mdFileData = await jsdoc2md.render({
source: fileData,
// partial: [path.resolve(__dirname, './template/partials/all-docs/docs/header.hbs')]
partial: [
path.resolve(__dirname, './template/header.hbs'),
path.resolve(__dirname, './template/main.hbs')
Expand Down

0 comments on commit 0c1a59c

Please sign in to comment.