mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-01 02:12:36 +02:00
1 line
No EOL
15 KiB
JavaScript
1 line
No EOL
15 KiB
JavaScript
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["33521"],{67493:function(e,s,n){n.r(s),n.d(s,{assets:function(){return h},contentTitle:function(){return l},default:function(){return u},frontMatter:function(){return i},metadata:function(){return r},toc:function(){return o}});var r=n(95953),a=n(85893),t=n(80980);let i={mdx:{format:"md"},date:"2023-03-23T20:00",authors:["Anasqx","armano2","biplavmz","dewanshDT","dr0nn1","Josh-Cena","kagankan","Mysterious-Dev","pReya","slorber","tannerdolby","trueqap","Vishruta-Patil","ZarakiKanzaki"]},l="2.4.0",h={authorsImageUrls:[void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0]},o=[{value:"\uD83D\uDE80 New Feature",id:"rocket-new-feature",level:2},{value:"\uD83D\uDC1B Bug Fix",id:"bug-bug-fix",level:2},{value:"\uD83D\uDC85 Polish",id:"nail_care-polish",level:2},{value:"Committers: 14",id:"committers-14",level:2}];function c(e){let s={a:"a",code:"code",h2:"h2",li:"li",ul:"ul",...(0,t.a)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.h2,{id:"rocket-new-feature",children:"\uD83D\uDE80 New Feature"}),"\n",(0,a.jsxs)(s.ul,{children:["\n",(0,a.jsxs)(s.li,{children:[(0,a.jsx)(s.code,{children:"docusaurus-plugin-content-docs"}),", ",(0,a.jsx)(s.code,{children:"docusaurus-theme-classic"}),"\n",(0,a.jsxs)(s.ul,{children:["\n",(0,a.jsxs)(s.li,{children:[(0,a.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/8236",children:"#8236"})," feat(content-docs): add support for sidebar item category/link descriptions in generated index page (",(0,a.jsx)(s.a,{href:"https://github.com/ZarakiKanzaki",children:"@ZarakiKanzaki"}),")"]}),"\n"]}),"\n"]}),"\n",(0,a.jsxs)(s.li,{children:[(0,a.jsx)(s.code,{children:"docusaurus-theme-classic"}),"\n",(0,a.jsxs)(s.ul,{children:["\n",(0,a.jsxs)(s.li,{children:[(0,a.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/8708",children:"#8708"})," feat(theme): allow to load a Docusaurus page with theme from query-string: ?docusaurus-theme=dark (",(0,a.jsx)(s.a,{href:"https://github.com/slorber",children:"@slorber"}),")"]}),"\n",(0,a.jsxs)(s.li,{children:[(0,a.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/8616",children:"#8616"})," feat(theme): add ability to translate navbar+footer logo alt text (",(0,a.jsx)(s.a,{href:"https://github.com/Mysterious-Dev",children:"@Mysterious-Dev"}),")"]}),"\n"]}),"\n"]}),"\n",(0,a.jsxs)(s.li,{children:[(0,a.jsx)(s.code,{children:"docusaurus-remark-plugin-npm2yarn"}),"\n",(0,a.jsxs)(s.ul,{children:["\n",(0,a.jsxs)(s.li,{children:[(0,a.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/8690",children:"#8690"})," feat(npm-to-yarn): add support for PnPm and custom converters (",(0,a.jsx)(s.a,{href:"https://github.com/armano2",children:"@armano2"}),")"]}),"\n"]}),"\n"]}),"\n",(0,a.jsxs)(s.li,{children:[(0,a.jsx)(s.code,{children:"docusaurus"}),"\n",(0,a.jsxs)(s.ul,{children:["\n",(0,a.jsxs)(s.li,{children:[(0,a.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/8677",children:"#8677"})," feat(core): add script env variables: NODE_ENV + BABEL_ENV + DOCUSAURUS_CURRENT_LOCALE (temporary i18n workaround) (",(0,a.jsx)(s.a,{href:"https://github.com/slorber",children:"@slorber"}),")"]}),"\n"]}),"\n"]}),"\n",(0,a.jsxs)(s.li,{children:[(0,a.jsx)(s.code,{children:"docusaurus-theme-classic"}),", ",(0,a.jsx)(s.code,{children:"docusaurus-theme-common"}),"\n",(0,a.jsxs)(s.ul,{children:["\n",(0,a.jsxs)(s.li,{children:[(0,a.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/8674",children:"#8674"})," feat(theme-classic): respect ",(0,a.jsx)(s.code,{children:"prefers-reduced-motion: reduce"})," mediaquery, bump Infima to alpha.43 (",(0,a.jsx)(s.a,{href:"https://github.com/slorber",children:"@slorber"}),")"]}),"\n"]}),"\n"]}),"\n",(0,a.jsxs)(s.li,{children:[(0,a.jsx)(s.code,{children:"docusaurus-theme-translations"}),"\n",(0,a.jsxs)(s.ul,{children:["\n",(0,a.jsxs)(s.li,{children:[(0,a.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/8668",children:"#8668"})," feat(theme-translations): add Hungarian theme translations (",(0,a.jsx)(s.a,{href:"https://github.com/trueqap",children:"@trueqap"}),")"]}),"\n",(0,a.jsxs)(s.li,{children:[(0,a.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/8631",children:"#8631"})," feat(theme-translations): add Norwegian (Bokm\xe5l) theme translation (",(0,a.jsx)(s.a,{href:"https://github.com/dr0nn1",children:"@dr0nn1"}),")"]}),"\n"]}),"\n"]}),"\n",(0,a.jsxs)(s.li,{children:[(0,a.jsx)(s.code,{children:"docusaurus-theme-common"}),"\n",(0,a.jsxs)(s.ul,{children:["\n",(0,a.jsxs)(s.li,{children:[(0,a.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/8656",children:"#8656"})," feat(theme-common): allow passing a string for details summary (",(0,a.jsx)(s.a,{href:"https://github.com/pReya",children:"@pReya"}),")"]}),"\n"]}),"\n"]}),"\n",(0,a.jsxs)(s.li,{children:[(0,a.jsx)(s.code,{children:"docusaurus-plugin-google-gtag"}),"\n",(0,a.jsxs)(s.ul,{children:["\n",(0,a.jsxs)(s.li,{children:[(0,a.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/8620",children:"#8620"})," feat(gtag-plugin): gtag should support multiple tracking ids, notably for the UA => GA4 transition (",(0,a.jsx)(s.a,{href:"https://github.com/slorber",children:"@slorber"}),")"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,a.jsx)(s.h2,{id:"bug-bug-fix",children:"\uD83D\uDC1B Bug Fix"}),"\n",(0,a.jsxs)(s.ul,{children:["\n",(0,a.jsxs)(s.li,{children:[(0,a.jsx)(s.code,{children:"docusaurus-theme-classic"}),"\n",(0,a.jsxs)(s.ul,{children:["\n",(0,a.jsxs)(s.li,{children:[(0,a.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/8803",children:"#8803"})," fix(theme): codeblock buttons should be kept on the right when using RTL locale (",(0,a.jsx)(s.a,{href:"https://github.com/Vishruta-Patil",children:"@Vishruta-Patil"}),")"]}),"\n",(0,a.jsxs)(s.li,{children:[(0,a.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/8615",children:"#8615"})," fix(theme): improve color toggle when using dark navbar (",(0,a.jsx)(s.a,{href:"https://github.com/dewanshDT",children:"@dewanshDT"}),")"]}),"\n",(0,a.jsxs)(s.li,{children:[(0,a.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/8699",children:"#8699"})," fix(theme-classic): fix tab focus bug in dropdown (#8697) (",(0,a.jsx)(s.a,{href:"https://github.com/kagankan",children:"@kagankan"}),")"]}),"\n"]}),"\n"]}),"\n",(0,a.jsxs)(s.li,{children:[(0,a.jsx)(s.code,{children:"docusaurus-theme-classic"}),", ",(0,a.jsx)(s.code,{children:"docusaurus-theme-common"}),"\n",(0,a.jsxs)(s.ul,{children:["\n",(0,a.jsxs)(s.li,{children:[(0,a.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/8801",children:"#8801"})," fix(theme): allow tabs children to be falsy (",(0,a.jsx)(s.a,{href:"https://github.com/Josh-Cena",children:"@Josh-Cena"}),")"]}),"\n"]}),"\n"]}),"\n",(0,a.jsxs)(s.li,{children:[(0,a.jsx)(s.code,{children:"docusaurus-theme-common"}),", ",(0,a.jsx)(s.code,{children:"docusaurus-theme-search-algolia"}),"\n",(0,a.jsxs)(s.ul,{children:["\n",(0,a.jsxs)(s.li,{children:[(0,a.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/8757",children:"#8757"})," fix(search): search page should react to querystring changes + cleanup/refactor (",(0,a.jsx)(s.a,{href:"https://github.com/slorber",children:"@slorber"}),")"]}),"\n"]}),"\n"]}),"\n",(0,a.jsxs)(s.li,{children:[(0,a.jsx)(s.code,{children:"docusaurus"}),"\n",(0,a.jsxs)(s.ul,{children:["\n",(0,a.jsxs)(s.li,{children:[(0,a.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/8746",children:"#8746"})," fix(core): baseUrl error banner link anchor case (",(0,a.jsx)(s.a,{href:"https://github.com/slorber",children:"@slorber"}),")"]}),"\n"]}),"\n"]}),"\n",(0,a.jsxs)(s.li,{children:[(0,a.jsx)(s.code,{children:"docusaurus-theme-translations"}),"\n",(0,a.jsxs)(s.ul,{children:["\n",(0,a.jsxs)(s.li,{children:[(0,a.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/8744",children:"#8744"})," fix(theme-translations): fix wrong arabic words (tip/next) (",(0,a.jsx)(s.a,{href:"https://github.com/Anasqx",children:"@Anasqx"}),")"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,a.jsx)(s.h2,{id:"nail_care-polish",children:"\uD83D\uDC85 Polish"}),"\n",(0,a.jsxs)(s.ul,{children:["\n",(0,a.jsxs)(s.li,{children:[(0,a.jsx)(s.code,{children:"create-docusaurus"}),"\n",(0,a.jsxs)(s.ul,{children:["\n",(0,a.jsxs)(s.li,{children:[(0,a.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/8712",children:"#8712"}),' polish(create-docusaurus): the starter template should use a navbar item "docSidebar" instead of "doc" (less fragile on updates) (',(0,a.jsx)(s.a,{href:"https://github.com/biplavmz",children:"@biplavmz"}),")"]}),"\n"]}),"\n"]}),"\n",(0,a.jsxs)(s.li,{children:[(0,a.jsx)(s.code,{children:"docusaurus-theme-classic"}),", ",(0,a.jsx)(s.code,{children:"docusaurus-theme-common"}),", ",(0,a.jsx)(s.code,{children:"docusaurus-utils-common"}),", ",(0,a.jsx)(s.code,{children:"docusaurus"}),"\n",(0,a.jsxs)(s.ul,{children:["\n",(0,a.jsxs)(s.li,{children:[(0,a.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/8735",children:"#8735"})," polish(theme): better error messages on navbar item rendering failures + ErrorCauseBoundary API (",(0,a.jsx)(s.a,{href:"https://github.com/tannerdolby",children:"@tannerdolby"}),")"]}),"\n"]}),"\n"]}),"\n",(0,a.jsxs)(s.li,{children:[(0,a.jsx)(s.code,{children:"docusaurus-theme-classic"}),", ",(0,a.jsx)(s.code,{children:"docusaurus-theme-common"}),", ",(0,a.jsx)(s.code,{children:"docusaurus"}),"\n",(0,a.jsxs)(s.ul,{children:["\n",(0,a.jsxs)(s.li,{children:[(0,a.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/8736",children:"#8736"})," polish(core): better styling for error screens (",(0,a.jsx)(s.a,{href:"https://github.com/tannerdolby",children:"@tannerdolby"}),")"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,a.jsx)(s.h2,{id:"committers-14",children:"Committers: 14"}),"\n",(0,a.jsxs)(s.ul,{children:["\n",(0,a.jsxs)(s.li,{children:["Anas (",(0,a.jsx)(s.a,{href:"https://github.com/Anasqx",children:"@Anasqx"}),")"]}),"\n",(0,a.jsxs)(s.li,{children:["Armano (",(0,a.jsx)(s.a,{href:"https://github.com/armano2",children:"@armano2"}),")"]}),"\n",(0,a.jsxs)(s.li,{children:["Davide Donadio (",(0,a.jsx)(s.a,{href:"https://github.com/ZarakiKanzaki",children:"@ZarakiKanzaki"}),")"]}),"\n",(0,a.jsxs)(s.li,{children:["Dewansh Thakur (",(0,a.jsx)(s.a,{href:"https://github.com/dewanshDT",children:"@dewanshDT"}),")"]}),"\n",(0,a.jsxs)(s.li,{children:["Joshua Chen (",(0,a.jsx)(s.a,{href:"https://github.com/Josh-Cena",children:"@Josh-Cena"}),")"]}),"\n",(0,a.jsxs)(s.li,{children:["Kagan (",(0,a.jsx)(s.a,{href:"https://github.com/kagankan",children:"@kagankan"}),")"]}),"\n",(0,a.jsxs)(s.li,{children:["Moritz St\xfcckler (",(0,a.jsx)(s.a,{href:"https://github.com/pReya",children:"@pReya"}),")"]}),"\n",(0,a.jsxs)(s.li,{children:["Mysterious_Dev (",(0,a.jsx)(s.a,{href:"https://github.com/Mysterious-Dev",children:"@Mysterious-Dev"}),")"]}),"\n",(0,a.jsxs)(s.li,{children:["Petter Dr\xf8nnen (",(0,a.jsx)(s.a,{href:"https://github.com/dr0nn1",children:"@dr0nn1"}),")"]}),"\n",(0,a.jsxs)(s.li,{children:["S\xe9bastien Lorber (",(0,a.jsx)(s.a,{href:"https://github.com/slorber",children:"@slorber"}),")"]}),"\n",(0,a.jsxs)(s.li,{children:["Tanner Dolby (",(0,a.jsx)(s.a,{href:"https://github.com/tannerdolby",children:"@tannerdolby"}),")"]}),"\n",(0,a.jsxs)(s.li,{children:["TrueQAP (",(0,a.jsx)(s.a,{href:"https://github.com/trueqap",children:"@trueqap"}),")"]}),"\n",(0,a.jsxs)(s.li,{children:["Vishruta Patil (",(0,a.jsx)(s.a,{href:"https://github.com/Vishruta-Patil",children:"@Vishruta-Patil"}),")"]}),"\n",(0,a.jsx)(s.li,{children:(0,a.jsx)(s.a,{href:"https://github.com/biplavmz",children:"@biplavmz"})}),"\n"]})]})}function u(e={}){let{wrapper:s}={...(0,t.a)(),...e.components};return s?(0,a.jsx)(s,{...e,children:(0,a.jsx)(c,{...e})}):c(e)}},80980:function(e,s,n){n.d(s,{Z:function(){return l},a:function(){return i}});var r=n(67294);let a={},t=r.createContext(a);function i(e){let s=r.useContext(t);return r.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function l(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(a):e.components||a:i(e.components),r.createElement(t.Provider,{value:s},e.children)}},95953:function(e){e.exports=JSON.parse('{"permalink":"/changelog/2.4.0","source":"@site/changelog/source/2.4.0.md","title":"2.4.0","description":"New Feature","date":"2023-03-23T20:00:00.000Z","tags":[],"hasTruncateMarker":true,"authors":[{"name":"Anas","alias":"Anasqx","url":"https://github.com/Anasqx","imageURL":"https://github.com/Anasqx.png","key":"Anasqx","page":null},{"name":"Armano","alias":"armano2","url":"https://github.com/armano2","imageURL":"https://github.com/armano2.png","key":"armano2","page":null},{"name":"biplavmz","alias":"biplavmz","url":"https://github.com/biplavmz","imageURL":"https://github.com/biplavmz.png","key":"biplavmz","page":null},{"name":"Dewansh Thakur","alias":"dewanshDT","url":"https://github.com/dewanshDT","imageURL":"https://github.com/dewanshDT.png","key":"dewanshDT","page":null},{"name":"Petter Dr\xf8nnen","alias":"dr0nn1","url":"https://github.com/dr0nn1","imageURL":"https://github.com/dr0nn1.png","key":"dr0nn1","page":null},{"name":"Joshua Chen","alias":"Josh-Cena","url":"https://github.com/Josh-Cena","imageURL":"https://github.com/Josh-Cena.png","key":"Josh-Cena","page":null},{"name":"Kagan","alias":"kagankan","url":"https://github.com/kagankan","imageURL":"https://github.com/kagankan.png","key":"kagankan","page":null},{"name":"Mysterious_Dev","alias":"Mysterious-Dev","url":"https://github.com/Mysterious-Dev","imageURL":"https://github.com/Mysterious-Dev.png","key":"Mysterious-Dev","page":null},{"name":"Moritz St\xfcckler","alias":"pReya","url":"https://github.com/pReya","imageURL":"https://github.com/pReya.png","key":"pReya","page":null},{"name":"S\xe9bastien Lorber","alias":"slorber","url":"https://github.com/slorber","imageURL":"https://github.com/slorber.png","key":"slorber","page":null},{"name":"Tanner Dolby","alias":"tannerdolby","url":"https://github.com/tannerdolby","imageURL":"https://github.com/tannerdolby.png","key":"tannerdolby","page":null},{"name":"TrueQAP","alias":"trueqap","url":"https://github.com/trueqap","imageURL":"https://github.com/trueqap.png","key":"trueqap","page":null},{"name":"Vishruta Patil","alias":"Vishruta-Patil","url":"https://github.com/Vishruta-Patil","imageURL":"https://github.com/Vishruta-Patil.png","key":"Vishruta-Patil","page":null},{"name":"Davide Donadio","alias":"ZarakiKanzaki","url":"https://github.com/ZarakiKanzaki","imageURL":"https://github.com/ZarakiKanzaki.png","key":"ZarakiKanzaki","page":null}],"frontMatter":{"mdx":{"format":"md"},"date":"2023-03-23T20:00","authors":["Anasqx","armano2","biplavmz","dewanshDT","dr0nn1","Josh-Cena","kagankan","Mysterious-Dev","pReya","slorber","tannerdolby","trueqap","Vishruta-Patil","ZarakiKanzaki"]},"unlisted":false,"prevItem":{"title":"2.4.1","permalink":"/changelog/2.4.1"},"nextItem":{"title":"2.3.1","permalink":"/changelog/2.3.1"},"listPageLink":"/changelog/page/2"}')}}]); |