From dfc76d6315864d2e4249db43bff93157bc305fcb Mon Sep 17 00:00:00 2001 From: Artur Paikin Date: Sat, 26 Dec 2015 00:49:14 -0500 Subject: [PATCH] Order: output Core first --- website/documentation.js | 2 +- website/src/api/docs.md | 30 +++++++++++++++--------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/website/documentation.js b/website/documentation.js index 0de53a4b0..c30067a63 100644 --- a/website/documentation.js +++ b/website/documentation.js @@ -5,7 +5,7 @@ var inject = require('mdast-util-inject'); var chalk = require('chalk'); var fs = require('fs'); -documentation('../src/index.js', {}, function (err, comments) { +documentation('../src/index.js', {order: ['Core']}, function (err, comments) { if (err) console.log(err); documentationFormatter(comments, {}, function (err, output) { diff --git a/website/src/api/docs.md b/website/src/api/docs.md index 2810c6f02..1549c8857 100644 --- a/website/src/api/docs.md +++ b/website/src/api/docs.md @@ -6,21 +6,6 @@ title: "Generated API Docs" # Uppy Core & Plugins -## DragDrop - -Drag & Drop plugin - -**Parameters** - -- `core` -- `opts` - -### checkDragDropSupport - -Checks if the browser supports Drag & Drop - -Returns **object** true if Drag & Drop is supported, false otherwise - ## Core Main Uppy core @@ -66,3 +51,18 @@ Registers a plugin with Core - `opts` Returns **object** self for chaining + +## DragDrop + +Drag & Drop plugin + +**Parameters** + +- `core` +- `opts` + +### checkDragDropSupport + +Checks if the browser supports Drag & Drop + +Returns **object** true if Drag & Drop is supported, false otherwise