build.js 319 B

12345678910111213141516
  1. #!/usr/bin/env node
  2. var markdox = require("markdox");
  3. var options = {
  4. output: __dirname + "/api.md",
  5. template: __dirname + "/template.md.ejs"
  6. };
  7. var files = [
  8. __dirname + "/../src/browser/starter.js",
  9. ];
  10. markdox.process(files, options, function() {
  11. console.log("Ok. %s written.", options.output);
  12. });