Commit Graph

131 Commits

Author SHA1 Message Date
afc163
29551aaaba
chore: fix overview page search outline style (#45458) 2023-10-20 23:04:50 +08:00
72fc3b6f3c
chore(site): anchor jump don't work (#45243)
* chore: fix typo error

* chore: fix anchor jump failure

* Revert "chore: fix anchor jump failure"

This reverts commit 9a1127353d.

* chore: fix

* Revert "chore: fix"

This reverts commit 9dc69f1164.

* Revert "site: remove legacy code for hash jump (#44836)"

This reverts commit 72da2678aa.

* chore: remove

* Update .dumi/theme/layouts/DocLayout/index.tsx

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: 红 <wxh16144@qq.com>

* chore: update

---------

Signed-off-by: 红 <wxh16144@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-10-10 17:30:46 +08:00
叶枫
604948e6a9
e 2023-10-09 11:12:51 +08:00
叶枫
75611b7db8
chore: scroll to the top of the page when the search box value changes (#45211) 2023-10-08 15:41:50 +08:00
MadCcc
d5d9e723f8
chore: fix overview link (#45206)
* chore: fix overview link

* chore: update
2023-10-08 13:44:02 +08:00
131a17d099
chore: improve demo dependency logic (#45142) 2023-10-07 09:45:27 +08:00
afc163
07eb5ba82d
docs: move copy button into code previewer (#45099) 2023-09-26 16:41:41 +08:00
MadCcc
e43686da70
docs: fix site issue (#45063)
* docs: fix site issue

* chore: code clean
2023-09-25 16:08:42 +08:00
a9d6422722
docs: improve display of color block in docs (#44790)
* chore: update blog style

* Revert "chore: update blog style"

This reverts commit afc0a1d927.

* Revert "site: update docs styles (#39348)"

This reverts commit 4a803962eb.

# Conflicts:
#	.dumi/theme/builtins/ColorChunk/index.tsx
#	.dumi/theme/builtins/TokenTable/index.tsx
#	docs/react/customize-theme.en-US.md
#	docs/react/customize-theme.zh-CN.md

* chore: revert

* chore:revert

* chore: rename props

* chore: update

* chore(deps): add `dumi-plugin-color-chunk` plugin

* chore: update docs

* chore: update

* Update package.json

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: 红 <wxh16144@qq.com>

* docs: pick #44945

Co-authored-by: RedJue <RedJue@users.noreply.github.com>

---------

Signed-off-by: 红 <wxh16144@qq.com>
Signed-off-by: 红 <wxh1220@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: RedJue <RedJue@users.noreply.github.com>
2023-09-20 16:59:56 +08:00
cwg
2627caebb4
fix: site style conflict (#44899)
* fix: site style conflict

* chore: lint

* feat: optimize code
2023-09-15 22:03:53 +08:00
afc163
fa5c98311a
docs: fix demo code copy function (#44751) 2023-09-11 11:52:36 +08:00
afc163
ae53a452f2
docs: add help text for token customization (#44540)
* docs: add help text for token customization

* docs: add help text for token customization

* docs: add help text for token customization

* docs: add help text for token customization
2023-08-31 09:48:54 +08:00
afc163
3f148d9112 docs: add help text for token customization 2023-08-30 23:02:35 +08:00
叶枫
7e1e6d8e73
chore: fix overview search (#44523) 2023-08-30 09:53:18 +08:00
lijianan
fae1fef77d
fix: add role="button" props to div (#44494)
* fix: add role="button" props to div

* fix: fix
2023-08-29 15:04:03 +08:00
lijianan
4d1bac4651
site: add code-hide Button for CodePreviewer (#44449)
* site: add code-hide Button for CodePreviewer

* fix: fix style

* add token

* fix: fix css props

* fix

* fix: fix

* fix: fix

* Update .dumi/theme/builtins/Previewer/CodePreviewer.tsx

Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>

* fix: fix

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-08-28 20:10:40 +08:00
afc163
0295322564
docs: prevent highlight code initially (#44344) 2023-08-22 19:00:06 +08:00
叶枫
80e1bc87bc
style: remove importOrderSeparation from prettier config (#44336) 2023-08-22 13:11:18 +08:00
MadCcc
da699b11be
docs: add fallback for previewer (#44327)
* docs: add fallback for previewer

* chore: code clean
2023-08-21 23:28:14 +08:00
MadCcc
b50928fb88
chore: split previewer (#44310) 2023-08-21 14:38:22 +08:00
MadCcc
8a65ad6515
docs: fix font color (#44236) 2023-08-15 19:10:32 +08:00
二货爱吃白萝卜
72b449a1a4
docs: update faq (#44198)
* docs: update faq

* chore: update lint

* chore: update lint

* chore: use returnType
2023-08-14 13:32:57 +08:00
MadCcc
12efe328ac
docs: optimize site layout (#44111)
* docs: sticky header

* docs: adjust floatbutton zindex

* chore: code clean
2023-08-08 19:48:41 +08:00
Peach
1273cc9d01
docs: avoid unnecessary re-render when toggle debug (#42255)
* docs: avoid unnecessary re-render when toggle debug

* chore: upgrade dumi

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-08-07 17:07:25 +08:00
MadCcc
dc065177f9
docs: sandpack block support config (#44072)
* docs: sandpack block support config

* chore: fix lint
2023-08-07 14:24:05 +08:00
afc163
c5cae926ff
docs: improve code previewer style (#44071)
* docs: improve code previewer style

* docs: simplify dom structure
2023-08-07 13:47:28 +08:00
MadCcc
d9c7a0cc82
docs: react docs arrange (#44029)
* docs: react docs arrange

* chore: code clean

* docs: arrange docs en

* docs: update

* docs: update

* docs: update en doc

* docs: update
2023-08-04 19:27:38 +08:00
lijianan
ee61b30f6b
site: fix error Tabs.TabPane is deprecated use items directly (#44028)
* site: fix error Tabs.TabPane is deprecated use `items` directly

* fiux
2023-08-04 17:32:09 +08:00
MadCcc
76dd6dc1bb
[WIP] docs: use sandpack for demo (#43854)
* docs: use sandpack for demo

* chore: update

* docs: adjust theme

* docs: sandpack ssr

* docs: sandpack fallback

* fix: ssr

* chore: fix css extract

* chore: fix lint

* fix: fix lint

* chore: rm theme

* fix: solve ssr sissue

* chore: fix lint

---------

Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2023-08-01 10:53:55 +08:00
二货爱吃白萝卜
2cdf586291
chore: fix lint (#43873)
* chore: fix lint

* chore: fix lint

* test: fix 16

* fix: lint
2023-07-28 16:17:43 +08:00
MadCcc
1d2e0db8f4
docs: fix resource page (#43782)
* docs: fix resource page

* chore: fix min-height

* chore: add test
2023-07-25 15:15:42 +08:00
afc163
cba1493a83
site: fix a11y issues (#43779) 2023-07-25 14:03:26 +08:00
MadCcc
23671fda84
chore: split IconWrapper (#43775)
* chore: split icon-wrapper

* chore: add fallback

* chore: add fallback
2023-07-25 11:44:59 +08:00
afc163
05f9677df7
site: improve a11y score in ant.design site (#43751) 2023-07-24 15:38:49 +08:00
lijianan
1fea8dcb09
chore: code style optimization (#43723)
* chore: code style optimization

* Update progress.tsx

Signed-off-by: lijianan <574980606@qq.com>

---------

Signed-off-by: lijianan <574980606@qq.com>
2023-07-23 10:12:05 +08:00
afc163
c831145cf4
site: improve a11y score in ant.design site (#43699) 2023-07-21 15:04:42 +08:00
MadCcc
e96059cd76
docs: migrate to antd-style (#43623)
* docs: migrate to antd-style

* [CodeFactor] Apply fixes

* chore: code clean

* chore: lint

* chore: try cache

* chore: try

* fix: ssr

* chore: code clean

---------

Co-authored-by: codefactor-io <support@codefactor.io>
2023-07-20 19:27:33 +08:00
二货爱吃白萝卜
cf40fb02b9
docs: fix docs problems (#43622)
* docs: fix bug

* docs: fix link

* docs: fix video

* chore: en
2023-07-18 18:22:47 +08:00
Chang Wei
efbe8460e4
chore: add icons 'Dingtalk' and 'WhatsApp' to the category 'logo' (#43577)
Co-authored-by: afc163 <afc163@gmail.com>
2023-07-15 20:55:44 +08:00
thinkasany
0d31270277
site: optimization type & props (#43433)
* chore: optimization type & props

* fix: remove useless type
2023-07-07 18:28:13 +08:00
MadCcc
78923c541a
docs: Link support open in new tab or window (#43398)
* docs: Link support open in new tab or window

* docs: apply more Linki

* Revert "docs: apply more Linki"

This reverts commit e19ddd7479.
2023-07-06 13:45:40 +08:00
MadCcc
b64a57d5d0
docs: component token meta (#43337)
* docs: component token meta

* docs: more

* docs: complete
2023-07-05 17:49:59 +08:00
kiner-tang(文辉)
3c979eb84b
site: hide package manager tab which command is empty (#43032)
* site: hide pkgManager tab when the command is empty

* feat: optimize code

* feat: optimize code
2023-06-15 23:17:38 +08:00
lijianan
4a6c09ca2a
site: site optimization (#43007)
* site: site optimization

* Update practical-projects.zh-CN.md
2023-06-14 16:28:38 +08:00
lijianan
81c26096be
docs: update site use-with-vite (#42906)
* docs: update use-with-vite

* update

* fix
2023-06-12 15:44:44 +08:00
kiner-tang(文辉)
fddd84c0bd
fix(site): solve drawer open delay in safari issue (#42922)
* fix: solve drawer open delay in safari issue

* feat: update comment

* feat: reset debug code

* feat: optimize code

* feat: optimize code
2023-06-09 18:20:53 +08:00
42ff0ea3de
docs: add rc-util to top level in codesandbox (#42672)
* fix: tem  modify rc-util@latest in codesandbox

* fix: tem modify rc-util@:^5.32.0 in codesandbox

* fix: add pkgDep info in dumi local pilugin

* chore: rename

---------

Co-authored-by: 洋 <hetongyang@bytedance.com>
2023-05-27 20:46:28 +08:00
lijianan
a9297b6ea3
site: optimize the website arrow style (#42591)
* fix

* fix

* fix

* update icon

* update
2023-05-25 21:02:49 +08:00
二货爱吃白萝卜
3097ec39e1
fix: Site link auto switch by locale (#42381)
* Revert "Revert "docs: auto trans link" (#42373)"

This reverts commit fa90b25b3e.

* docs: site update link auto switch logic
2023-05-16 08:42:18 +08:00
lijianan
fa90b25b3e
Revert "docs: auto trans link" (#42373)
* Revert "docs: auto trans link (#42311)"

This reverts commit e28c9237d6.

* Apply suggestions from code review

---------

Co-authored-by: afc163 <afc163@gmail.com>
2023-05-15 21:22:52 +08:00