mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-02 03:37:48 +02:00
1 line
No EOL
13 KiB
JavaScript
1 line
No EOL
13 KiB
JavaScript
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[44776],{4773:(e,s,n)=>{n.r(s),n.d(s,{assets:()=>t,contentTitle:()=>r,default:()=>a,frontMatter:()=>h,metadata:()=>i,toc:()=>u});var i=n(17159),l=n(62540),c=n(43023);let h={mdx:{format:"md"},date:"2019-12-25T20:00",authors:["endiliey","janko","lex111","nickmccurdy","TransmissionsDev","yangshun"]},r="2.0.0-alpha.40",t={authorsImageUrls:[void 0,void 0,void 0,void 0,void 0,void 0]},u=[{value:"\u{1F680} New Feature",id:"rocket-new-feature",level:2},{value:"\u{1F41B} Bug Fix",id:"bug-bug-fix",level:2},{value:"\u{1F485} Polish",id:"nail_care-polish",level:2},{value:"\u{1F4DD} Documentation",id:"memo-documentation",level:2},{value:"\u{1F3E0} Internal",id:"house-internal",level:2},{value:":running: Performance",id:"running-performance",level:2},{value:"Committers: 6",id:"committers-6",level:2}];function o(e){let s={a:"a",code:"code",h2:"h2",li:"li",ul:"ul",...(0,c.R)(),...e.components};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(s.h2,{id:"rocket-new-feature",children:"\u{1F680} New Feature"}),"\n",(0,l.jsxs)(s.ul,{children:["\n",(0,l.jsxs)(s.li,{children:[(0,l.jsx)(s.code,{children:"docusaurus-theme-classic"}),"\n",(0,l.jsxs)(s.ul,{children:["\n",(0,l.jsxs)(s.li,{children:[(0,l.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/2117",children:"#2117"})," feat(v2): auto switch theme depending on the system theme (",(0,l.jsx)(s.a,{href:"https://github.com/lex111",children:"@lex111"}),")"]}),"\n",(0,l.jsxs)(s.li,{children:[(0,l.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/2055",children:"#2055"})," feat(v2): hide navbar on scroll (",(0,l.jsx)(s.a,{href:"https://github.com/lex111",children:"@lex111"}),")"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,l.jsx)(s.h2,{id:"bug-bug-fix",children:"\u{1F41B} Bug Fix"}),"\n",(0,l.jsxs)(s.ul,{children:["\n",(0,l.jsxs)(s.li,{children:[(0,l.jsx)(s.code,{children:"docusaurus"}),"\n",(0,l.jsxs)(s.ul,{children:["\n",(0,l.jsxs)(s.li,{children:[(0,l.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/2145",children:"#2145"})," fix(v2): remove style-loader, use minicssextract in both dev & prod (",(0,l.jsx)(s.a,{href:"https://github.com/endiliey",children:"@endiliey"}),")"]}),"\n",(0,l.jsxs)(s.li,{children:[(0,l.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/2122",children:"#2122"})," fix(v2): dont collapse whitespace in minified html (",(0,l.jsx)(s.a,{href:"https://github.com/endiliey",children:"@endiliey"}),")"]}),"\n"]}),"\n"]}),"\n",(0,l.jsxs)(s.li,{children:[(0,l.jsx)(s.code,{children:"docusaurus-mdx-loader"}),", ",(0,l.jsx)(s.code,{children:"docusaurus-plugin-content-blog"}),", ",(0,l.jsx)(s.code,{children:"docusaurus-plugin-content-docs"}),"\n",(0,l.jsxs)(s.ul,{children:["\n",(0,l.jsxs)(s.li,{children:[(0,l.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/2105",children:"#2105"})," fix(v2): move metadata export after compiling MDX to avoid weird MDX parsing error. (",(0,l.jsx)(s.a,{href:"https://github.com/endiliey",children:"@endiliey"}),")"]}),"\n"]}),"\n"]}),"\n",(0,l.jsxs)(s.li,{children:[(0,l.jsx)(s.code,{children:"docusaurus-theme-classic"}),"\n",(0,l.jsxs)(s.ul,{children:["\n",(0,l.jsxs)(s.li,{children:[(0,l.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/2113",children:"#2113"})," fix(v2): set stored theme only if it exists (",(0,l.jsx)(s.a,{href:"https://github.com/lex111",children:"@lex111"}),")"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,l.jsx)(s.h2,{id:"nail_care-polish",children:"\u{1F485} Polish"}),"\n",(0,l.jsxs)(s.ul,{children:["\n",(0,l.jsxs)(s.li,{children:[(0,l.jsx)(s.code,{children:"docusaurus-theme-classic"}),"\n",(0,l.jsxs)(s.ul,{children:["\n",(0,l.jsxs)(s.li,{children:[(0,l.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/2129",children:"#2129"})," fix(v2): disable scroll while mobile menu open (",(0,l.jsx)(s.a,{href:"https://github.com/lex111",children:"@lex111"}),")"]}),"\n"]}),"\n"]}),"\n",(0,l.jsxs)(s.li,{children:[(0,l.jsx)(s.code,{children:"docusaurus-theme-classic"}),", ",(0,l.jsx)(s.code,{children:"docusaurus"}),"\n",(0,l.jsxs)(s.ul,{children:["\n",(0,l.jsxs)(s.li,{children:[(0,l.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/2127",children:"#2127"})," refactor(v2): toggle data-theme with vanilla js instead of react helmet (",(0,l.jsx)(s.a,{href:"https://github.com/endiliey",children:"@endiliey"}),")"]}),"\n"]}),"\n"]}),"\n",(0,l.jsxs)(s.li,{children:[(0,l.jsx)(s.code,{children:"docusaurus-theme-search-algolia"}),", ",(0,l.jsx)(s.code,{children:"docusaurus"}),"\n",(0,l.jsxs)(s.ul,{children:["\n",(0,l.jsxs)(s.li,{children:[(0,l.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/2125",children:"#2125"})," feat(v2): lazy load algolia css so its not render blocking (",(0,l.jsx)(s.a,{href:"https://github.com/endiliey",children:"@endiliey"}),")"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,l.jsx)(s.h2,{id:"memo-documentation",children:"\u{1F4DD} Documentation"}),"\n",(0,l.jsxs)(s.ul,{children:["\n",(0,l.jsxs)(s.li,{children:["Other\n",(0,l.jsxs)(s.ul,{children:["\n",(0,l.jsxs)(s.li,{children:[(0,l.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/2135",children:"#2135"}),' docs(v1): add space between "out" and "Docusaurus" (',(0,l.jsx)(s.a,{href:"https://github.com/TransmissionsDev",children:"@TransmissionsDev"}),")"]}),"\n",(0,l.jsxs)(s.li,{children:[(0,l.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/2128",children:"#2128"})," docs(v1): showcase user Shrine (",(0,l.jsx)(s.a,{href:"https://github.com/janko",children:"@janko"}),")"]}),"\n",(0,l.jsxs)(s.li,{children:[(0,l.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/2110",children:"#2110"})," docs(v2): fix pages routing inaccurate info (",(0,l.jsx)(s.a,{href:"https://github.com/endiliey",children:"@endiliey"}),")"]}),"\n",(0,l.jsxs)(s.li,{children:[(0,l.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/2106",children:"#2106"})," fix(v2): add missing hyphen in color generator (",(0,l.jsx)(s.a,{href:"https://github.com/lex111",children:"@lex111"}),")"]}),"\n",(0,l.jsxs)(s.li,{children:[(0,l.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/2104",children:"#2104"})," feat(v2): add color generator for primary colors (",(0,l.jsx)(s.a,{href:"https://github.com/yangshun",children:"@yangshun"}),")"]}),"\n",(0,l.jsxs)(s.li,{children:[(0,l.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/2103",children:"#2103"})," docs: mention about moving docs directory into website (",(0,l.jsx)(s.a,{href:"https://github.com/yangshun",children:"@yangshun"}),")"]}),"\n"]}),"\n"]}),"\n",(0,l.jsxs)(s.li,{children:[(0,l.jsx)(s.code,{children:"docusaurus-theme-classic"}),", ",(0,l.jsx)(s.code,{children:"docusaurus-theme-live-codeblock"}),"\n",(0,l.jsxs)(s.ul,{children:["\n",(0,l.jsxs)(s.li,{children:[(0,l.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/2114",children:"#2114"})," fix(v2): add syntax highlight to generated colors (",(0,l.jsx)(s.a,{href:"https://github.com/lex111",children:"@lex111"}),")"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,l.jsx)(s.h2,{id:"house-internal",children:"\u{1F3E0} Internal"}),"\n",(0,l.jsxs)(s.ul,{children:["\n",(0,l.jsxs)(s.li,{children:["Other\n",(0,l.jsxs)(s.ul,{children:["\n",(0,l.jsxs)(s.li,{children:[(0,l.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/2126",children:"#2126"})," docs: promote Docusaurus 2 usage (",(0,l.jsx)(s.a,{href:"https://github.com/yangshun",children:"@yangshun"}),")"]}),"\n",(0,l.jsxs)(s.li,{children:[(0,l.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/2119",children:"#2119"})," fix(v2): align GH button in vertical center (",(0,l.jsx)(s.a,{href:"https://github.com/lex111",children:"@lex111"}),")"]}),"\n"]}),"\n"]}),"\n",(0,l.jsxs)(s.li,{children:[(0,l.jsx)(s.code,{children:"docusaurus-init"}),"\n",(0,l.jsxs)(s.ul,{children:["\n",(0,l.jsxs)(s.li,{children:[(0,l.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/2124",children:"#2124"})," feat(v2): add Facebook Docusaurus 2 template (",(0,l.jsx)(s.a,{href:"https://github.com/yangshun",children:"@yangshun"}),")"]}),"\n"]}),"\n"]}),"\n",(0,l.jsxs)(s.li,{children:[(0,l.jsx)(s.code,{children:"docusaurus"}),"\n",(0,l.jsxs)(s.ul,{children:["\n",(0,l.jsxs)(s.li,{children:[(0,l.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/2111",children:"#2111"})," feat(v2): explicit babel/runtime version (",(0,l.jsx)(s.a,{href:"https://github.com/endiliey",children:"@endiliey"}),")"]}),"\n"]}),"\n"]}),"\n",(0,l.jsxs)(s.li,{children:[(0,l.jsx)(s.code,{children:"docusaurus-1.x"}),", ",(0,l.jsx)(s.code,{children:"docusaurus-init"}),", ",(0,l.jsx)(s.code,{children:"docusaurus-mdx-loader"}),", ",(0,l.jsx)(s.code,{children:"docusaurus-plugin-content-blog"}),", ",(0,l.jsx)(s.code,{children:"docusaurus-plugin-content-docs"}),", ",(0,l.jsx)(s.code,{children:"docusaurus-plugin-ideal-image"}),", ",(0,l.jsx)(s.code,{children:"docusaurus-theme-live-codeblock"}),", ",(0,l.jsx)(s.code,{children:"docusaurus"}),"\n",(0,l.jsxs)(s.ul,{children:["\n",(0,l.jsxs)(s.li,{children:[(0,l.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/2102",children:"#2102"})," misc: add command to run prettier on docs (",(0,l.jsx)(s.a,{href:"https://github.com/yangshun",children:"@yangshun"}),")"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,l.jsx)(s.h2,{id:"running-performance",children:":running: Performance"}),"\n",(0,l.jsxs)(s.ul,{children:["\n",(0,l.jsxs)(s.li,{children:[(0,l.jsx)(s.code,{children:"docusaurus"}),"\n",(0,l.jsxs)(s.ul,{children:["\n",(0,l.jsxs)(s.li,{children:[(0,l.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/2118",children:"#2118"})," perf(v2): reduce HTML payload by eliminating chunk-map (",(0,l.jsx)(s.a,{href:"https://github.com/endiliey",children:"@endiliey"}),")"]}),"\n",(0,l.jsxs)(s.li,{children:[(0,l.jsx)(s.a,{href:"https://github.com/facebook/docusaurus/pull/2116",children:"#2116"})," feat(v2): minify html (",(0,l.jsx)(s.a,{href:"https://github.com/endiliey",children:"@endiliey"}),")"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,l.jsx)(s.h2,{id:"committers-6",children:"Committers: 6"}),"\n",(0,l.jsxs)(s.ul,{children:["\n",(0,l.jsxs)(s.li,{children:["Alexey Pyltsyn (",(0,l.jsx)(s.a,{href:"https://github.com/lex111",children:"@lex111"}),")"]}),"\n",(0,l.jsxs)(s.li,{children:["Endi (",(0,l.jsx)(s.a,{href:"https://github.com/endiliey",children:"@endiliey"}),")"]}),"\n",(0,l.jsxs)(s.li,{children:["Janko Marohni\u0107 (",(0,l.jsx)(s.a,{href:"https://github.com/janko",children:"@janko"}),")"]}),"\n",(0,l.jsxs)(s.li,{children:["Nick McCurdy (",(0,l.jsx)(s.a,{href:"https://github.com/nickmccurdy",children:"@nickmccurdy"}),")"]}),"\n",(0,l.jsxs)(s.li,{children:["Yangshun Tay (",(0,l.jsx)(s.a,{href:"https://github.com/yangshun",children:"@yangshun"}),")"]}),"\n",(0,l.jsxs)(s.li,{children:["t11s (",(0,l.jsx)(s.a,{href:"https://github.com/TransmissionsDev",children:"@TransmissionsDev"}),")"]}),"\n"]})]})}function a(e={}){let{wrapper:s}={...(0,c.R)(),...e.components};return s?(0,l.jsx)(s,{...e,children:(0,l.jsx)(o,{...e})}):o(e)}},43023:(e,s,n)=>{n.d(s,{R:()=>h,x:()=>r});var i=n(63696);let l={},c=i.createContext(l);function h(e){let s=i.useContext(c);return i.useMemo(function(){return"function"==typeof e?e(s):{...s,...e}},[s,e])}function r(e){let s;return s=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:h(e.components),i.createElement(c.Provider,{value:s},e.children)}},17159:e=>{e.exports=JSON.parse('{"permalink":"/changelog/2.0.0-alpha.40","source":"@site/changelog/source/2.0.0-alpha.40.md","title":"2.0.0-alpha.40","description":"New Feature","date":"2019-12-25T20:00:00.000Z","tags":[],"hasTruncateMarker":true,"authors":[{"name":"Endi","alias":"endiliey","url":"https://github.com/endiliey","imageURL":"https://github.com/endiliey.png","key":"endiliey","page":null},{"name":"Janko Marohni\u0107","alias":"janko","url":"https://github.com/janko","imageURL":"https://github.com/janko.png","key":"janko","page":null},{"name":"Alexey Pyltsyn","alias":"lex111","url":"https://github.com/lex111","imageURL":"https://github.com/lex111.png","key":"lex111","page":null},{"name":"Nick McCurdy","alias":"nickmccurdy","url":"https://github.com/nickmccurdy","imageURL":"https://github.com/nickmccurdy.png","key":"nickmccurdy","page":null},{"name":"t11s","alias":"TransmissionsDev","url":"https://github.com/TransmissionsDev","imageURL":"https://github.com/TransmissionsDev.png","key":"TransmissionsDev","page":null},{"name":"Yangshun Tay","alias":"yangshun","url":"https://github.com/yangshun","imageURL":"https://github.com/yangshun.png","key":"yangshun","page":null}],"frontMatter":{"mdx":{"format":"md"},"date":"2019-12-25T20:00","authors":["endiliey","janko","lex111","nickmccurdy","TransmissionsDev","yangshun"]},"unlisted":false,"prevItem":{"title":"2.0.0-alpha.41","permalink":"/changelog/2.0.0-alpha.41"},"nextItem":{"title":"2.0.0-alpha.39","permalink":"/changelog/2.0.0-alpha.39"},"listPageLink":"/changelog/page/4"}')}}]); |