diff options
Diffstat (limited to 'scripts/index-build.js')
-rw-r--r-- | scripts/index-build.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/index-build.js b/scripts/index-build.js index 331fa3a48..b3c19a03a 100644 --- a/scripts/index-build.js +++ b/scripts/index-build.js @@ -33,9 +33,11 @@ function next () { return [3, path.resolve(api, d)] }) - clidocs = [[1, readme]].concat(clidocs.filter(filter).map(function (d) { + clidocs = clidocs.filter(filter).map(function (d) { return [1, path.resolve(cli, d)] - })) + }) + + writeLine([1, readme]) console.log("# Command Line Documentation") |