summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDerick Montague <derick.montague@ibm.com>2020-03-13 00:49:55 +0300
committerDerick Montague <derick.montague@ibm.com>2020-03-13 00:49:55 +0300
commit7223a9fb310ab2f5665b7247d8f24144cbacbede (patch)
treef75f2b6cdb1df7f1dc64a421cf60c34e02e7cbe0 /docs
parent71650fff20c0ad29eb05d770736386863324b64e (diff)
downloadwebui-vue-7223a9fb310ab2f5665b7247d8f24144cbacbede.tar.xz
Revert "Add alert message component and documentation"
This reverts commit 71650fff20c0ad29eb05d770736386863324b64e. Reason for revert: Found an issue with Sass loader when compiling docs that needs to be addressed. Change-Id: Icdd1243665f60849bfb341594452687fcdaeebe2
Diffstat (limited to 'docs')
-rw-r--r--docs/.vuepress/bmcAppPlugin.js8
-rw-r--r--docs/.vuepress/components/BmcAlerts.vue15
-rw-r--r--docs/.vuepress/config.js5
-rw-r--r--docs/.vuepress/enhanceApp.js10
-rw-r--r--docs/guide/components/alert.md12
5 files changed, 1 insertions, 49 deletions
diff --git a/docs/.vuepress/bmcAppPlugin.js b/docs/.vuepress/bmcAppPlugin.js
deleted file mode 100644
index d068b055..00000000
--- a/docs/.vuepress/bmcAppPlugin.js
+++ /dev/null
@@ -1,8 +0,0 @@
-import "../../src/assets/styles/_obmc-custom.scss";
-import Alert from '../../src/components/Global/Alert';
-
-export default {
- install (Vue, options) {
- Vue.component('Alert', Alert);
- }
-} \ No newline at end of file
diff --git a/docs/.vuepress/components/BmcAlerts.vue b/docs/.vuepress/components/BmcAlerts.vue
deleted file mode 100644
index a0c95034..00000000
--- a/docs/.vuepress/components/BmcAlerts.vue
+++ /dev/null
@@ -1,15 +0,0 @@
-<template>
- <div>
- <alert show variant="warning">This is a warning message</alert>
- <alert show variant="danger">This is an error message</alert>
- <alert show variant="info">This is an info message</alert>
- </div>
-</template>
-
-<script>
-
-export default {
- name: 'BmcAlerts',
-
-}
-</script> \ No newline at end of file
diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js
index abcbeb9e..5a8e601f 100644
--- a/docs/.vuepress/config.js
+++ b/docs/.vuepress/config.js
@@ -42,10 +42,7 @@ module.exports = {
},
{
title: "Components",
- children: [
- "/guide/components/",
- "/guide/components/alert",
- ]
+ children: ["/guide/components/", "/guide/components/page-section"]
}
],
"/themes/": [""]
diff --git a/docs/.vuepress/enhanceApp.js b/docs/.vuepress/enhanceApp.js
deleted file mode 100644
index 5a84f619..00000000
--- a/docs/.vuepress/enhanceApp.js
+++ /dev/null
@@ -1,10 +0,0 @@
-import {
- AlertPlugin,
- } from 'bootstrap-vue';
-
-import BmcAppPlugin from './bmcAppPlugin';
-
-export default ({ Vue }) => {
- Vue.use(AlertPlugin);
- Vue.use(BmcAppPlugin);
-} \ No newline at end of file
diff --git a/docs/guide/components/alert.md b/docs/guide/components/alert.md
deleted file mode 100644
index 768aa873..00000000
--- a/docs/guide/components/alert.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# Alerts
-An alert is an inline message that contains a short description that a user cannot manually dismiss. With exception to the error message on the login page, alerts are not triggered by user action. Success and error notifications based on user actions are created using a toast component.
-
-[Learn more about Bootstrap-vue alert options](https://bootstrap-vue.js.org/docs/components/alert)
-
-<BmcAlerts />
-
-```vue
-<alert show variant="warning">This is a warning message</alert>
-<alert show variant="danger">This is an error message</alert>
-<alert show variant="info">This is an info message</alert>
-``` \ No newline at end of file