Skip to content

Commit d4aa7c1

Browse files
committed
Merge pull request #11 from DavertMik/patch-1
Added shallow option
2 parents 613591a + e7c8128 commit d4aa7c1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ var through2 = require('through2'),
4343
module.exports = function (options) {
4444
options = options || {};
4545
var docOptions = {
46-
github : !!(options.github || options.g)
46+
github : !!(options.github || options.g),
47+
shallow: options.shallow || false
4748
};
4849
var files = [];
4950
options.format = options.format || 'html';

0 commit comments

Comments
 (0)