replace doc
This commit is contained in:
32
packages/dooringx-dumi-doc/.umirc.ts
Normal file
32
packages/dooringx-dumi-doc/.umirc.ts
Normal file
@@ -0,0 +1,32 @@
|
||||
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',
|
||||
outputPath: 'docs-dist',
|
||||
mode: 'site',
|
||||
locales: [
|
||||
['zh', '中文'],
|
||||
['en', 'English'],
|
||||
],
|
||||
navs: {
|
||||
// 多语言 key 值需与 locales 配置中的 key 一致
|
||||
en: [
|
||||
null, // null 值代表保留约定式生成的导航,只做增量配置
|
||||
{
|
||||
title: 'GitHub',
|
||||
path: 'https://github.com/H5-Dooring/dooringx',
|
||||
},
|
||||
],
|
||||
zh: [
|
||||
null, // null 值代表保留约定式生成的导航,只做增量配置
|
||||
{
|
||||
title: 'GitHub',
|
||||
path: 'https://github.com/H5-Dooring/dooringx',
|
||||
},
|
||||
],
|
||||
},
|
||||
base: process.env.NODE_ENV === 'production' ? '/dooringx' : '/',
|
||||
publicPath: process.env.NODE_ENV === 'production' ? '/dooringx/' : '/',
|
||||
// more config: https://d.umijs.org/config
|
||||
});
|
Reference in New Issue
Block a user