You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by ji...@apache.org on 2022/06/15 06:51:58 UTC
[incubator-doris] branch master updated: [doc](website)add translate warning in docs (#10152)
This is an automated email from the ASF dual-hosted git repository.
jiafengzheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push:
new 606c32cc30 [doc](website)add translate warning in docs (#10152)
606c32cc30 is described below
commit 606c32cc303de37aa79c00a2545a5f88ebd68486
Author: wangyongfeng <94...@qq.com>
AuthorDate: Wed Jun 15 14:51:53 2022 +0800
[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.
<ModuleTransition delay="0.08">
<section v-show="recoShowModule">
<div class="page-title">
+ <div class="translate-warnning">
+ The content of this document may be from machine translation. If you are interested in assisting with translation and proofreading, please contact us
+ <a href="mailto:dev@doris.apache.org">dev@doris.apache.org</a>.
+ </div>
<h1 class="title">{{$page.title}}</h1>
<PageInfo :pageInfo="$page" :showAccessNumber="showAccessNumber"></PageInfo>
</div>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org