From ffb465bb3bcebb62c5e63cc3ed80d70274848deb Mon Sep 17 00:00:00 2001 From: Joe Hand Date: Fri, 5 Aug 2016 08:47:15 -0700 Subject: Use ecosystem docs to add module readme docs (#12) * organize for ecosystem docs and cleanup Signed-off-by: Joe Hand * add ecosystem-docs commands, build file, docs * remove transform & fix content typo * upgrade minidocs --- build.js | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 build.js (limited to 'build.js') diff --git a/build.js b/build.js new file mode 100644 index 0000000..33d1afe --- /dev/null +++ b/build.js @@ -0,0 +1,6 @@ +var fs = require('fs') +var ndjson = require('ndjson') + +process.stdin.pipe(ndjson.parse()).on('data', function (obj) { + fs.writeFileSync('docs/' + obj.name + '.md', obj.readme) +}) \ No newline at end of file -- cgit v1.2.3