Skip to content

Commit 828184e

Browse files
committed
feat: 使用0.7.9的@antv/dumi-theme-antv能运行
1 parent 13b9975 commit 828184e

File tree

12 files changed

+15
-568
lines changed

12 files changed

+15
-568
lines changed

.dumi/pages/case/index.en.tsx

Lines changed: 0 additions & 8 deletions
This file was deleted.

.dumi/pages/case/index.tsx

Lines changed: 0 additions & 28 deletions
This file was deleted.

.dumi/pages/quick/index.en.tsx

Lines changed: 0 additions & 8 deletions
This file was deleted.

.dumi/pages/quick/index.tsx

Lines changed: 0 additions & 28 deletions
This file was deleted.

.dumi/theme/slots/Detail/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import SEO from '@antv/dumi-theme-antv/dist/common/SEO';
1+
import SEO from '@antv/dumi-theme-antv/dist/common/CommonHelmet';
22
import { useIntl, useLocale } from 'dumi';
33
import { debounce } from 'lodash';
44
import React, { useEffect, useRef } from 'react';

.dumirc.ts

Lines changed: 11 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -31,29 +31,7 @@ export default defineConfig({
3131
apiKey: '9d1cd586972bb492b7b41b13a949ef30',
3232
indexName: 'antv_g6',
3333
},
34-
navs: [
35-
{
36-
slug: 'docs/specification/principles/basic',
37-
title: {
38-
zh: '设计语言',
39-
en: 'Design',
40-
},
41-
},
42-
{
43-
slug: 'case',
44-
title: {
45-
zh: '场景案例',
46-
en: 'Show Case',
47-
},
48-
},
49-
{
50-
slug: 'quick',
51-
title: {
52-
zh: '提交 Issue',
53-
en: 'Quick Issue',
54-
},
55-
},
56-
],
34+
navs: [],
5735
ecosystems: [
5836
// 头部的菜单中的「周边生态」
5937
],
@@ -145,6 +123,16 @@ export default defineConfig({
145123
en: 'Ant Visualization solution',
146124
},
147125
},
126+
metas: {
127+
title: {
128+
zh: "AntV",
129+
en: "AntV"
130+
},
131+
description: {
132+
zh: "让AGI栩栩如生",
133+
en: "Ant Visualization solution"
134+
}
135+
},
148136
},
149137
alias: {
150138
site: '/site',

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,4 @@ _site
8080
# dumi tmp_production
8181
.dumi/tmp
8282
.dumi/tmp-production
83+
.idea

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@
1919
},
2020
"dependencies": {
2121
"@ant-design/icons": "^4.8.3",
22-
"@antv/dumi-theme-antv": "^0.5.7",
22+
"@antv/dumi-theme-antv": "0.7.9",
2323
"@antv/g2plot": "^2.3.1",
2424
"@antv/g6": "3.3.7",
2525
"@antv/util": "^3.3.1",
2626
"antd": "5.10.2",
2727
"chroma-js": "^2.1.0",
2828
"classnames": "^2.2.6",
2929
"d3": "^7.8.5",
30-
"dumi": "~2.2.1",
30+
"dumi": "~2.4.21",
3131
"gh-pages": "^3.1.0",
3232
"husky": "^8.0.2",
3333
"lodash": "^4.17.20",

site/components/ShowCase/ShowCase.tsx

Lines changed: 0 additions & 111 deletions
This file was deleted.

site/components/quickIssue/QuickIssue.module.less

Lines changed: 0 additions & 65 deletions
This file was deleted.

0 commit comments

Comments
 (0)