mirror of
https://github.com/danog/schema.tl.git
synced 2024-11-26 12:04:48 +01:00
11 lines
367 B
JavaScript
11 lines
367 B
JavaScript
// this file generates empty markdown files, lol
|
|
var fs = require('fs'),
|
|
schema = require('./resources/schema.json')
|
|
|
|
schema.constructors.forEach(constr => {
|
|
fs.appendFileSync(__dirname + "/docs/constructors/" + constr.predicate + ".md", "")
|
|
})
|
|
|
|
schema.methods.forEach(method => {
|
|
fs.appendFileSync(__dirname + "/docs/methods/" + method.method + ".md", "")
|
|
}) |