Yoni Chechik
c2ce8a02e7
fix(theme): add aria-label to skip to content link region ( #7982 )
...
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-08-24 17:19:39 +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
eac3239757
feat(docs): allow to configure noIndex per doc version ( #7963 )
2022-08-17 16:55:49 +02:00
Sébastien Lorber
de526e1ab2
feat(plugin-docs): docs sidebar item link: support "autoAddBaseUrl" attribute ( #7949 )
2022-08-12 12:50:12 +02:00
Sébastien Lorber
53bb0307dd
refactor(theme-classic): split AnnouncementBar, increase z-index, use shadow ( #7940 )
2022-08-12 12:34:54 +02:00
Sébastien Lorber
ad15605545
feat(theme-classic): use lang attribute in navbar locale dropdown items ( #7942 )
2022-08-12 12:33:53 +02:00
Kevin Østerkilde
221b114b2c
refactor(theme-classic): make tag text visually certered ( #7876 )
2022-08-09 20:00:43 +02:00
Joshua Chen
308d3e1f89
docs: remove mention of beta ( #7905 )
...
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-08-09 19:26:23 +02:00
Sébastien Lorber
b7ea00a917
chore: bump main to 3.0.0-alpha.0 ( #7923 )
2022-08-08 19:13:49 +02:00
yzhe819
d938ff7430
fix(theme-classic): code block line number display with line wrapping ( #7910 )
...
* fix: line numbers display issue of code block
* test: add dogfooding test page
* chore: lint
* test: move to code-block-tests
2022-08-07 23:01:31 +08:00
Markshawn
f6835898bc
chore: fix CSS import order ESLint rule ( #7852 )
...
* enhance: added ESLint ruler for CSS import
* chore: added ruler for default import of css, and fixed all exsting files
* chore: reverted changes on css header rulers
2022-08-01 00:05:00 +08:00
whiteand
cf134a5308
fix: collapse siblings when first category is selected ( #7786 )
...
fix: not collapsing when first category is selected
2022-07-15 16:54:09 +08:00
Sébastien Lorber
965a01e589
chore: port-2.0.0-rc.1 ( #7782 )
2022-07-14 19:30:17 +02:00
Sébastien Lorber
9788944df4
refactor(theme): fix duplicate page metadata usage ( #7777 )
2022-07-14 14:44:45 +02:00
Sébastien Lorber
665c3117af
chore: bump Infima to 0.2.0-alpha.42, fix a:hover link bug ( #7771 )
2022-07-13 13:57:35 +02:00
Joshua Chen
cba8be01a3
fix(theme-classic): validate options properly ( #7755 )
...
* fix(theme-classic): validate options properly
* improve normalization
* fix doc
2022-07-11 19:24:46 +08:00
LichLord91
cd7da6113e
fix(theme-classic): fix Layout theme height CSS ( #7752 )
...
* fix(theme-classic): fix Layout theme css height
This fixes html and body tags height from bug report
https://github.com/facebook/docusaurus/issues/7746
* Update styles.module.css
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-07-10 00:32:48 +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
Sébastien Lorber
d3d22d3a72
refactor(theme): nest theme icons under subfolder @theme/Icon/* ( #7740 )
2022-07-08 16:56:53 +02:00
Sébastien Lorber
c3ff131110
refactor(theme): split BlogPostItem into smaller theme subcomponents ( #7716 )
2022-07-08 13:28:53 +02:00
Sunghyun Cho
a25e18ce32
fix(theme): show blog post edit link even when no tag & not truncated ( #7727 )
...
Show edit link even when no tag & not truncated.
2022-07-06 18:46:49 +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
cebe4840aa
misc: add IDE language annotation comments ( #7678 )
...
add IDE language annotations
2022-06-25 09:55:28 +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
90a8ca387e
chore: prevent importing theme components with relative paths ( #7674 )
2022-06-24 17:22:44 +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
a989a1d17e
chore: upgrade Infima to alpha.40 ( #7664 )
2022-06-23 16:50:19 +08:00
Ben Myers
3990404419
fix(theme-classic): expose empty string alt text in navbar logos ( #7659 )
...
* fix: Expose empty string alt text in brand logos via nullish coalescing
* fix: Update boolean logic for fallbacks
* fix: Dogfood fix on Docusaurus brand logo
* refactor: Un-inline alt logic, and reduce chance of duplication in fallback
2022-06-23 11:42:52 +08: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
Matthias Koch
5fe33bef06
fix(content-pages): add article wrapper around MDXContent ( #7595 )
2022-06-16 14:00:22 +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
Joshua Chen
ec8230b7ba
chore: upgrade dependencies ( #7596 )
2022-06-11 11:51:09 +08:00
Joshua Chen
7869e74fd7
refactor(pwa): simplify registerSW code, fix ESLint errors ( #7579 )
2022-06-07 21:42:17 +08: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
Alexey Pyltsyn
5746c58f41
refactor: handle all admonitions via JSX component ( #7152 )
...
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-06-03 14:26:33 +02:00
Joshua Chen
9023b7740c
refactor: remove sub-eslintrc, fix more lint errors ( #7530 )
2022-05-30 14:49:51 +08:00
Joshua Chen
f443e992b9
refactor: mark toc in loaded MDX as non-optional ( #7524 )
2022-05-29 22:36:41 +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
9cf2bf1199
fix(core): always treat error boundary fallback as a callback ( #7492 )
...
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2022-05-26 13:05:03 +02:00
Joshua Chen
e955ae472d
fix(theme-classic): allow nested task lists to preserve the indent ( #7438 )
...
* fix(theme-classic): allow nested task lists to preserve the indent
* add Ul back
2022-05-26 12:41:23 +02:00
Joshua Chen
47a2cca17d
chore: require Node 16.14 ( #7501 )
2022-05-26 11:44:18 +02:00
Joshua Chen
f609acab4f
fix(theme-classic): consistently apply the right active class name for all navbar items ( #7430 )
2022-05-25 19:01:29 +02:00
Jan Peer Stöcklmair
5fcb742aa1
feat(theme-classic): allow className as option for type: "search" ( #7357 )
...
* feat(theme-classic): allow className as option for type: "search"
* fixup! feat(theme-classic): allow className as option for type: "search"
* refactor
Co-authored-by: Jan Peer Stoecklmair <jan.peer.stoecklmair@dynatrace.com>
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-05-25 18:41:05 +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