Joshua Chen
e21591c073
chore: upgrade dependencies (non-major) ( #8749 )
...
chore: upgrade dependencies
2023-03-08 21:28:14 -05:00
Sébastien Lorber
f8edeb0816
feat(theme-classic): respect prefers-reduced-motion: reduce
mediaquery, bump Infima to alpha.43 ( #8674 )
2023-02-17 13:03:38 +01:00
Moritz Stückler
533777cf2b
feat(theme-common): allow passing a string for details summary ( #8656 )
...
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2023-02-16 16:14:09 +01:00
Sébastien Lorber
50d6d1e56b
fix(theme-common): fix issue in tab scroll position restoration on tab click ( #8628 )
2023-02-03 12:48:58 +01:00
Sébastien Lorber
5b05c0e73e
fix(theme-common): localStorage utils dispatch too many storage events leading to infinite loop ( #8619 )
2023-02-02 15:39:40 +01:00
Sébastien Lorber
140f0b1d4c
fix(theme-common): prepare usage of useSyncExternalStore compatibility with React 18 ( #8618 )
2023-02-02 14:41:33 +01:00
Joshua Chen
1bff83cacc
fix(theme-classic): allow rendering single tab item ( #8593 )
2023-02-02 12:19:31 +01:00
Joshua Chen
19c1e27b52
fix(algolia): make search footer respect searchPagePath ( #8539 )
2023-01-19 14:14:12 +01:00
Joshua Chen
3526059214
chore: bump dependencies major versions ( #8537 )
2023-01-10 15:22:19 -05:00
Joshua Chen
e8a07633ba
chore: upgrade dependencies ( #8534 )
...
* chore: upgrade dependencies
* FIxes
* Bump again
2023-01-10 13:23:16 -05:00
Sébastien Lorber
9c860ce419
fix(theme): refactor Tabs, make groupId + queryString work fine together ( #8486 )
2022-12-29 12:41:53 +01:00
Viktor Malmedal
4a448773b6
feat: add eslint plugin no-html-links ( #8156 )
...
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: Viktor Malmedal <viktor.malmedal@eniro.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2022-12-14 18:28:29 +01:00
Martin Adamko
f3563ca23c
fix(theme-classic): polish admonition details, render title-only admonitions ( #8150 )
...
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-12-09 20:02:06 +01:00
mturoci
5c09dbfc3d
feat(theme-classic): store selected tab in query string. ( #8225 )
...
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
Closes https://github.com/facebook/docusaurus/issues/7008
2022-12-09 17:46:09 +01:00
Sébastien Lorber
d8c72fb32d
fix(docs,theme): auto-generated category index should not display unlisted content ( #8319 )
2022-11-10 18:31:01 +01:00
Jody Heavener
683ba3d2a0
feat(docs,blog,pages): add support for "unlisted" front matter - hide md content in production ( #8004 )
...
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-11-03 14:31:41 +01:00
Joshua Chen
e301523138
fix(mdx-loader): properly unwrap mdxAdmonitionTitle placeholder ( #8246 )
2022-10-26 12:52:29 -04:00
mturoci
aa4fa66794
fix(theme-classic): fix SkipToContent without JS , refactor, make it public theming API ( #8204 )
...
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-10-19 18:27:08 +02:00
Rashid
79b3f65a17
fix(live-codeblock): add error boundary to live code preview ( #8015 )
...
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-10-13 17:49:27 +02:00
Sébastien Lorber
a492025cbf
fix(theme): preserve url ?search#hash on navbar version/locale dropdowns navigations ( #8059 )
2022-09-07 19:36:04 +02:00
Sébastien Lorber
6f63ffe0a3
refactor(theme): split admonitions, make swizzle easier, better retrocompatibility ( #7945 )
...
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-09-07 17:49:44 +02:00
Sébastien Lorber
c811d6249e
feat(theme): ability to use <DocCardList> without items prop, on any doc page ( #8008 )
2022-08-26 17:42:59 +02:00
Sébastien Lorber
3b9b497d13
fix(plugin-docs,theme): refactor docs plugin routes and component tree ( #7966 )
2022-08-18 17:55:05 +02:00
Sébastien Lorber
b7ea00a917
chore: bump main to 3.0.0-alpha.0 ( #7923 )
2022-08-08 19:13:49 +02:00
Sébastien Lorber
965a01e589
chore: port-2.0.0-rc.1 ( #7782 )
2022-07-14 19:30:17 +02: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
Sébastien Lorber
c3ff131110
refactor(theme): split BlogPostItem into smaller theme subcomponents ( #7716 )
2022-07-08 13:28:53 +02:00
Sébastien Lorber
bc0538f6fa
refactor(theme-common): move useDocsPreferredVersion() to public api ( #7729 )
2022-07-06 17:58:18 +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
afc08eef4f
refactor(theme): move LayoutProviders to Layout/Provider; composeProviders util ( #7676 )
...
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-06-24 18:36:27 +02: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
Sébastien Lorber
42ab07f62f
feat(theme-classic): themeConfig navbar/footer logos accept className/style + update Meta Open-Source Logo ( #7643 )
2022-06-23 11:22:27 +02:00
Sébastien Lorber
fd87afd249
refactor(docs,theme): split DocItem comp, useDoc hook ( #7644 )
...
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-06-22 14:27:23 +02:00
Joshua Chen
51d7899b0d
fix(theme-common): add a missing generic constraint ( #7648 )
2022-06-22 13:29:31 +02: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
Le Thi Van
5444a230cf
feat: allow specifying custom target for FooterLogo ( #7557 )
...
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-06-03 17:28:27 +02:00
Sébastien Lorber
9d0bf2e090
feat: add admonition type title translations ( #7556 )
...
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-06-03 16:40:02 +02:00
Sébastien Lorber
17fe43ecc8
fix(theme-classic): code block wrap mode should allow wrapping in the middle of a word ( #7551 )
2022-06-02 17:40:42 +02:00
dpang314
b215ad0e1b
fix(theme-classic): inconsistent code block wrapping ( #7485 )
...
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-06-02 15:56:54 +02:00
Joshua Chen
9023b7740c
refactor: remove sub-eslintrc, fix more lint errors ( #7530 )
2022-05-30 14:49:51 +08:00
Joshua Chen
8b1acb50d1
fix: make type-checking pass in Yarn PnP ( #7521 )
...
* fix: make type-checking pass in Yarn PnP
* fix
* fix?
* fix...
* almost there
* try again
* little fix
* disable
2022-05-28 23:52:05 +08: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
d50fe3b670
test: fix ALL type errors in tests ( #7487 )
2022-05-25 14:01:10 +08:00
Joshua Chen
e2e40b8f5f
test: fix some type errors in test files ( #7486 )
2022-05-25 11:46:10 +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