mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-04 12:47:14 +02:00
1 line
No EOL
3.2 KiB
JavaScript
1 line
No EOL
3.2 KiB
JavaScript
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["95113"],{29179:function(e,t,n){n.r(t),n.d(t,{assets:()=>r,contentTitle:()=>a,default:()=>h,frontMatter:()=>o,metadata:()=>i,toc:()=>c});var i=n(32484),s=n(85893),l=n(80980);let o={mdx:{format:"md"},date:"2019-10-12T20:00"},a="2.0.0-alpha.26",r={authorsImageUrls:[]},c=[];function d(e){let t={a:"a",code:"code",li:"li",ul:"ul",...(0,l.a)(),...e.components};return(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:"Docs, pages plugin is rewritten in TypeScript"}),"\n",(0,s.jsxs)(t.li,{children:["Docs improvements and tweaks\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:"Improved metadata which results in smaller bundle size."}),"\n",(0,s.jsx)(t.li,{children:"Docs sidebar can now be more than one level deep, theoretically up to infinity"}),"\n",(0,s.jsx)(t.li,{children:"Collapsible docs sidebar!"}),"\n",(0,s.jsx)(t.li,{children:"Make doc page title larger"}),"\n",(0,s.jsxs)(t.li,{children:["Add ",(0,s.jsx)(t.code,{children:"editUrl"}),' option (URL for editing) to docs plugin. If this field is set, there will be an "Edit this page" link for each doc page. Example: \'',(0,s.jsx)(t.a,{href:"https://github.com/facebook/docusaurus/edit/master/docs",children:"https://github.com/facebook/docusaurus/edit/master/docs"}),"'"]}),"\n",(0,s.jsxs)(t.li,{children:["Add ",(0,s.jsx)(t.code,{children:"showLastUpdateTime"})," and ",(0,s.jsx)(t.code,{children:"showLastUpdateAuthor"})," options to docs plugin to further achieve v1 parity of showing last update data for a particular doc"]}),"\n"]}),"\n"]}),"\n",(0,s.jsx)(t.li,{children:"Slight tweaks to the Blog components - blog title is larger now"}),"\n",(0,s.jsxs)(t.li,{children:["Code Blocks\n",(0,s.jsxs)(t.ul,{children:["\n",(0,s.jsx)(t.li,{children:"Change default theme from Night Owl to Palenight"}),"\n",(0,s.jsx)(t.li,{children:"Slight tweaks to playground/preview components"}),"\n"]}),"\n"]}),"\n",(0,s.jsxs)(t.li,{children:["Add ",(0,s.jsx)(t.code,{children:"scripts"})," and ",(0,s.jsx)(t.code,{children:"stylesheets"})," field to ",(0,s.jsx)(t.code,{children:"docusaurus.config.js"})]}),"\n",(0,s.jsx)(t.li,{children:"More documentation..."}),"\n"]})}function h(e={}){let{wrapper:t}={...(0,l.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},80980:function(e,t,n){n.d(t,{Z:()=>a,a:()=>o});var i=n(67294);let s={},l=i.createContext(s);function o(e){let t=i.useContext(l);return i.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(s):e.components||s:o(e.components),i.createElement(l.Provider,{value:t},e.children)}},32484:function(e){e.exports=JSON.parse('{"permalink":"/changelog/2.0.0-alpha.26","source":"@site/changelog/source/2.0.0-alpha.26.md","title":"2.0.0-alpha.26","description":"- Docs, pages plugin is rewritten in TypeScript","date":"2019-10-12T20:00:00.000Z","tags":[],"hasTruncateMarker":true,"authors":[],"frontMatter":{"mdx":{"format":"md"},"date":"2019-10-12T20:00"},"unlisted":false,"prevItem":{"title":"2.0.0-alpha.27","permalink":"/changelog/2.0.0-alpha.27"},"nextItem":{"title":"2.0.0-alpha.25","permalink":"/changelog/2.0.0-alpha.25"},"listPageLink":"/changelog/page/5"}')}}]); |