Sachin Nanayakkara
b6d52621db
fix(create): add missing await ( #8831 )
2023-05-15 14:48:35 +02:00
Sébastien Lorber
4fb67ef11b
chore: backport retro compatible commits for the Docusaurus v2.4 release ( #8809 )
...
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: Ben Gubler <nebrelbug@gmail.com>
Co-authored-by: Davide Donadio <davide.donadio@it.clara.net>
Co-authored-by: Petter Drønnen <36735557+dr0nn1@users.noreply.github.com>
Co-authored-by: Moritz Stückler <moritz@bitbetter.de>
Co-authored-by: Mysterious_Dev <40738104+Mysterious-Dev@users.noreply.github.com>
Co-authored-by: TrueQAP <32407751+trueqap@users.noreply.github.com>
Co-authored-by: Kagan <34136752+kagankan@users.noreply.github.com>
Co-authored-by: Dewansh Thakur <71703033+dewanshDT@users.noreply.github.com>
Co-authored-by: Armano <armano2@users.noreply.github.com>
Co-authored-by: Anas <60762285+Anasqx@users.noreply.github.com>
Co-authored-by: Tanner Dolby <tannercdolby@gmail.com>
Co-authored-by: Davide Donadio <davide.donadio94@gmail.com>
Co-authored-by: biplavmz <68702055+biplavmz@users.noreply.github.com>
Co-authored-by: Vishruta Patil <72292532+Vishruta-Patil@users.noreply.github.com>
fix(theme-classic): fix tab focus bug in dropdown (#8697 ) (#8699 )
fix(theme): improve color toggle when using dark navbar (#8615 )
fix(theme-translations): fix wrong arabic words (tip/next) (#8744 )
fix(core): baseUrl error banner link anchor case (#8746 )
fix(search): search page should react to querystring changes + cleanup/refactor (#8757 )
fix(theme): allow tabs children to be falsy (#8801 )
fix(theme): codeblock buttons should be kept on the right when using RTL locale (#8803 )
2023-03-24 09:23:58 +01:00
Sébastien Lorber
985a64ad22
fix(theme-classic): fix docs layout issue ( #8707 )
...
fix issue reported in https://github.com/facebook/docusaurus/issues/8369#issuecomment-1426838764
2023-02-24 15:20:30 +01:00
Sébastien Lorber
c60387dbe8
chore: backport retro compatible commits for the Docusaurus v2.3.1 release ( #8621 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: Sébastien Castiel <sebastien@castiel.me>
2023-02-03 15:04:03 +01:00
Sébastien Lorber
c84d779627
chore: backport retro compatible commits for the Docusaurus v2.3 release ( #8585 )
...
Co-authored-by: stnor <stefan@selessia.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: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matija Sirk <matija.sirk@kopit.si>
Co-authored-by: AHMET BAYHAN BAYRAMOGLU <49499275+ABB65@users.noreply.github.com>
Co-authored-by: Stefan Norberg <stefan@norberg.org>
Co-authored-by: Josh Goldberg <git@joshuakgoldberg.com>
Co-authored-by: Muhammad Hammad <33136628+mhnaeem@users.noreply.github.com>
Co-authored-by: Denis Al-Khelali <denis.al-khelali@itechart-group.com>
Co-authored-by: Balthasar Hofer <lebalz@outlook.com>
Co-authored-by: Danny Kim <0916dhkim@gmail.com>
Co-authored-by: Frieder Bluemle <frieder.bluemle@gmail.com>
Co-authored-by: John Reilly <johnny_reilly@hotmail.com>
Co-authored-by: Robert Lawrence <62929526+r-lawrence@users.noreply.github.com>
Co-authored-by: Sadegh Karimi <sadegh.krmi@gmail.com>
Co-authored-by: Lachlan Heywood <lachieh@users.noreply.github.com>
Co-authored-by: mturoci <64769322+mturoci@users.noreply.github.com>
Co-authored-by: 宋锦丰 <36468758+SJFCS@users.noreply.github.com>
Co-authored-by: Nguyễn Thành Nam <namnguyenthanh.work@gmail.com>
Co-authored-by: Dongjoon Lee <djunnni@gmail.com>
Co-authored-by: Thomas.CA <44041651+Thomascogez@users.noreply.github.com>
Co-authored-by: Riccardo <riccardo.odone@gmail.com>
Co-authored-by: Lane Goolsby <lanegoolsby@yahoo.com>
Co-authored-by: Mariusz Krzaczkowski <m.krzaczkowski@yetiforce.com>
Co-authored-by: Matija Sirk <sirkmatija@gmail.com>
Co-authored-by: Jiří <zmrhal.j@gmail.com>
2023-01-27 17:02:15 +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
26d2b9a018
chore: backport retro compatible commits for the Docusaurus v2.1 release ( #8033 )
...
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
Co-authored-by: whiteand <andrewbeletskiy@gmail.com>
Co-authored-by: yzhe819 <68207314+yzhe819@users.noreply.github.com>
Co-authored-by: Ngô Quốc Đạt <56961917+datlechin@users.noreply.github.com>
Co-authored-by: Kevin Østerkilde <kevin@oesterkilde.dk>
Co-authored-by: Bagdasar Ovsepyan <66012777+b-ovsepian@users.noreply.github.com>
Co-authored-by: Yoni Chechik <chechik.yoni@gmail.com>
Co-authored-by: adventure-yunfei <adventure.yunfei@gmail.com>
Co-authored-by: Morgane Dubus <30866152+mdubus@users.noreply.github.com>
2022-09-02 12:20:33 +02:00
Sébastien Lorber
bb65b5c578
chore: release v2.0.1 ( #7919 )
2022-08-08 16:23:27 +02:00
Joshua Chen
1065e558d2
refactor(core): log Docusaurus & Node version before exiting ( #7781 )
2022-07-14 19:50:57 +02:00
Sébastien Lorber
965a01e589
chore: port-2.0.0-rc.1 ( #7782 )
2022-07-14 19:30:17 +02:00
Sébastien Lorber
f913af0d69
docs: release process, versioning, breaking changes, public API surface ( #7706 )
...
Co-authored-by: Paul O’Shannessy <paul@oshannessy.com>
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2022-07-14 17:07:34 +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
c48f33800c
fix(core): swizzle --eject js should not copy theme .d.ts files ( #7776 )
2022-07-14 12:23:06 +02:00
Joshua Chen
c3d2e0d30b
fix(sitemap): complete gracefully when all pages have noIndex meta ( #7774 )
2022-07-14 08:59:01 +08: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
Wes McNamee
542228ee1b
fix(deploy): revert "feat(deploy): copy local git config to tmp repo ( #7702 )" ( #7750 )
2022-07-12 14:06:18 +02:00
Joshua Chen
a4b4a7f28d
fix(migrate): import siteConfig with file extension ( #7766 )
...
* fix(migrate): import siteConfig with file extension
* fix test
* Revert "fix test"
This reverts commit f5d00ab0e6
.
2022-07-12 16:08:20 +08:00
Sunghyun Cho
337463ae1c
chore(theme-translations): complete ko translations ( #7762 )
...
* Improve Algolia Search Korean Translations
* Update theme-search-algolia.json
* Remove Duplicate Colon
* remove redundnacy
* Update theme-search-algolia.json
* Translate Search By
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-07-12 12:33:01 +08: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
Joshua Chen
636d47060e
refactor(core): use has instead of get to test for existence in ExecEnv ( #7763 )
...
refactor(core): use has instead of get to test for existence
2022-07-11 19:19:17 +08: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
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
Rein van Haaren
c7f18801da
feat(theme-translations): Dutch translation ( #7732 )
...
Dutch translation
2022-07-08 13:47:47 +08:00
Forresst
a9406e7cb9
fix(theme-translations): improve fr translation ( #7731 )
2022-07-07 15:48:47 +08:00
赤城结衣
bb110e5400
fix(theme-translations): improve grammar of zh translation ( #7696 )
...
* fix: a grammar mistake
* Update packages/docusaurus-theme-translations/locales/zh-Hans/theme-common.json
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2022-07-07 11:52:00 +08: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
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
Sébastien Lorber
713dcdf7a8
refactor(types): split into multiple files ( #7710 )
2022-07-06 18:00:57 +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
Johnie Hjelm
61f769ea52
feat(theme-translations): Swedish translation ( #7715 )
2022-07-03 13:32:43 +08:00
Wes McNamee
ee376d19f6
feat(deploy): copy local git config to tmp repo ( #7702 )
2022-07-01 15:17:23 +02:00
Joe Harrison
825211f41d
fix(content-docs): format last update date as "Jun 19, 2020" ( #7673 )
...
* consistent date formatting betweeen docs and blog
* update error message
* use short month names
Co-authored-by: Joe Harrison <jharrison@drwuk.com>
2022-06-29 18:19:29 +02:00
Dzung Do
e801d915bf
fix(theme-translations): typo in vi locale ( #7694 )
...
Update plugin-ideal-image.json
2022-06-28 10:19:54 +08:00
Ngô Quốc Đạt
b88a915a64
chore(theme-translations): complete vi translations ( #7691 )
...
* chore(theme-translations): complete vi translations
* Edit `theme.SearchBar.seeAll`
2022-06-27 23:31:40 +08:00
Ahmed Altomy
8e4f209df9
chore(theme-translations): complete ar translations ( #7683 )
...
* Edit Locale "Arabic ar" texts
* chore(theme-translations): complete ar translations #7683
2022-06-27 23:30:30 +08:00
Tom Mrazauskas
bb558ffcb9
test(logger): use jest-serializer-ansi-escapes
( #7685 )
...
* chore(logger): use jest-serializer-ansi-escapes
* move serialiser to jest.config
2022-06-27 15:03:51 +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
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
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