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:
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.
13.59.209.131