Commit Graph

353 Commits

Author SHA1 Message Date
lijianan
8d2d18c7f3
type: remove type FC in site (#38959) 2022-11-24 20:11:50 +08:00
MadCcc
403d345577 docs: fix prerender 2022-11-24 15:47:13 +08:00
二货爱吃白萝卜
3d0a269c81
docs: change lang by lang (#38943) 2022-11-24 15:41:45 +08:00
二货爱吃白萝卜
0f26e51c23
docs: tip for legacy browser (#38917)
* docs: tip for legacy browser

* Update .dumi/theme/slots/Footer/AdditionalInfo.tsx

Co-authored-by: afc163 <afc163@gmail.com>

* Update .dumi/theme/slots/Footer/AdditionalInfo.tsx

Co-authored-by: afc163 <afc163@gmail.com>

* docs: sample

* chore: tmp adjust script

Co-authored-by: afc163 <afc163@gmail.com>
2022-11-24 11:14:29 +08:00
lijianan
5148b01183
chore: use translate3d for performance optimization (#38747)
* chore: use translate3d for performance optimization

* test: fix

* revert
2022-11-24 10:08:08 +08:00
MadCcc
3a5bb06c3e chore: fix mirror url 2022-11-23 19:28:10 +08:00
afc163
13e5451207
docs: improve markdown style (#38875) 2022-11-23 00:00:55 +08:00
MadCcc
9e7dc4dd4c docs: fix localstorage theme 2022-11-22 21:12:20 +08:00
MadCcc
5038bf467d
docs: theme switch (#38848)
* docs: theme switch

* chore: code clean

* fix: conflict with theme editor

* docs: use own theme in theme editor

* chore: code clean
2022-11-22 17:00:28 +08:00
Greedy1997
882b8740b1
docs: improve icon copied style (#38809)
Fixed the click text display issue
2022-11-21 22:43:04 +08:00
zqran
59772e9222
docs: update document Table style (#38727)
* docs: update document Table style

* docs: add className for component API table

* docs: optimize rehypeAntd logic
2022-11-21 17:39:46 +08:00
lijianan
33776d0195
fix: delete Chinese locale (#38790) 2022-11-21 16:34:21 +08:00
lijianan
588a912609
fix: fix OverviewPage style (#38782) 2022-11-21 14:30:51 +08:00
lijianan
14316b345e
fix: delete Chinese locale (#38781) 2022-11-21 14:12:59 +08:00
二货爱吃白萝卜
0c446bc9c3
docs: auto use Chinese mirror if in mirror (#38776)
* docs: auto use chinese mirror if in mirror

* Update .dumi/theme/themeConfig.ts

* Update .dumi/theme/themeConfig.ts

Co-authored-by: Amumu <yoyo837@hotmail.com>
2022-11-21 14:00:32 +08:00
afc163
68b1062ef1
docs: update zhihu blog url (#38737) 2022-11-19 19:25:27 +08:00
afc163
712f1894f6
docs: remove iconPicSearcher (#38738) 2022-11-19 19:18:01 +08:00
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens (#38722) 2022-11-19 13:47:33 +08:00
子瞻 Luci
a8fc788f98
fix(dumi): get contributor error on 404 page (#38708) 2022-11-18 23:54:37 +08:00
afc163
def5960164
docs: fix edit button position (#38696) 2022-11-18 19:35:46 +08:00
Yvan Zhu
b0961b98db
Update index.tsx (#38690) 2022-11-18 18:43:00 +08:00
子瞻 Luci
c47b4e5d42
fix(dumi): update dumi theme (#38684) 2022-11-18 17:57:16 +08:00
Peach
7e6d6e3f38
docs: improve sourcecode styles (#38675) 2022-11-18 14:47:37 +08:00
Peach
979de5350f
docs: correct search bar space in header (#38668) 2022-11-18 13:11:31 +08:00
MadCcc
73139eb5af
docs: 5.0.0 changelog (#38642)
* docs: 5.0.0 changelog

* chore: bump version

* chore: english changelog

* chore: code clean

* docs: add missing break line

* docs: eng version pretter

* chore: update

* chore: clean

* chore: remove backtop doc

* chore: update changelog

* chore: code clean

* docs: update

* rm eng log

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-11-18 13:10:45 +08:00
二货爱吃白萝卜
f5ed8fb29c
chore: bump notify on second time (#38665)
* chore: bump notify on second time

* docs: adjust notify
2022-11-18 13:10:13 +08:00
MadCcc
4b490834a0
fix: preview-img style (#38662)
* docs: PreviewImg

* docs: add preview-img style

* chore: style

* chore: clean
2022-11-18 11:54:06 +08:00
Peach
3b27471a85
docs: use dumi built-in search bar (#38658)
* docs: use dumi built-in search bar

* docs: detailed styles for search bar
2022-11-18 11:29:46 +08:00
afc163
af139e9d13
docs: remove hotjar (#38654) 2022-11-18 00:01:31 +08:00
afc163
a3692b7aed
chore: add yuque blog url (#38649) 2022-11-17 23:32:17 +08:00
二货爱吃白萝卜
ced4f0246e
docs: Adjust home page PurePanel & fix nav lang & popup for v5 (#38647)
* docs: add info

* docs: fix pure render

* docs: PurePanel eng
2022-11-17 23:15:27 +08:00
二货爱吃白萝卜
842f355f39
docs: less usage guide (#38641)
* docs: add static usage

* docs: migrate doc

* docs: migrate
2022-11-17 21:48:03 +08:00
afc163
c92ef74ea4
docs: add legacy version link of 4.x (#38638) 2022-11-17 21:24:40 +08:00
Peach
9dcc4aab2c
docs: correct style extract from markdown demo (#38637) 2022-11-17 21:13:31 +08:00
afc163
dc6bcc8acb
docs: improve some details about new site (#38635)
* docs: fix some issues

* docs: fix edit button

* docs: fix edit button
2022-11-17 20:56:35 +08:00
afc163
1cdb4503a2
docs: improve resouce page style (#38624) 2022-11-17 18:33:44 +08:00
afc163
e486979b30
docs: fix Grid demo color (#38633)
https://github.com/ant-design/ant-design/issues/38463#issuecomment-1318293831
2022-11-17 18:30:59 +08:00
MadCcc
de555912c9
feat: anchor ink ball style (#38616)
* feat: anchor ink ball style

* chore: code clean

* chore: code clean

* chore: code clean

* chore: update snapshot

* chore: change cover
2022-11-17 16:49:09 +08:00
afc163
a8e412261c docs: fix body line-height 2022-11-17 16:15:36 +08:00
afc163
ba4c04f0ec docs: body line-height for site 2022-11-17 14:18:02 +08:00
MadCcc
04da1f3fdf docs: fix site issue 2022-11-17 01:22:09 +08:00
afc163
6f58250bc3
docs: update documentation (#38594)
* docs: update footer text

* docs: update IE support
2022-11-16 16:13:38 +08:00
MadCcc
fab90b09f4
docs: fix site issue (#38552)
* docs: put an example loading component

* fix: site issue

* fix: site issue

* feat: add loading

* feat: alert

* docs: rm ReactDOM.render in md

* docs: use style tag

* chore: update snapshot

* Revert "docs: use style tag"

This reverts commit 1f75a99f8c.

* docs: update demo

* chore: update demo

Co-authored-by: PeachScript <scdzwyxst@gmail.com>
2022-11-15 22:55:01 +08:00
二货机器人
9f7e2ee239 docs: enable puhui bold on logo 2022-11-15 15:31:28 +08:00
Wuxh
61e63d2379
docs: component page document style beautify (#38557) 2022-11-15 10:09:24 +08:00
Peach
515d95847e
docs: use dumi helmet for pre-render (#38560) 2022-11-14 23:14:39 +08:00
miracles1919
9fb3e3a44f
docs: support for opening demos in a new window (#38556) 2022-11-14 20:13:03 +08:00
afc163
2f960df9e7
docs: remove custom scrollbar style (#38551)
https://github.com/ant-design/ant-design/issues/38463#issuecomment-1308806682
2022-11-14 17:03:38 +08:00
MadCcc
49aaa23691
fix: collapse end arrow rotate (#38547)
* fix: collapse end arrow rotate

* chore: menu layout
2022-11-14 15:46:51 +08:00
Dunqing
f25da16c52
docs: fix pnpm not work (#38472) 2022-11-10 16:36:20 +08:00
c0dedance
6d877e5617
fix: img default style is not reset, making the layout disordered (#38474) 2022-11-10 11:08:38 +08:00
MadCcc
25dc2218cd
chore: site test (#38462) 2022-11-09 16:00:28 +08:00
二货爱吃白萝卜
cbcfd38ca7
docs: v5 site upgrade (#38328)
* build: try to use dumi as doc tool

* docs: migrate demo structure to dumi way

* refactor: use type export & import

* docs: migrate demo previewer to dumi

* docs: create empty layout & components

* docs: apply custom rehype plugin

* docs: create empty extra pages

* docs: Add Banner component

* chore: move theme tsconfig.json

* docs: home page init

* docs: migrate header (#37896)

* docs: header

* docs: update

* docs: home init

* clean up

* test: fix site lint

* chore: tsc ignore demo

* chore: dumi demo migrate script

* chore: cards

* docs: home layout

* docs: Update locale logic

* docs: fix getLink logic

* chore: fix ci (#37899)

* chore: fix ci

* ci: remove check-ts-demo

* ci: preview build

* test: ignore demo.tsx

* chore: update script

* test: update snapshot

* test: update node and image test

* chore: add .surgeignore

* docs: layout providers (#37908)

* docs: add components sidebar (#37923)

* docs: sidebar

* docs: update docs title

* docs: update design doc

* chore: code clean

* docs: handle changelog page

* docs: add title

* docs: add subtitle

* docs: active header nav

* chore: code clean

* docs: overview

* chore: code clean

* docs: update intl (#37918)

* docs: update intl

* chore: code clean

* docs: update favicons

* chore: update testPathIgnorePatterns

* chore: code clean

* chore: code clean

* chore: copy 404.html (#37996)

* docs: Home page theme picker

* chore: Update migrate script

* docs: home page update

* docs: theme editor style

* docs: theme lang

* chore: update migrate.js

* docs: fix demo (#38094)

* chore: update migrate.js

* docs: update md

* docs: update demo

* test: fix snapshot

* chore: move debug to code attr in migrate script

* chore: update md

Co-authored-by: PeachScript <scdzwyxst@gmail.com>

* feat: overview page

* feat: Migrate `404` page (#38118)

* feat: migrate IconSearch component (#37916)

* feat<site/IconSearch>: copy IconDisplay from site to .dumi

* feat<site/IconSearch>: change docs of icon

* feat<site/IconSearch>: tweak

* feat<site/IconSearch>: use useIntl instead of injectIntl

* feat<site/IconSearch>: fix ts type error

* feat<site/IconSearch>: use intl.formatMessage to render text

* docs: Adjust home btn sizw

* docs: Update doc

* feat: v5 site overview page (#38131)

* feat: site

* fix: fix

* feat: v5 site overview page

* fix: fix path

* fix: fix

* fix: fix

* docs: fix margin logic

* feat: v5 site change-log page (#38137)

* feat: v5 site change-log page (#38162)

* docs: site redirect to home pag

* docs: theme picker

* docs: use react-intl from dumi (#38183)

* docs: Theme Picker

* docs: update dumi config

* docs: home back fix

* docs: picker colorful

* docs: locale of it

* docs: update components desc

* docs: site of links

* docs: update components list

* docs: update desc

* feat: Migrate `DemoWrapper` component (#38166)

* feat: Migrate `DemoWrapper` component

* feat: remove invalid comments and add comment for `key` prop

* docs: FloatButton pure panel

* chore: update demo

* chore: update dumi config

* Revert "chore: update demo"

This reverts commit 028265d3ba.

* chore: test logic adjust to support cnpm modules

* chore: add locale alias

* docs: /index to /

* docs: add locale redirect head script

* chore: adjust compact

* docs: fix missing token

* feat: compact switch

* chore: code clean

* docs: update home

* docs: fix radius token

* docs: hash of it

* chore: adjust home page

* docs: Add background map

* docs: site theme bac logic

* docs: avatar

* docs: update logo color

* docs: home banner

* docs: adjust tour size

* docs: purepanl update

* docs: transfooter

* docs: update banner gif

* docs: content (#38361)

* docs: title & EditButton

* docs: content

* chore: fix toc

* docs: resource page

* docs: transform resource data from hast

* docs: filename & Resource Card

* chore: enable prerender

* chore: remove less

* docs: toc style

* chore: fix lint

* docs: fix Layout page

* docs: fix CP page

* chore: update demos

* docs: workaround for export dynamic html

* chore: enable demo eslint

* docs: table style

* fix: header shadow

* chore: update snapshot

* fix: toc style

* docs: add title

* docs: Adjust site

* feat: helmet

* docs: site css

* fix: description

* feat: toc debug

* docs: update config-provider

* feat: use colorPanel

* fix: colorPanel value

* feat: anchor ink ball style

* feat: apply theme editor

* fix: code block style

* chore: update demo

* chore: fix lint

* chore: code clean

* chore: update snapshot

* feat: ts2js

* chore: description

* docs: site ready for ssr

includes:
- move client render logic to useEffect in site theme
- extract antd cssinjs to a single css file like bisheng
- workaround to support react@18 pipeableStream for emotion

* chore: bump testing lib

* docs: font size of title

* chore: remove react-sortable-hoc

* chore: update snapshot

* chore: update script

Co-authored-by: PeachScript <scdzwyxst@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: zqran <uuxnet@gmail.com>
Co-authored-by: TrickyPi <530257315@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2022-11-09 12:28:04 +08:00