mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-08 06:37:18 +02:00
1 line
No EOL
1.7 KiB
JavaScript
1 line
No EOL
1.7 KiB
JavaScript
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[56101],{23824:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>d,contentTitle:()=>i,default:()=>l,frontMatter:()=>o,metadata:()=>s,toc:()=>c});var a=r(24246),n=r(71670);let o={displayed_sidebar:"anotherSidebar"},i="Doc with another sidebar",s={id:"doc-with-another-sidebar",title:"Doc with another sidebar",description:"My link appears in a sidebar, but I want to display another sidebar...",source:"@site/_dogfooding/_docs tests/doc-with-another-sidebar.mdx",sourceDirName:".",slug:"/doc-with-another-sidebar",permalink:"/tests/docs/doc-with-another-sidebar",draft:!1,unlisted:!1,tags:[],version:"current",lastUpdatedBy:"S\xe9bastien Lorber",lastUpdatedAt:1724759565e3,frontMatter:{displayed_sidebar:"anotherSidebar"},sidebar:"anotherSidebar"},d={},c=[];function h(e){let t={h1:"h1",header:"header",p:"p",...(0,n.a)(),...e.components};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(t.header,{children:(0,a.jsx)(t.h1,{id:"doc-with-another-sidebar",children:"Doc with another sidebar"})}),"\n",(0,a.jsx)(t.p,{children:"My link appears in a sidebar, but I want to display another sidebar..."})]})}function l(e={}){let{wrapper:t}={...(0,n.a)(),...e.components};return t?(0,a.jsx)(t,{...e,children:(0,a.jsx)(h,{...e})}):h(e)}l.displayName="MDXContent(_dogfooding/_docs tests/doc-with-another-sidebar.mdx)"},71670:(e,t,r)=>{r.d(t,{Z:()=>s,a:()=>i});var a=r(27378);let n={},o=a.createContext(n);function i(e){let t=a.useContext(o);return a.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function s(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(n):e.components||n:i(e.components),a.createElement(o.Provider,{value:t},e.children)}}}]); |