mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-25 06:56:56 +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:()=>l,default:()=>h,frontMatter:()=>o,metadata:()=>a,toc:()=>c});var s=n(24246),i=n(71670);const o={mdx:{format:"md"},date:"2019-10-12T20:00"},l="2.0.0-alpha.26",a={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){const t={a:"a",code:"code",li:"li",ul:"ul",...(0,i.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={}){const{wrapper:t}={...(0,i.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(d,{...e})}):d(e)}},71670:(e,t,n)=>{n.d(t,{Z:()=>a,a:()=>l});var s=n(27378);const i={},o=s.createContext(i);function l(e){const t=s.useContext(o);return s.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(i):e.components||i:l(e.components),s.createElement(o.Provider,{value:t},e.children)}}}]); |