Add a simple JSDuck config file

Running jsduck command generates API documentation to docs directory.

Change-Id: I1f9acbaf7868ebf48a56d20d6906cbcf23ef9748
This commit is contained in:
Leszek Manicki 2016-06-20 12:50:11 +02:00
parent 34ad9973f2
commit 94405e7f6d
2 changed files with 7 additions and 0 deletions

6
jsduck.json Normal file
View file

@ -0,0 +1,6 @@
{
"--title": "RevisionSlider - Documentation",
"--external": "jQuery,OO.ui.PanelLayout,OO.ui.Process",
"--output": "docs",
"--": "modules"
}

View file

@ -2,6 +2,7 @@
mw.libs.revisionSlider = mw.libs.revisionSlider || {};
/**
* @member RevisionSlider
* Fetches up to 500 revisions at a time
*
* @param {Object} options - Options containing callbacks for `success` and `error` as well as fields for