Alexey Pyltsyn
|
2bc3b28cec
|
Merge branch 'main' of github.com:facebook/docusaurus into lex111/filter-sidebar
|
2022-03-28 21:53:22 +03:00 |
|
Joshua Chen
|
755b03861c
|
fix(theme): only parse HTML- and JSX-style comments in MD code (#7033)
|
2022-03-28 09:57:04 +08:00 |
|
Joshua Chen
|
cb03764ce5
|
refactor(theme): extract plumbing code of BTT button into theme-common (#7021)
* refactor(theme): extract plumbing code of BTT button into theme-common
* oops
|
2022-03-26 21:05:48 +08:00 |
|
Sébastien Lorber
|
1b974e8b1b
|
refactor: split and cleanup theme/DocPage (#7006)
|
2022-03-25 19:58:28 +01:00 |
|
Sébastien Lorber
|
73deaa8bf6
|
chore: prepare v2.0.0-beta.18 release (#7001)
|
2022-03-25 16:16:38 +01:00 |
|
Joshua Chen
|
87592bca03
|
refactor: ensure all types are using index signature instead of Record (#6995)
* refactor: ensure all types are using index signature instead of Record
* kick CI
|
2022-03-25 18:06:30 +08:00 |
|
Joshua Chen
|
b456a64f61
|
feat(theme-common): JSDoc for all APIs (#6974)
* feat(theme-common): JSDoc for all APIs
* fix tests
|
2022-03-23 21:39:19 +08:00 |
|
Joshua Chen
|
948271a0ff
|
test: improve test coverage; reorder theme-common files (#6956)
* test: improve test coverage; reorder theme-common files
* no need for this
|
2022-03-22 15:33:55 +08:00 |
|
Joshua Chen
|
0a5354dc32
|
refactor(core): move browserContext and docusaurusContext out of client exports (#6955)
|
2022-03-22 14:30:14 +08:00 |
|
Alexey Pyltsyn
|
aa997da632
|
Merge branch 'main' of github.com:facebook/docusaurus into lex111/filter-sidebar
|
2022-03-20 13:24:48 +03:00 |
|
Alexey Pyltsyn
|
251223f75e
|
feat: add ability to filter doc sidebar items
|
2022-03-20 13:05:28 +03:00 |
|
Joshua Chen
|
19942f990a
|
chore: migrate Jest and website to SWC (#6944)
* chore: migrate Jest and website to SWC
* ignore template
|
2022-03-19 20:56:30 +08:00 |
|
Sébastien Lorber
|
74f653dd82
|
refactor(theme-{classic,common}): change how site/page/search metadata is handled (#6925)
|
2022-03-18 18:53:00 +01:00 |
|
Sébastien Lorber
|
a1d333e96b
|
refactor(theme-{classic,common}): split navbar into smaller components + cleanup + swizzle config (#6895)
|
2022-03-18 16:21:53 +01:00 |
|
Alexey Pyltsyn
|
ecbe0b26c5
|
refactor(theme-{classic,common}): refactor ColorModeToggle + useColorMode() hook (#6930)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
|
2022-03-18 15:28:35 +01:00 |
|
Sébastien Lorber
|
8a1421a938
|
feat(core,theme): useRouteContext + HtmlClassNameProvider (#6933)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
|
2022-03-18 10:57:32 +01:00 |
|
Joshua Chen
|
cc0bceab9c
|
chore: tighten ESLint config (#6931)
* chore: tighten ESLint config
* more refactor
* refactor push
* fix
|
2022-03-17 17:59:41 +08:00 |
|
Joshua Chen
|
8c1e518ba2
|
chore: do not print prototype in jest snapshot (#6908)
|
2022-03-13 19:34:50 +08:00 |
|
Joshua Chen
|
3a4b9b4c30
|
refactor: install eslint-plugin-regexp (#6906)
* refactor: install eslint-plugin-regexp
* simplify
* simplify
* fix
|
2022-03-13 18:32:17 +08:00 |
|
Joshua Chen
|
d85cee576d
|
test: improve test coverage; properly test core client APIs (#6905)
* test: improve test coverage
* fix
|
2022-03-12 23:15:45 +08:00 |
|
Joshua Chen
|
76cb012209
|
chore: spell-check test files (#6903)
|
2022-03-12 15:24:56 +08:00 |
|
Joshua Chen
|
f6baaa6b75
|
test(theme-common): improve test coverage (#6902)
* test(theme-common): improve test coverage
* revert
|
2022-03-12 13:17:21 +08:00 |
|
Joshua Chen
|
aa5a2d4c04
|
test: enable a few jest eslint rules (#6900)
* test: enable a few jest eslint rules
* more
|
2022-03-12 08:43:09 +08:00 |
|
Sébastien Lorber
|
1efc6c6091
|
refactor(theme-classic): split theme footer into smaller components + swizzle config (#6894)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
|
2022-03-11 14:55:53 +01:00 |
|
Joshua Chen
|
c9ee6e467c
|
refactor: import jest as global; unify import style of some modules (#6898)
* refactor: import jest as global
* fix react
|
2022-03-11 19:04:27 +08:00 |
|
Joshua Chen
|
e08777c9c5
|
refactor(theme-classic): avoid using clsx class dict with CSS modules (#6891)
|
2022-03-10 20:49:52 +08:00 |
|
Joshua Chen
|
8e934450d8
|
refactor: remove unnecessary default values normalized during validation (#6864)
* refactor: remove unnecessary default values normalized during validation
* more
|
2022-03-07 19:23:30 +08:00 |
|
Joshua Chen
|
4db0c620de
|
refactor: enable a few TS flags (#6852)
* refactor: enable a few TS flags
* refactor
* revert to working version
* fix
* better
* change
|
2022-03-06 13:09:10 +08:00 |
|
Sébastien Lorber
|
8dbd656340
|
chore: prepare v2.0.0-beta.17 release (#6829)
|
2022-03-03 18:44:41 +01:00 |
|
Joshua Chen
|
c387a177e8
|
refactor(theme-common): unify missing context errors (#6826)
* refactor(theme-common): unify missing context errors
* update test
* more robust
|
2022-03-03 22:26:56 +08:00 |
|
Sébastien Lorber
|
2144db0f58
|
fix(theme-common): breadcrumbs home bug in docs-only (#6824)
|
2022-03-03 20:20:02 +08:00 |
|
Sébastien Lorber
|
fb201313b9
|
fix(theme-common): docs breadcrumbs not working with baseUrl (#6816)
|
2022-03-02 18:09:05 +01:00 |
|
Joshua Chen
|
7ec44bb32c
|
refactor(theme-classic): replace color mode toggle with button; remove switchConfig (#6771)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
|
2022-03-02 15:57:17 +01:00 |
|
Sébastien Lorber
|
124511f445
|
chore: prepare v2.0.0-beta.16 release (#6760)
|
2022-02-25 16:00:11 +01:00 |
|
Sébastien Lorber
|
44a65f3337
|
fix(theme-common): isSamePath should be case-insensitive (#6758)
|
2022-02-25 14:58:54 +01:00 |
|
Joshua Chen
|
f903422617
|
refactor: unify error handling behavior (#6755)
* refactor: unify error handling behavior
* revert
* normalize paths
* test...
* change
* does this work...
* fix...
* maybe fix
* maybe fix
* fix
* fix...
|
2022-02-25 15:07:13 +08:00 |
|
Joshua Chen
|
dcbf9f644e
|
chore: upgrade docsearch-react to v3 stable, bump dependencies (#6752)
* chore: upgrade dependencies
* revert
* validation
* fix blog
* reformat
|
2022-02-24 19:39:32 +08:00 |
|
Sébastien Lorber
|
89560226f0
|
fix(theme-classic): temporarily disable toc heading autoscrolling (#6748)
|
2022-02-24 11:28:17 +01:00 |
|
Sébastien Lorber
|
ece7399d2e
|
fix(theme-classic): fix breadcrumb home link bug with new useHomePageRoute() hook (#6749)
|
2022-02-24 11:27:16 +01:00 |
|
Joshua Chen
|
0d14470d54
|
refactor: unify export directive style (#6751)
|
2022-02-24 17:25:17 +08:00 |
|
Alexey Pyltsyn
|
0c807b3501
|
feat: sync color mode between browser tabs (#6723)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
|
2022-02-23 16:55:57 +01:00 |
|
Joshua Chen
|
c3370be64d
|
refactor: make MDX export a flat TOC list instead of tree (#6729)
|
2022-02-23 15:12:04 +01:00 |
|
Joshua Chen
|
ea6ceaa371
|
refactor: ensure lodash is default-imported (#6716)
|
2022-02-19 18:15:02 +08:00 |
|
Alexey Pyltsyn
|
089ef14c9a
|
fix(theme-common): do not run useLocationChange when hot reloading (#6696)
|
2022-02-17 08:41:15 +08:00 |
|
Jody Heavener
|
3629b5ab39
|
feat(docs,theme-classic): docs breadcrumbs (#6517)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
|
2022-02-16 19:02:58 +01:00 |
|
Joshua Chen
|
0c7e592d34
|
chore: upgrade dependencies (#6660)
* chore: upgrade dependencies
* fix types
|
2022-02-12 15:29:40 +08:00 |
|
Joshua Chen
|
acf4ae8f96
|
refactor: reduce exported members of docusaurus router (#6651)
|
2022-02-11 12:16:13 +01:00 |
|
Joshua Chen
|
d2574b287f
|
fix: remove more peer dependency warnings (#6615)
* fix: remove more peer dependency warnings
* fixes
* fixes
* fix
* remove more
|
2022-02-05 17:46:01 +08:00 |
|
Joshua Chen
|
45f6f8b869
|
chore: fix ESLint warnings, restrict export all syntax (#6605)
* chore: fix ESLint warnings, forbid export all syntax
* fix...
* reorder
|
2022-02-04 21:57:10 +08:00 |
|
Joshua Chen
|
01c6f15b15
|
fix(theme-classic): make focused link outlined with JS disabled (#6505)
|
2022-02-03 18:28:10 +01:00 |
|