mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-04 12:47:14 +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,n)=>{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>s,default:()=>p,frontMatter:()=>o,metadata:()=>i,toc:()=>c});var a=n(24246),r=n(71670);const o={displayed_sidebar:"anotherSidebar"},s="Doc with another sidebar",i={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:"Christian Stangerup",lastUpdatedAt:1723550345e3,frontMatter:{displayed_sidebar:"anotherSidebar"},sidebar:"anotherSidebar"},d={},c=[];function h(e){const t={h1:"h1",header:"header",p:"p",...(0,r.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 p(e={}){const{wrapper:t}={...(0,r.a)(),...e.components};return t?(0,a.jsx)(t,{...e,children:(0,a.jsx)(h,{...e})}):h(e)}p.displayName="MDXContent(_dogfooding/_docs tests/doc-with-another-sidebar.mdx)"},71670:(e,t,n)=>{n.d(t,{Z:()=>i,a:()=>s});var a=n(27378);const r={},o=a.createContext(r);function s(e){const t=a.useContext(o);return a.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function i(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:s(e.components),a.createElement(o.Provider,{value:t},e.children)}}}]); |