summaryrefslogtreecommitdiffstats
path: root/docs/api/README.md
diff options
context:
space:
mode:
authorSamy Pesse <samypesse@gmail.com>2016-09-29 23:53:18 +0200
committerSamy Pesse <samypesse@gmail.com>2016-09-29 23:53:18 +0200
commit1489129407cfd4a562b3fb8f2799acb3b240ee6b (patch)
treeeb78fd46654a9410d066195cbac993df4fb4098f /docs/api/README.md
parentb5c407cf7bdea1a7b0da5044cb036e2753b32de2 (diff)
downloadgitbook-1489129407cfd4a562b3fb8f2799acb3b240ee6b.zip
gitbook-1489129407cfd4a562b3fb8f2799acb3b240ee6b.tar.gz
gitbook-1489129407cfd4a562b3fb8f2799acb3b240ee6b.tar.bz2
Improve Gitbook.connect to accept a mapActionsToProps
Diffstat (limited to 'docs/api/README.md')
-rw-r--r--docs/api/README.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/api/README.md b/docs/api/README.md
index 4349fd4..c3beb6e 100644
--- a/docs/api/README.md
+++ b/docs/api/README.md
@@ -1,3 +1,24 @@
# Plugin Architecture
A GitBook plugin is a NPM package that follow a defined convention.
+
+`gitbook-plugin` is a command line utility to help you create, test and release plugins.
+
+### Bootstrap your first plugin
+
+Install `gitbook-plugin` from NPM:
+
+```
+$ npm install gitbook-plugin -g
+```
+
+Then create your plugin using:
+
+```
+$ gitbook-plugin create
+```
+
+It will prompt you to enter a name and a description.
+
+
+### Publish your plugin