mturoci
30573dd7ab
fix(search-algolia): pass custom transformItems function to SearchBar ( #8462 )
...
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
closes undefined
Closes https://github.com/facebook/docusaurus/pull/8462
Closes https://github.com/facebook/docusaurus/issues/8461
2023-01-26 16:38:49 +01:00
sebastienlorber
deb376e4a6
feat(theme-algolia): add option.replaceSearchResultPathname to process/replaceAll search result urls
...
#8428
2023-01-26 16:36:26 +01:00
Sébastien Lorber
de972142a8
chore: backport retro compatible commits for the Docusaurus v2.2 release ( #8264 )
...
Co-authored-by: Jan Peer Stoecklmair <jan.peer.stoecklmair@dynatrace.com>
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>
Co-authored-by: LittleboyHarry <littleboyharry@qq.com>
Co-authored-by: Mikey O'Toole <mikey@homotechsual.dev>
Co-authored-by: Jan Peer Stöcklmair <jan.oster94@gmail.com>
Co-authored-by: Nguyễn Thành Nam <namnguyenthanh.work@gmail.com>
Co-authored-by: Sanjaiyan Parthipan <parthipankalayini@gmail.com>
Co-authored-by: Ramazan SANCAR <ramazansancar4545@gmail.com>
Co-authored-by: mturoci <64769322+mturoci@users.noreply.github.com>
Co-authored-by: Adnan Hashmi <56730784+adnanhashmi09@users.noreply.github.com>
Co-authored-by: Pranav Joglekar <pranav2000joglekar@gmail.com>
Co-authored-by: forgeRW <20483211+forgeRW@users.noreply.github.com>
Co-authored-by: Masahiko Hara <pasora@sfc.wide.ad.jp>
Co-authored-by: Johan Fagerberg <johanringmann@gmail.com>
Co-authored-by: John Reilly <johnny_reilly@hotmail.com>
Co-authored-by: Sam Wall <oss@samuelwall.co.uk>
Co-authored-by: Jeferson S. Brito <30840709+jeferson-sb@users.noreply.github.com>
Co-authored-by: evan <evanmccarthy@outlook.com>
Co-authored-by: Xabier Lahuerta Vazquez <xlahuerta@protonmail.com>
Co-authored-by: Forresst <forresst17@gmail.com>
Co-authored-by: Shanmughapriyan S <priyanshan03@gmail.com>
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
2022-10-29 15:13:42 +02:00
Sébastien Lorber
7743aa6307
chore: release Docusaurus v2.1.0 ( #8040 )
2022-09-02 12:41:55 +02:00
Sébastien Lorber
bb65b5c578
chore: release v2.0.1 ( #7919 )
2022-08-08 16:23:27 +02:00
Sébastien Lorber
d255389e48
chore: prepare v2.0.0-rc.1 release ( #7778 )
2022-07-14 18:17:25 +02:00
Arthur Brugière
1ad97843ac
fix(algolia-search): test for canUseIntersectionObserver ( #7761 )
...
[FIX] Update observer condition
Replace condition canUseDOM to canUseIntersectionObserver as check is done for IntersectionObserver usage
2022-07-11 19:03:54 +08:00
Joshua Chen
07641ae53d
chore: upgrade dependencies ( #7754 )
2022-07-10 00:32:32 +08:00
Sébastien Lorber
f0f97f29f9
chore: prepare v2.0.0-beta.22 release ( #7741 )
2022-07-08 18:34:05 +02:00
Forresst
ae2ba5e37a
feat(algolia-search): allow translating search modal ( #7666 )
...
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-07-06 18:21:55 +02:00
Joshua Chen
fa22927250
chore: upgrade dependencies ( #7684 )
...
* chore: upgrade dependencies
* fix
* reupgrade
* downgrade
2022-07-04 19:36:43 +08:00
Sébastien Lorber
2c7012f706
refactor(theme-common): rename useDynamicCallback to useEvent ( #7671 )
2022-06-24 12:10:03 +02:00
Sébastien Lorber
9473508c33
refactor(theme-common): split package into public/internal API entrypoints ( #7660 )
...
* add theme-common/internal export
* Split @docusaurus/theme-common into public/internal apis
* fixes
* public <-> private
* public <-> private
* public <-> private
* fix
* add "removeThemeInternalReexport" CI script
* :s windows CI check not working: not that useful
* remove bad import
* refactors
* reorder
* make useBackToTopButton internal
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-06-24 11:21:27 +02:00
Joshua Chen
5137543914
chore: upgrade dependencies ( #7646 )
2022-06-18 17:03:41 +08:00
Joshua Chen
b4d93b9bd0
chore: upgrade to TS 4.7, compile with NodeNext ( #7586 )
...
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-06-15 19:15:11 +02:00
Sébastien Lorber
613d938cfc
chore: prepare v2.0.0-beta.21 release ( #7513 )
...
* add beta 21 version
* v2.0.0-beta.21
* typo
2022-05-27 18:29:11 +02:00
Joshua Chen
47a2cca17d
chore: require Node 16.14 ( #7501 )
2022-05-26 11:44:18 +02:00
Joshua Chen
cd21a31005
test: strengthen internal types ( #7488 )
2022-05-25 15:38:44 +08:00
Joshua Chen
624735bd92
refactor: fix more type-aware linting errors ( #7479 )
2022-05-24 19:19:24 +08:00
Joshua Chen
bf1513a3e3
refactor: fix a lot of errors in type-aware linting ( #7477 )
2022-05-24 15:40:26 +08:00
Joshua Chen
3666a2ede5
refactor: remove a lot of implicit anys ( #7468 )
2022-05-23 15:40:53 +08:00
Joshua Chen
9d1a91774a
chore: upgrade dependencies ( #7462 )
2022-05-22 10:40:50 +08:00
Joshua Chen
ba0d94d02b
chore: normalize naming of admin scripts ( #7448 )
2022-05-18 21:34:34 +08:00
Joshua Chen
6b53d4263d
misc: make copyUntypedFiles work for watch mode ( #7445 )
2022-05-18 19:18:32 +08:00
Joshua Chen
a555fd1dcb
refactor: make each tsconfig explicitly declare module and include/exclude ( #7443 )
2022-05-18 12:48:28 +08:00
Joshua Chen
7613ecb9ea
refactor: use TS project references instead of running tsc multiple times ( #7437 )
...
* refactor: use TS project references instead of running tsc multiple times
* deduplicate
* dedup
* eliminate --project
* add swc config
* add target
2022-05-17 15:21:44 +08:00
Joshua Chen
0838884f67
chore: enable import/order rule ( #7418 )
2022-05-14 23:39:50 +08:00
Sébastien Lorber
26df8c83ce
chore: prepare v2.0.0-beta.20 release ( #7347 )
2022-05-05 20:26:48 +02:00
Alexey Pyltsyn
6fa51890f0
chore: prepare v2.0.0-beta.19 release ( #7325 )
...
* chore: prepare v2.0.0-beta.19 release
* v2.0.0-beta.19
2022-05-04 18:38:45 +03:00
Joshua Chen
a30daa1530
chore: remove baseUrl from tsconfig ( #7258 )
...
* chore: remove baseUrl from tsconfig
* ?
2022-04-28 22:03:25 +08:00
Joshua Chen
242f2e780e
chore: upgrade dependencies ( #7232 )
2022-04-23 11:55:01 +08:00
Joshua Chen
b154318c28
chore: upgrade dependencies ( #7193 )
2022-04-17 17:32:41 +08:00
Joshua Chen
fa1ce230ea
refactor: capitalize comments ( #7188 )
...
* refactor: capitalize comments
* revert...
2022-04-17 16:39:11 +08:00
Alexey Pyltsyn
fe064a87a6
fix: adjust spacing for custom search properly ( #7164 )
2022-04-14 11:53:47 +02:00
Joshua Chen
2a7820582c
chore: upgrade dependencies ( #7138 )
...
* chore: upgrade dependencies
* reorg
* update comment
2022-04-09 12:36:10 +08:00
Joshua Chen
e5bf59fd9b
refactor: mark a few client-side packages as side-effect-free ( #7085 )
...
* refactor: mark a few client-side packages as side-effect-free
* fix
* fix again
* fix...
* revert sideeffect
* revert
* fix again...
* properly fix
* fix
* properly fix
2022-04-09 09:08:18 +08:00
Joshua Chen
9145ae88cc
chore: disable string escaping in snapshots ( #7131 )
2022-04-08 11:23:19 +08: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
fa50d09d3b
chore: upgrade dependencies ( #6991 )
...
* chore: upgrade dependencies
* fix
2022-03-25 10:47:08 +08:00
Joshua Chen
6e2eb44964
refactor: unify how validateOptions is handled ( #6961 )
...
* refactor: unify how validateOptions is handled
* fix types
* fix again
2022-03-22 19:40:56 +08:00
Joshua Chen
e8a2f66a0f
chore: upgrade dependencies ( #6946 )
...
* chore: upgrade dependencies
* reformat
2022-03-21 07:45:29 +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
Joshua Chen
68aaf9201f
feat(core): allow plugin lifecycles to return relative paths ( #6921 )
...
* feat(core): resolve plugin lifecycles returning relative paths
* fix typo
* fix tests
* revert
* rename path -> entryPath
2022-03-16 20:47:15 +08:00
Joshua Chen
ff1b7168ba
chore: upgrade dependencies ( #6916 )
2022-03-15 13:16:21 +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
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
Joshua Chen
e842b40a54
fix(theme-algolia): declare content-docs as dependency ( #6888 )
2022-03-10 11:20:59 +08:00
Joshua Chen
99b1fb90d5
chore: upgrade dependencies ( #6879 )
2022-03-09 07:34:35 +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