Generating the documentation

All we need to do to generate the documentation is run the doc command from the command line (inside the Todo directory):

$ ./documentjs/doc todo
PROCESSING SCRIPTS

  todo/todo.js
  todo/todo.md

GENERATING DOCS -> todo/docs

Using default page layout.  Overwrite by creating: todo/summary.ejs

This generates the documentation, which we can browse by opening docs.html located in the Todo/todo directory:

Generating the documentation

We can customize the look and feel of the documentation by changing the summary.ejs template file. Simply copy the template from documentjs/jmvcdoc to Todo/todo and modify it.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.117.73.127