aboutsummaryrefslogtreecommitdiffstats
path: root/build.js
diff options
context:
space:
mode:
authorJoe Hand <joe@joeahand.com>2016-08-05 08:47:15 -0700
committerGitHub <noreply@github.com>2016-08-05 08:47:15 -0700
commitffb465bb3bcebb62c5e63cc3ed80d70274848deb (patch)
tree68203eafcf5b422464dbd4ebf53742e487735ad9 /build.js
parent2b6ddccb62e7c425ed2a88b8cd9f94322d31aaaa (diff)
downloaddat-docs-ffb465bb3bcebb62c5e63cc3ed80d70274848deb.tar.gz
dat-docs-ffb465bb3bcebb62c5e63cc3ed80d70274848deb.zip
Use ecosystem docs to add module readme docs (#12)
* organize for ecosystem docs and cleanup Signed-off-by: Joe Hand <joe@joeahand.com> * add ecosystem-docs commands, build file, docs * remove transform & fix content typo * upgrade minidocs
Diffstat (limited to 'build.js')
-rw-r--r--build.js6
1 files changed, 6 insertions, 0 deletions
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