documentation: add JS api docs

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit d9452d1157aef6b8752fac0f4ed1e0b9221abb31)
This commit is contained in:
Jo-Philipp Wich
2019-11-05 09:33:40 +01:00
parent 9b92b2c8f9
commit 3942789dc6
52 changed files with 67950 additions and 0 deletions

22
jsdoc.conf.json Normal file
View File

@@ -0,0 +1,22 @@
{
"tags": {
"allowUnknownTags": true,
"dictionaries": ["jsdoc","closure"]
},
"source": {
"include": ["modules/luci-base/htdocs/luci-static/resources"],
"includePattern": ".+\\.js(doc|x)?$"
},
"plugins": [
"plugins/markdown"
],
"templates": {
"cleverLinks": true,
"monospaceLinks": true
},
"opts": {
"destination": "documentation/jsapi",
"recurse": true,
"readme": "README.md"
}
}