Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : How to generate documentation in javascriptmvc3.3? I didn't find doc.bat or doc.sh.

$
0
0
HI,

I am trying to figure out this also, reading outdated documentation makes this very dificult.
I think you should be good as you are also with documentation (outdated documentation=more doubts, more questions, more time, more patience, more posts...).

1 Question:
I am using "./js path/to/scripts/docs.js" to generate docs, and i am using example from documentation. 
I then created "order.js" and "costumer.js" classes (copy/paste), and executed "js docs.js" again.
But this classes are not being included in documentation.

From "scripts\docs.js":
load('steal/rhino/rhino.js');
steal("documentjs", function(DocumentJS){
DocumentJS('myapp/index.html', {
out: 'myapp/docs',
markdown : ['myapp', 'steal', 'jquerypp', 'can', 'funcunit'],
parent : 'myapp'
});
});

This structure is different from the one described in documentation. 
I think "myapp" is correctly included as for generator to look for all ".js" inside this folder.
Should i change something to fix this?

Thanks.

Cheers,
Linton Fernandes

Viewing all articles
Browse latest Browse all 3491

Trending Articles