aboutsummaryrefslogtreecommitdiffstats
path: root/build.js
diff options
context:
space:
mode:
Diffstat (limited to 'build.js')
-rw-r--r--build.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/build.js b/build.js
index 62e06f8..6f3cc22 100644
--- a/build.js
+++ b/build.js
@@ -1,6 +1,7 @@
var fs = require('fs')
var ndjson = require('ndjson')
+fs.mkdirSync('docs/modules')
process.stdin.pipe(ndjson.parse()).on('data', function (obj) {
- fs.writeFileSync('docs/' + obj.name + '.md', obj.readme)
+ fs.writeFileSync('docs/modules/' + obj.name + '.md', obj.readme)
})