[doc](website)add translate warning in docs (#10152)

* fix docs bugs with sidebar can not display and some style problems
This commit is contained in:
wangyongfeng
2022-06-15 14:51:53 +08:00
committed by GitHub
parent 983cdc7b0d
commit 606c32cc30
2 changed files with 12 additions and 0 deletions

View File

@ -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;

View File

@ -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>