fix: update doc

This commit is contained in:
yehuozhili
2022-08-15 00:11:02 +08:00
parent 90a84f033e
commit 856079c934
2 changed files with 546 additions and 10 deletions

View File

@@ -2,13 +2,21 @@ import { defineConfig } from 'dumi';
export default defineConfig({
title: 'Dooringx',
favicon: 'https://yehuozhili-1259443377.cos.ap-nanjing.myqcloud.com/dooringxlogo.png',
logo: 'https://yehuozhili-1259443377.cos.ap-nanjing.myqcloud.com/dooringxlogo.png',
logo: 'https://img-blog.csdnimg.cn/img_convert/520863a38a93d960862f92c805bc97cc.png#pic_center',
outputPath: 'docs-dist',
mode: 'site',
locales: [
['zh', '中文'],
['en', 'English'],
],
styles: [
`
.__dumi-default-navbar-logo{
padding-left: 200px !important;
text-indent: -10000px;
}
`,
],
navs: {
// 多语言 key 值需与 locales 配置中的 key 一致
en: [