This commit is contained in:
slorber 2025-06-02 16:47:21 +00:00
parent 9b6caca648
commit f231bb6c9a
242 changed files with 268 additions and 268 deletions

View file

@ -0,0 +1,4 @@
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["17663"],{73278:function(e,t,n){n.d(t,{Z:()=>r});let r={cardContainer:"cardContainer_Uewx",cardTitle:"cardTitle_dwRT",cardDescription:"cardDescription_mCBT"}},57115:function(e,t,n){n.d(t,{Z:()=>r});let r={docCardListItem:"docCardListItem_hvcp"}},58355:function(e,t,n){n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>c,default:()=>h,frontMatter:()=>a,metadata:()=>r,toc:()=>d});var r=n(4698),i=n(85893),s=n(80980),o=n(48328);let a={},c="Advanced Tutorials",l={},d=[];function u(e){let t={a:"a",h1:"h1",header:"header",p:"p",...(0,s.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.header,{children:(0,i.jsx)(t.h1,{id:"advanced-tutorials",children:"Advanced Tutorials"})}),"\n",(0,i.jsx)(t.p,{children:"This section is not going to be very structured, but we will cover the following topics:"}),"\n","\n",(0,i.jsx)(o.Z,{}),"\n",(0,i.jsxs)(t.p,{children:["We will assume that you have finished the guides, and know the basics like how to configure plugins, how to write React components, etc. These sections will have plugin authors and code contributors in mind, so we may occasionally refer to ",(0,i.jsx)(t.a,{href:"/docs/api/plugin-methods/",children:"plugin APIs"})," or other architecture details. Don't panic if you don't understand everything\uD83D\uDE09"]})]})}function h(e={}){let{wrapper:t}={...(0,s.a)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(u,{...e})}):u(e)}},81858:function(e,t,n){n.d(t,{Z:()=>x});var r=n(85893);n(67294);var i=n(90496),s=n(35363),o=n(85921),a=n(11660),c=n(82095),l=n(77827),d=n(97710),u=n(73278);function h(e){let{className:t,href:n,children:o}=e;return(0,r.jsx)(s.Z,{href:n,className:(0,i.Z)("card padding--lg",u.Z.cardContainer,t),children:o})}function m(e){let{className:t,href:n,icon:s,title:o,description:a}=e;return(0,r.jsxs)(h,{href:n,className:t,children:[(0,r.jsxs)(d.Z,{as:"h2",className:(0,i.Z)("text--truncate",u.Z.cardTitle),title:o,children:[s," ",o]}),a&&(0,r.jsx)("p",{className:(0,i.Z)("text--truncate",u.Z.cardDescription),title:a,children:a})]})}function f(e){let{item:t}=e,n=(0,o.LM)(t),i=function(){let{selectMessage:e}=(0,a.c)();return t=>e(t,(0,l.I)({message:"1 item|{count} items",id:"theme.docs.DocCard.categoryDescription.plurals",description:"The default description for a category card in the generated index about how many items this category includes"},{count:t}))}();return n?(0,r.jsx)(m,{className:t.className,href:n,icon:"\uD83D\uDDC3\uFE0F",title:t.label,description:t.description??i(t.items.length)}):null}function p(e){let{item:t}=e,n=(0,c.Z)(t.href)?"\uD83D\uDCC4\uFE0F":"\uD83D\uDD17",i=(0,o.xz)(t.docId??void 0);return(0,r.jsx)(m,{className:t.className,href:t.href,icon:n,title:t.label,description:t.description??i?.description})}function x(e){let{item:t}=e;switch(t.type){case"link":return(0,r.jsx)(p,{item:t});case"category":return(0,r.jsx)(f,{item:t});default:throw Error(`unknown item type ${JSON.stringify(t)}`)}}},48328:function(e,t,n){n.d(t,{Z:()=>d});var r=n(85893);n(67294);var i=n(90496),s=n(85921),o=n(81858),a=n(57115);function c(e){let{className:t}=e,n=(0,s.Ok)();return(0,r.jsx)(d,{items:n,className:t})}function l(e){let{item:t}=e;return(0,r.jsx)("article",{className:(0,i.Z)(a.Z.docCardListItem,"col col--6"),children:(0,r.jsx)(o.Z,{item:t})})}function d(e){let{items:t,className:n}=e;if(!t)return(0,r.jsx)(c,{...e});let o=(0,s.MN)(t);return(0,r.jsx)("section",{className:(0,i.Z)("row",n),children:o.map((e,t)=>(0,r.jsx)(l,{item:e},t))})}},11660:function(e,t,n){n.d(t,{c:()=>c});var r=n(67294),i=n(8156);let s=["zero","one","two","few","many","other"];function o(e){return s.filter(t=>e.includes(t))}let a={locale:"en",pluralForms:o(["one","other"]),select:e=>1===e?"one":"other"};function c(){let e=function(){let{i18n:{currentLocale:e}}=(0,i.Z)();return(0,r.useMemo)(()=>{try{let t=new Intl.PluralRules(e);return{locale:e,pluralForms:o(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".
Docusaurus will fallback to the default (English) implementation.
Error: ${t.message}
`),a}},[e])}();return{selectMessage:(t,n)=>(function(e,t,n){let r=e.split("|");if(1===r.length)return r[0];r.length>n.pluralForms.length&&console.error(`For locale=${n.locale}, a maximum of ${n.pluralForms.length} plural forms are expected (${n.pluralForms.join(",")}), but the message contains ${r.length}: ${e}`);let i=n.select(t);return r[Math.min(n.pluralForms.indexOf(i),r.length-1)]})(n,t,e)}}},80980:function(e,t,n){n.d(t,{Z:()=>a,a:()=>o});var r=n(67294);let i={},s=r.createContext(i);function o(e){let t=r.useContext(s);return r.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:o(e.components),r.createElement(s.Provider,{value:t},e.children)}},4698:function(e){e.exports=JSON.parse('{"id":"advanced/index","title":"Advanced Tutorials","description":"This section is not going to be very structured, but we will cover the following topics:","source":"@site/docs/advanced/index.mdx","sourceDirName":"advanced","slug":"/advanced/","permalink":"/docs/advanced/","draft":false,"unlisted":false,"editUrl":"https://github.com/facebook/docusaurus/edit/main/website/docs/advanced/index.mdx","tags":[],"version":"current","lastUpdatedBy":"S\xe9bastien Lorber","lastUpdatedAt":1748882647000,"frontMatter":{},"sidebar":"docs","previous":{"title":"What\'s next?","permalink":"/docs/guides/whats-next"},"next":{"title":"Architecture","permalink":"/docs/advanced/architecture"}}')}}]);