From 94405e7f6d49f08c3b37a34ae69ef9e4c5d8b234 Mon Sep 17 00:00:00 2001 From: Leszek Manicki Date: Mon, 20 Jun 2016 12:50:11 +0200 Subject: [PATCH] Add a simple JSDuck config file Running jsduck command generates API documentation to docs directory. Change-Id: I1f9acbaf7868ebf48a56d20d6906cbcf23ef9748 --- jsduck.json | 6 ++++++ modules/ext.RevisionSlider.fetchRevisions.js | 1 + 2 files changed, 7 insertions(+) create mode 100644 jsduck.json diff --git a/jsduck.json b/jsduck.json new file mode 100644 index 00000000..0fb7ad47 --- /dev/null +++ b/jsduck.json @@ -0,0 +1,6 @@ +{ + "--title": "RevisionSlider - Documentation", + "--external": "jQuery,OO.ui.PanelLayout,OO.ui.Process", + "--output": "docs", + "--": "modules" +} diff --git a/modules/ext.RevisionSlider.fetchRevisions.js b/modules/ext.RevisionSlider.fetchRevisions.js index 75cee534..ca02918b 100644 --- a/modules/ext.RevisionSlider.fetchRevisions.js +++ b/modules/ext.RevisionSlider.fetchRevisions.js @@ -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