mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-02 10:52:35 +02:00
1 line
No EOL
5.1 KiB
JavaScript
1 line
No EOL
5.1 KiB
JavaScript
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["20142"],{20886:function(e,r,n){n.r(r),n.d(r,{default:()=>f});var t=n("24246"),s=n("8156"),i=n("35363"),c=n("77827"),o=n("90158"),a=n("98143"),l=n("57922"),d=JSON.parse('{"2.3.1":"https://docusaurus-archive-october-2023.netlify.app/docs/2.3.1","2.2.0":"https://docusaurus-archive-october-2023.netlify.app/docs/2.2.0","2.1.0":"https://docusaurus-archive-october-2023.netlify.app/docs/2.1.0","2.0.1":"https://docusaurus-archive-october-2023.netlify.app/docs/2.0.1"}');function h(e,r){(null==r||r>e.length)&&(r=e.length);for(var n=0,t=Array(r);n<r;n++)t[n]=e[n];return t}var u=void 0,x=Object.entries(d);function j(){return(0,t.jsx)(c.Z,{id:"versionsPage.versionEntry.link",children:"Documentation"})}function v(){return(0,t.jsx)(c.Z,{id:"versionsPage.versionEntry.releaseNotes",children:"Release Notes"})}function f(){var e=(0,s.Z)().siteConfig,r=e.organizationName,n=e.projectName,d=(0,o.useVersions)(u),f=(0,o.useLatestVersion)(u),p=d.find(function(e){return"current"===e.name}),m=d.filter(function(e){return e!==f&&"current"!==e.name}),g="https://github.com/".concat(r,"/").concat(n);return(0,t.jsx)(a.Z,{title:"Versions",description:"Docusaurus 2 Versions page listing all documented site versions",children:(0,t.jsxs)("main",{className:"container margin-vert--lg",children:[(0,t.jsx)(l.Z,{as:"h1",children:(0,t.jsx)(c.Z,{id:"versionsPage.title",children:"Docusaurus documentation versions"})}),(0,t.jsxs)("div",{className:"margin-bottom--lg",children:[(0,t.jsx)(l.Z,{as:"h3",id:"next",children:(0,t.jsx)(c.Z,{id:"versionsPage.current.title",children:"Current version (Stable)"})}),(0,t.jsx)("p",{children:(0,t.jsx)(c.Z,{id:"versionsPage.current.description",children:"Here you can find the documentation for current released version."})}),(0,t.jsx)("table",{children:(0,t.jsx)("tbody",{children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{children:f.label}),(0,t.jsx)("td",{children:(0,t.jsx)(i.Z,{to:f.path,children:(0,t.jsx)(j,{})})}),(0,t.jsx)("td",{children:(0,t.jsx)(i.Z,{to:"".concat(g,"/releases/tag/v").concat(f.name),children:(0,t.jsx)(v,{})})})]})})})]}),p!==f&&(0,t.jsxs)("div",{className:"margin-bottom--lg",children:[(0,t.jsx)(l.Z,{as:"h3",id:"latest",children:(0,t.jsx)(c.Z,{id:"versionsPage.next.title",children:"Next version (Unreleased)"})}),(0,t.jsx)("p",{children:(0,t.jsx)(c.Z,{id:"versionsPage.next.description",children:"Here you can find the documentation for work-in-process unreleased version."})}),(0,t.jsx)("table",{children:(0,t.jsx)("tbody",{children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{children:p.label}),(0,t.jsx)("td",{children:(0,t.jsx)(i.Z,{to:p.path,children:(0,t.jsx)(j,{})})})]})})})]}),(m.length>0||x.length>0)&&(0,t.jsxs)("div",{className:"margin-bottom--lg",children:[(0,t.jsx)(l.Z,{as:"h3",id:"archive",children:(0,t.jsx)(c.Z,{id:"versionsPage.archived.title",children:"Past versions (Not maintained anymore)"})}),(0,t.jsx)("p",{children:(0,t.jsx)(c.Z,{id:"versionsPage.archived.description",children:"Here you can find documentation for previous versions of Docusaurus."})}),(0,t.jsx)("table",{children:(0,t.jsxs)("tbody",{children:[m.map(function(e){return(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{children:e.label}),(0,t.jsx)("td",{children:(0,t.jsx)(i.Z,{to:e.path,children:(0,t.jsx)(j,{})})}),(0,t.jsx)("td",{children:(0,t.jsx)(i.Z,{href:"".concat(g,"/releases/tag/v").concat(e.name),children:(0,t.jsx)(v,{})})})]},e.name)}),x.map(function(e){var r,n,s=(n=2,function(e){if(Array.isArray(e))return e}(r=e)||function(e,r){var n,t,s=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=s){var i=[],c=!0,o=!1;try{for(s=s.call(e);!(c=(n=s.next()).done)&&(i.push(n.value),!r||i.length!==r);c=!0);}catch(e){o=!0,t=e}finally{try{!c&&null!=s.return&&s.return()}finally{if(o)throw t}}return i}}(r,2)||function(e,r){if(e){if("string"==typeof e)return h(e,r);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,r)}}(r,n)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=s[0],o=s[1];return(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{children:c}),(0,t.jsx)("td",{children:(0,t.jsx)(i.Z,{to:o,children:(0,t.jsx)(j,{})})}),(0,t.jsx)("td",{children:(0,t.jsx)(i.Z,{href:"".concat(g,"/releases/tag/v").concat(c),children:(0,t.jsx)(v,{})})})]},c)})]})})]}),(0,t.jsxs)("div",{className:"margin-bottom--lg",children:[(0,t.jsx)(l.Z,{as:"h3",id:"legacy",children:(0,t.jsx)(c.Z,{id:"versionsPage.legacy.title",children:"Docusaurus v1 (Legacy)"})}),(0,t.jsx)("p",{children:(0,t.jsx)(c.Z,{id:"versionsPage.legacy.description",children:"Here you can find documentation for legacy version of Docusaurus."})}),(0,t.jsx)("table",{children:(0,t.jsx)("tbody",{children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{children:"1.x"}),(0,t.jsx)("td",{children:(0,t.jsx)(i.Z,{href:"https://v1.docusaurus.io/docs/en/installation",children:(0,t.jsx)(j,{})})})]})})})]})]})})}}}]); |