mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-03 08:49:51 +02:00
1 line
No EOL
3.1 KiB
JavaScript
1 line
No EOL
3.1 KiB
JavaScript
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[9924],{41858:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>r,contentTitle:()=>a,default:()=>h,frontMatter:()=>s,metadata:()=>o,toc:()=>c});var i=n(24246),l=n(71670);let s={mdx:{format:"md"},date:"2019-10-12T20:00"},a="2.0.0-alpha.26",o={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:!0,authors:[],frontMatter:{mdx:{format:"md"},date:"2019-10-12T20:00"},unlisted:!1,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"},r={authorsImageUrls:[]},c=[];function d(e){let t={a:"a",code:"code",li:"li",ul:"ul",...(0,l.a)(),...e.components};return(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Docs, pages plugin is rewritten in TypeScript"}),"\n",(0,i.jsxs)(t.li,{children:["Docs improvements and tweaks\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Improved metadata which results in smaller bundle size."}),"\n",(0,i.jsx)(t.li,{children:"Docs sidebar can now be more than one level deep, theoretically up to infinity"}),"\n",(0,i.jsx)(t.li,{children:"Collapsible docs sidebar!"}),"\n",(0,i.jsx)(t.li,{children:"Make doc page title larger"}),"\n",(0,i.jsxs)(t.li,{children:["Add ",(0,i.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,i.jsx)(t.a,{href:"https://github.com/facebook/docusaurus/edit/master/docs",children:"https://github.com/facebook/docusaurus/edit/master/docs"}),"'"]}),"\n",(0,i.jsxs)(t.li,{children:["Add ",(0,i.jsx)(t.code,{children:"showLastUpdateTime"})," and ",(0,i.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,i.jsx)(t.li,{children:"Slight tweaks to the Blog components - blog title is larger now"}),"\n",(0,i.jsxs)(t.li,{children:["Code Blocks\n",(0,i.jsxs)(t.ul,{children:["\n",(0,i.jsx)(t.li,{children:"Change default theme from Night Owl to Palenight"}),"\n",(0,i.jsx)(t.li,{children:"Slight tweaks to playground/preview components"}),"\n"]}),"\n"]}),"\n",(0,i.jsxs)(t.li,{children:["Add ",(0,i.jsx)(t.code,{children:"scripts"})," and ",(0,i.jsx)(t.code,{children:"stylesheets"})," field to ",(0,i.jsx)(t.code,{children:"docusaurus.config.js"})]}),"\n",(0,i.jsx)(t.li,{children:"More documentation..."}),"\n"]})}function h(e={}){let{wrapper:t}={...(0,l.a)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}},71670:(e,t,n)=>{n.d(t,{Z:()=>o,a:()=>a});var i=n(27378);let l={},s=i.createContext(l);function a(e){let t=i.useContext(s);return i.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function o(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(l):e.components||l:a(e.components),i.createElement(s.Provider,{value:t},e.children)}}}]); |