Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/schteppe/doc.js

Web based on-the-fly documentation generator targeted for JavaScript.
https://github.com/schteppe/doc.js

Last synced: about 2 months ago
JSON representation

Web based on-the-fly documentation generator targeted for JavaScript.

Awesome Lists containing this project

README

        

# Doc.js
## Example usage
Let's say you have the following javascript code:

```javascript
/**
* @function add
* @param float a
* @param float b
* @return float
*/
function add(a,b){
return a+b;
}
```

To make a live doc.js documentation site, add doc.js and this HTML file to a public folder:

```html









DOCJS.Generate(["myfile.js"]);