From caaf7baff0b5995ef6c8fef213f1ec7af34ca911 Mon Sep 17 00:00:00 2001 From: Derick Montague Date: Fri, 9 Oct 2020 11:17:48 -0500 Subject: Fix documentation render bug Using the i18n module in the BVToastMixin file caused an issue with VuePress that resulted in the static files not being created and the documentation rendering as a blank page. - Removed the import of the BVToastMixin - Copied BVToastMixin to docs components and removed i18n - Copied the StatusIcon to docs components to so icons will render with the correct fill color in the toast notifications GitHub Issue: https://github.com/openbmc/webui-vue/issues/40 Signed-off-by: Derick Montague Change-Id: Ie479df17d529ad2803c41e7442801e13601a0a02 --- docs/.vuepress/components/BmcToasts.vue | 2 +- .../components/app-imports/BVToastMixin.js | 58 ++++++++++++++++++++ .../components/app-imports/StatusIcon.vue | 61 ++++++++++++++++++++++ 3 files changed, 120 insertions(+), 1 deletion(-) create mode 100644 docs/.vuepress/components/app-imports/BVToastMixin.js create mode 100644 docs/.vuepress/components/app-imports/StatusIcon.vue (limited to 'docs/.vuepress/components') diff --git a/docs/.vuepress/components/BmcToasts.vue b/docs/.vuepress/components/BmcToasts.vue index 4c9d30f3..6f90d1f1 100644 --- a/docs/.vuepress/components/BmcToasts.vue +++ b/docs/.vuepress/components/BmcToasts.vue @@ -8,7 +8,7 @@ + + -- cgit v1.2.3