From 17f605dd6d371453ab6f8e3930e4120832e9e157 Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Sun, 28 Jul 2019 20:13:01 +0300 Subject: [PATCH] More docs --- .../src/components/docs/Introduction.vue | 10 +++ dashboard/src/components/docs/Layout.vue | 3 +- .../src/components/docs/plugins/Layout.vue | 3 + .../components/docs/plugins/ModActions.vue | 67 +++++++++++++++++++ dashboard/src/routes.ts | 10 +++ 5 files changed, 91 insertions(+), 2 deletions(-) create mode 100644 dashboard/src/components/docs/plugins/Layout.vue create mode 100644 dashboard/src/components/docs/plugins/ModActions.vue diff --git a/dashboard/src/components/docs/Introduction.vue b/dashboard/src/components/docs/Introduction.vue index cd59805e..899466b8 100644 --- a/dashboard/src/components/docs/Introduction.vue +++ b/dashboard/src/components/docs/Introduction.vue @@ -16,5 +16,15 @@ All Zeppelin configuration is done through the dashboard by editing a YAML config file. By default, only the server owner has access to this, but they can give other users access as they see fit. See Configuration format for more details.

+ +

Plugins

+

+ Zeppelin is divided into plugins: grouped functionality that can be enabled/disabled as needed, and that have their own configurations. +

+ +

Commands

+

+ The commands for each plugin are listed on the plugin's page (see "Plugins" on the menu). On these pages, the command prefix is assumed to be ! but this can be changed on a per-server basis. +

diff --git a/dashboard/src/components/docs/Layout.vue b/dashboard/src/components/docs/Layout.vue index 6e6ec93d..bedea88e 100644 --- a/dashboard/src/components/docs/Layout.vue +++ b/dashboard/src/components/docs/Layout.vue @@ -31,8 +31,7 @@ diff --git a/dashboard/src/components/docs/plugins/Layout.vue b/dashboard/src/components/docs/plugins/Layout.vue new file mode 100644 index 00000000..a44ab87b --- /dev/null +++ b/dashboard/src/components/docs/plugins/Layout.vue @@ -0,0 +1,3 @@ + diff --git a/dashboard/src/components/docs/plugins/ModActions.vue b/dashboard/src/components/docs/plugins/ModActions.vue new file mode 100644 index 00000000..62ca2cfd --- /dev/null +++ b/dashboard/src/components/docs/plugins/ModActions.vue @@ -0,0 +1,67 @@ + + + diff --git a/dashboard/src/routes.ts b/dashboard/src/routes.ts index 7ec2ff22..2affdb0e 100644 --- a/dashboard/src/routes.ts +++ b/dashboard/src/routes.ts @@ -35,6 +35,16 @@ export const router = new VueRouter({ path: "plugin-configuration", component: () => import("./components/docs/PluginConfiguration.vue"), }, + { + path: "plugins", + component: () => import("./components/docs/plugins/Layout.vue"), + children: [ + { + path: "mod-actions", + component: () => import("./components/docs/plugins/ModActions.vue"), + }, + ], + }, ], },