diff --git a/docs/_config.yml b/docs/_config.yml
index a9a9e24ea..f269d8695 100644
--- a/docs/_config.yml
+++ b/docs/_config.yml
@@ -136,16 +136,6 @@ sidebar:
url: /plugins-directory/
- title: Plugin Recipes
url: /plugin-recipes/
- - title: Slots and Plugins
- url: /slots-and-plugins/
- - title: Tutorials
- children:
- - title: Creating a Basic Plugin
- url: /building-basic-plugin/
- - title: Customizing Plugins with Coral UI
- url: /customizing-plugins-coral-ui/
- - title: When You've Installed Talk
- url: /when-youve-installed-talk/
- title: API
children:
- title: GraphQL Overview
@@ -154,6 +144,16 @@ sidebar:
url: /api/graphql/
- title: Server Plugin API
url: /api/server/
+ - title: Client Plugin API
+ url: /api/client/
+ - title: Plugin Slots API
+ url: /api/slots/
+ - title: Tutorials
+ children:
+ - title: Creating a Basic Plugin
+ url: /building-basic-plugin/
+ - title: Customizing Plugins with Coral UI
+ url: /customizing-plugins-coral-ui/
- title: Migrating
children:
- title: Migrating to v4.0.0
diff --git a/docs/source/05-03-when-youve-installed-talk.md b/docs/source/05-03-when-youve-installed-talk.md
index aff0de83c..7bd775469 100644
--- a/docs/source/05-03-when-youve-installed-talk.md
+++ b/docs/source/05-03-when-youve-installed-talk.md
@@ -140,5 +140,3 @@ For the first month or so, we recommend including a link to the launch article m
A regular space for conversation about the conversation is always welcome in any successful community, and is a great source of ideas for improvement.
**_We hope you enjoy using Talk, and that it helps your communities to thrive. If you have any questions or suggestions for this piece, or would like to try Talk on your site, please [contact us.](https://coralproject.net/contact.html)_**
-
-[_Red button image by włodi_](https://www.flickr.com/photos/wlodi/3085157011/)_, CC-BY-SA 2.0_
diff --git a/docs/source/api/client.md b/docs/source/api/client.md
new file mode 100644
index 000000000..fd0ec42fc
--- /dev/null
+++ b/docs/source/api/client.md
@@ -0,0 +1,301 @@
+---
+title: Client Plugin API
+permalink: /api/client/
+toc: true
+class: configuration
+---
+
+We created a set of utilities to make it easier to create and add functionality to plugins.
+Feel free to check all the utilities here: `talk/plugin-api`.
+
+## Actions
+#### Admin
+* `viewUserDetail`
+
+#### Auth
+* `setAuthToken`
+* `handleSuccessfulLogin`
+* `logout`
+
+#### Notification
+* `notify`
+
+#### Stream
+* `setSort`
+* `showSignInDialog``
+
+### Import
+```
+import {notify} 'plugin-api/beta/actions';
+```
+
+### Usage
+```js
+// Trigger a notification
+notify('success', t('suspenduser.notify_suspend_until', username, timeago(until))
+
+// mapDispatchToProps
+const mapDispatchToProps = dispatch => ({
+ ...bindActionCreators(
+ {
+ notify,
+ },
+ dispatch
+ ),
+});
+
+```
+
+
+## Components
+* `Slot`
+You probably won’t need to use the `` component in your plugin. But there’s a chance you might want to add a Slot so another plugin gets injected in your plugin.
+
+### Props
+* `fill ` : Name of the slot
+* `defaultComponent` : The default component if no plugin component is provided to the Slot
+* `size` : - How many components this Slot should show - Slot size or an Array of slot size
+* `passthrough`: