Order: output Core first

This commit is contained in:
Artur Paikin 2015-12-26 00:49:14 -05:00
parent 72558280f2
commit dfc76d6315
2 changed files with 16 additions and 16 deletions

View file

@ -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) {

View file

@ -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