mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-04 20:57:17 +02:00
1 line
No EOL
13 KiB
JavaScript
1 line
No EOL
13 KiB
JavaScript
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[55367],{98171:(e,s,i)=>{i.r(s),i.d(s,{assets:()=>l,contentTitle:()=>h,default:()=>a,frontMatter:()=>r,metadata:()=>c,toc:()=>o});var n=i(24246),t=i(71670);const r={mdx:{format:"md"},date:"2022-09-01T20:00",authors:["adventure-yunfei","b-ovsepian","datlechin","Josh-Cena","Kosai106","mdubus","slorber","whiteand","YoniChechik","yzhe819"]},h="2.1.0",c={permalink:"/docusaurus/changelog/2.1.0",source:"@site/changelog/source/2.1.0.md",title:"2.1.0",description:"New Feature",date:"2022-09-01T20:00:00.000Z",tags:[],hasTruncateMarker:!0,authors:[{name:"adventure-yunfei",alias:"adventure-yunfei",url:"https://github.com/adventure-yunfei",imageURL:"https://github.com/adventure-yunfei.png",key:"adventure-yunfei"},{name:"Bagdasar Ovsepyan",alias:"b-ovsepian",url:"https://github.com/b-ovsepian",imageURL:"https://github.com/b-ovsepian.png",key:"b-ovsepian"},{name:"Ng\xf4 Qu\u1ed1c \u0110\u1ea1t",alias:"datlechin",url:"https://github.com/datlechin",imageURL:"https://github.com/datlechin.png",key:"datlechin"},{name:"Joshua Chen",alias:"Josh-Cena",url:"https://github.com/Josh-Cena",imageURL:"https://github.com/Josh-Cena.png",key:"Josh-Cena"},{name:"Kevin \xd8sterkilde",alias:"Kosai106",url:"https://github.com/Kosai106",imageURL:"https://github.com/Kosai106.png",key:"Kosai106"},{name:"Morgane Dubus",alias:"mdubus",url:"https://github.com/mdubus",imageURL:"https://github.com/mdubus.png",key:"mdubus"},{name:"S\xe9bastien Lorber",alias:"slorber",url:"https://github.com/slorber",imageURL:"https://github.com/slorber.png",key:"slorber"},{name:"whiteand",alias:"whiteand",url:"https://github.com/whiteand",imageURL:"https://github.com/whiteand.png",key:"whiteand"},{name:"Yoni Chechik",alias:"YoniChechik",url:"https://github.com/YoniChechik",imageURL:"https://github.com/YoniChechik.png",key:"YoniChechik"},{name:"yzhe819",alias:"yzhe819",url:"https://github.com/yzhe819",imageURL:"https://github.com/yzhe819.png",key:"yzhe819"}],frontMatter:{mdx:{format:"md"},date:"2022-09-01T20:00",authors:["adventure-yunfei","b-ovsepian","datlechin","Josh-Cena","Kosai106","mdubus","slorber","whiteand","YoniChechik","yzhe819"]},unlisted:!1,prevItem:{title:"2.2.0",permalink:"/docusaurus/changelog/2.2.0"},nextItem:{title:"2.0.1",permalink:"/docusaurus/changelog/2.0.1"},listPageLink:"/docusaurus/changelog/"},l={authorsImageUrls:[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:"\ud83d\udcdd Documentation",id:"memo-documentation",level:2},{value:"Committers: 10",id:"committers-10",level:2}];function u(e){const s={a:"a",code:"code",h2:"h2",li:"li",ul:"ul",...(0,t.a)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.h2,{id:"rocket-new-feature",children:"\ud83d\ude80 New Feature"}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.code,{children:"docusaurus-theme-classic"}),", ",(0,n.jsx)(s.code,{children:"docusaurus-theme-common"}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/8008",children:"#8008"})," feat(theme): ability to use ",(0,n.jsx)(s.code,{children:"<DocCardList>"})," without items prop, on any doc page (",(0,n.jsx)(s.a,{href:"https://github.com/slorber",children:"@slorber"}),")"]}),"\n"]}),"\n"]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.code,{children:"docusaurus-plugin-content-docs"}),", ",(0,n.jsx)(s.code,{children:"docusaurus-theme-classic"}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/7963",children:"#7963"})," feat(docs): allow to configure noIndex per doc version (",(0,n.jsx)(s.a,{href:"https://github.com/slorber",children:"@slorber"}),")"]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/7949",children:"#7949"}),' feat(plugin-docs): docs sidebar item link: support "autoAddBaseUrl" attribute (',(0,n.jsx)(s.a,{href:"https://github.com/slorber",children:"@slorber"}),")"]}),"\n"]}),"\n"]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.code,{children:"docusaurus-theme-translations"}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/7953",children:"#7953"})," feat(theme): adds Ukrainian default theme translations (",(0,n.jsx)(s.a,{href:"https://github.com/b-ovsepian",children:"@b-ovsepian"}),")"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(s.h2,{id:"bug-bug-fix",children:"\ud83d\udc1b Bug Fix"}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.code,{children:"create-docusaurus"}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/8032",children:"#8032"})," fix(create-docusaurus): tutorial and init template improvements (",(0,n.jsx)(s.a,{href:"https://github.com/slorber",children:"@slorber"}),")"]}),"\n"]}),"\n"]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.code,{children:"docusaurus-preset-classic"}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/8029",children:"#8029"}),' fix(preset-classic): broken link in "unrecognized keys" error message (',(0,n.jsx)(s.a,{href:"https://github.com/mdubus",children:"@mdubus"}),")"]}),"\n"]}),"\n"]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.code,{children:"docusaurus"}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/7977",children:"#7977"})," fix(core): preload should support encoded page links (",(0,n.jsx)(s.a,{href:"https://github.com/adventure-yunfei",children:"@adventure-yunfei"}),")"]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/7996",children:"#7996"})," fix(core): CLI command write-translations should extract translations from @docu\u2026 (",(0,n.jsx)(s.a,{href:"https://github.com/slorber",children:"@slorber"}),")"]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/7952",children:"#7952"})," fix(core): allow overriding ssr/dev template meta tags (",(0,n.jsx)(s.a,{href:"https://github.com/slorber",children:"@slorber"}),")"]}),"\n"]}),"\n"]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.code,{children:"docusaurus-plugin-sitemap"}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/7964",children:"#7964"})," fix(sitemap): filter all routes with robots meta containing noindex (",(0,n.jsx)(s.a,{href:"https://github.com/slorber",children:"@slorber"}),")"]}),"\n"]}),"\n"]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.code,{children:"docusaurus-theme-classic"}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/7910",children:"#7910"})," fix(theme-classic): code block line number display with line wrapping (",(0,n.jsx)(s.a,{href:"https://github.com/yzhe819",children:"@yzhe819"}),")"]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/7786",children:"#7786"})," fix: collapse siblings when first category is selected (",(0,n.jsx)(s.a,{href:"https://github.com/whiteand",children:"@whiteand"}),")"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(s.h2,{id:"nail_care-polish",children:"\ud83d\udc85 Polish"}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.code,{children:"docusaurus-theme-classic"}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/7982",children:"#7982"})," fix(theme): add aria-label to skip to content link region (",(0,n.jsx)(s.a,{href:"https://github.com/YoniChechik",children:"@YoniChechik"}),")"]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/7940",children:"#7940"})," refactor(theme-classic): split AnnouncementBar, increase z-index, use shadow (",(0,n.jsx)(s.a,{href:"https://github.com/slorber",children:"@slorber"}),")"]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/7876",children:"#7876"})," refactor(theme-classic): make tag text visually certered (",(0,n.jsx)(s.a,{href:"https://github.com/Kosai106",children:"@Kosai106"}),")"]}),"\n"]}),"\n"]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.code,{children:"docusaurus-utils"}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/7941",children:"#7941"})," feat(core): add new Webpack file-loader extensions: avif, mov, mkv, mpg, avi... (",(0,n.jsx)(s.a,{href:"https://github.com/slorber",children:"@slorber"}),")"]}),"\n"]}),"\n"]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.code,{children:"docusaurus-theme-classic"}),", ",(0,n.jsx)(s.code,{children:"docusaurus-types"}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/7942",children:"#7942"})," feat(theme-classic): use lang attribute in navbar locale dropdown items (",(0,n.jsx)(s.a,{href:"https://github.com/slorber",children:"@slorber"}),")"]}),"\n"]}),"\n"]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.code,{children:"docusaurus-theme-translations"}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/7928",children:"#7928"})," chore(theme-translations): complete vi translations (",(0,n.jsx)(s.a,{href:"https://github.com/datlechin",children:"@datlechin"}),")"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(s.h2,{id:"memo-documentation",children:"\ud83d\udcdd Documentation"}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.code,{children:"create-docusaurus"}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/8032",children:"#8032"})," fix(create-docusaurus): tutorial and init template improvements (",(0,n.jsx)(s.a,{href:"https://github.com/slorber",children:"@slorber"}),")"]}),"\n"]}),"\n"]}),"\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.code,{children:"docusaurus-plugin-content-blog"}),", ",(0,n.jsx)(s.code,{children:"docusaurus-plugin-content-docs"}),", ",(0,n.jsx)(s.code,{children:"docusaurus-plugin-content-pages"}),", ",(0,n.jsx)(s.code,{children:"docusaurus-plugin-debug"}),", ",(0,n.jsx)(s.code,{children:"docusaurus-plugin-google-analytics"}),", ",(0,n.jsx)(s.code,{children:"docusaurus-plugin-google-gtag"}),", ",(0,n.jsx)(s.code,{children:"docusaurus-plugin-ideal-image"}),", ",(0,n.jsx)(s.code,{children:"docusaurus-plugin-sitemap"}),", ",(0,n.jsx)(s.code,{children:"docusaurus-theme-classic"}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsxs)(s.li,{children:[(0,n.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/7905",children:"#7905"})," docs: remove mention of beta (",(0,n.jsx)(s.a,{href:"https://github.com/Josh-Cena",children:"@Josh-Cena"}),")"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,n.jsx)(s.h2,{id:"committers-10",children:"Committers: 10"}),"\n",(0,n.jsxs)(s.ul,{children:["\n",(0,n.jsxs)(s.li,{children:["Bagdasar Ovsepyan (",(0,n.jsx)(s.a,{href:"https://github.com/b-ovsepian",children:"@b-ovsepian"}),")"]}),"\n",(0,n.jsxs)(s.li,{children:["Joshua Chen (",(0,n.jsx)(s.a,{href:"https://github.com/Josh-Cena",children:"@Josh-Cena"}),")"]}),"\n",(0,n.jsxs)(s.li,{children:["Kevin \xd8sterkilde (",(0,n.jsx)(s.a,{href:"https://github.com/Kosai106",children:"@Kosai106"}),")"]}),"\n",(0,n.jsxs)(s.li,{children:["Morgane Dubus (",(0,n.jsx)(s.a,{href:"https://github.com/mdubus",children:"@mdubus"}),")"]}),"\n",(0,n.jsxs)(s.li,{children:["Ng\xf4 Qu\u1ed1c \u0110\u1ea1t (",(0,n.jsx)(s.a,{href:"https://github.com/datlechin",children:"@datlechin"}),")"]}),"\n",(0,n.jsxs)(s.li,{children:["S\xe9bastien Lorber (",(0,n.jsx)(s.a,{href:"https://github.com/slorber",children:"@slorber"}),")"]}),"\n",(0,n.jsxs)(s.li,{children:["Yoni Chechik (",(0,n.jsx)(s.a,{href:"https://github.com/YoniChechik",children:"@YoniChechik"}),")"]}),"\n",(0,n.jsx)(s.li,{children:(0,n.jsx)(s.a,{href:"https://github.com/whiteand",children:"@whiteand"})}),"\n",(0,n.jsx)(s.li,{children:(0,n.jsx)(s.a,{href:"https://github.com/yzhe819",children:"@yzhe819"})}),"\n",(0,n.jsxs)(s.li,{children:["adventure-yunfei (",(0,n.jsx)(s.a,{href:"https://github.com/adventure-yunfei",children:"@adventure-yunfei"}),")"]}),"\n"]})]})}function a(e={}){const{wrapper:s}={...(0,t.a)(),...e.components};return s?(0,n.jsx)(s,{...e,children:(0,n.jsx)(u,{...e})}):u(e)}},71670:(e,s,i)=>{i.d(s,{Z:()=>c,a:()=>h});var n=i(27378);const t={},r=n.createContext(t);function h(e){const s=n.useContext(r);return n.useMemo((function(){return"function"==typeof e?e(s):{...s,...e}}),[s,e])}function c(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:h(e.components),n.createElement(r.Provider,{value:s},e.children)}}}]); |