From 606c32cc303de37aa79c00a2545a5f88ebd68486 Mon Sep 17 00:00:00 2001 From: wangyongfeng <943155336@qq.com> Date: Wed, 15 Jun 2022 14:51:53 +0800 Subject: [PATCH] [doc](website)add translate warning in docs (#10152) * fix docs bugs with sidebar can not display and some style problems --- docs/.vuepress/styles/index.styl | 8 ++++++++ docs/.vuepress/theme/components/Page.vue | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/docs/.vuepress/styles/index.styl b/docs/.vuepress/styles/index.styl index df495ddcac..e3838ec30b 100644 --- a/docs/.vuepress/styles/index.styl +++ b/docs/.vuepress/styles/index.styl @@ -1490,6 +1490,14 @@ header.navbar > .links .search-box .iconfont { .footerfoot img{ pointer-events: none; } +main.page .page-title .translate-warnning { + background-color: #ffba0026; + padding: 16px; + border-left: 5px solid #e6a700; + border-radius: 6px; + line-height: 1.6; + color: #4d3800; +} main.page .page-title .title{ font-size: 36px; font-weight: bold; diff --git a/docs/.vuepress/theme/components/Page.vue b/docs/.vuepress/theme/components/Page.vue index 4f84111a12..8b727ea469 100644 --- a/docs/.vuepress/theme/components/Page.vue +++ b/docs/.vuepress/theme/components/Page.vue @@ -20,6 +20,10 @@ under the License.
+
+ The content of this document may be from machine translation. If you are interested in assisting with translation and proofreading, please contact us + dev@doris.apache.org. +

{{$page.title}}