Commit Graph

2462 Commits

Author SHA1 Message Date
sebastienlorber 898b85ef13 v2.4.0 2023-03-23 19:16:05 +01:00
sebastienlorber 5509d57e5c chore: fix translations consistency test after bad translation backport 2023-03-23 15:35:47 +01:00
Vishruta Patil 1f4251154a fix(theme): codeblock buttons should be kept on the right when using RTL locale (#8803)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-03-23 15:26:12 +01:00
Joshua Chen 002b0eee27 fix(theme): allow tabs children to be falsy (#8801) 2023-03-23 15:25:59 +01:00
biplavmz 4694dd2c45 polish(create-docusaurus): the starter template should use a navbar item "docSidebar" instead of "doc" (less fragile on updates) (#8712)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-03-23 15:25:27 +01:00
Davide Donadio ba688bceec feat(content-docs): add support for sidebar item category/link descriptions in generated index page (#8236)
Co-authored-by: Davide Donadio <davide.donadio@it.clara.net>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-03-23 15:24:29 +01:00
Sébastien Lorber a3eef990ec fix(search): search page should react to querystring changes + cleanup/refactor (#8757) 2023-03-23 15:23:53 +01:00
sebastienlorber 4b37c01a18 polish(theme): better error messages on navbar item rendering failures + ErrorCauseBoundary API (#8735)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-03-23 15:22:46 +01:00
Tanner Dolby 6deecd7bf1 polish(core): better styling for error screens (#8736)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-03-23 15:19:31 +01:00
Sébastien Lorber 8e2cfac10a fix(core): baseUrl error banner link anchor case (#8746) 2023-03-23 15:09:58 +01:00
Anas 7bca0e5c7e fix(theme-translations): fix wrong arabic words (tip/next) (#8744) 2023-03-23 15:09:33 +01:00
Sébastien Lorber 186d670200 feat(theme): allow to load a Docusaurus page with theme from query-string: ?docusaurus-theme=dark (#8708) 2023-03-23 15:08:54 +01:00
Armano a8ab309ec8 feat(npm-to-yarn): add support for PnPm and custom converters (#8690)
Co-authored-by: Ben Gubler <nebrelbug@gmail.com>
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-03-23 15:06:22 +01:00
sebastienlorber 3a73ce5ee1 feat(core): add script env variables: NODE_ENV + BABEL_ENV + DOCUSAURUS_CURRENT_LOCALE (temporary i18n workaround) (#8677) 2023-03-23 14:58:53 +01:00
Dewansh Thakur e8d971d2d6 fix(theme): improve color toggle when using dark navbar (#8615)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-03-23 14:52:28 +01:00
Kagan a12c6f8119 fix(theme-classic): fix tab focus bug in dropdown (#8697) (#8699)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-03-23 14:51:51 +01:00
Sébastien Lorber 147e0a822b feat(theme-classic): respect `prefers-reduced-motion: reduce` mediaquery, bump Infima to alpha.43 (#8674) 2023-03-23 14:50:33 +01:00
TrueQAP 37216590ec feat(theme-translations): add Hungarian theme translations (#8668)
Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
2023-03-23 14:49:36 +01:00
Mysterious_Dev c0f3675d32 feat(theme): add ability to translate navbar+footer logo alt text (#8616)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
2023-03-23 14:49:08 +01:00
Moritz Stückler f54e3057fe feat(theme-common): allow passing a string for details summary (#8656)
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
2023-03-23 14:48:35 +01:00
Petter Drønnen 3bd6010f3f feat(theme-translations): add Norwegian (Bokmål) theme translation (#8631) 2023-03-23 14:47:37 +01:00
Sébastien Lorber e5dcd4e4cf feat(gtag-plugin): gtag should support multiple tracking ids, notably for the UA => GA4 transition (#8620) 2023-03-23 14:39:48 +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