docusaurus/assets/js/aed6c7bc.c20ffd56.js
2024-08-20 09:46:21 +00:00

1 line
No EOL
2.1 KiB
JavaScript

"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[61773],{92701:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>r,contentTitle:()=>d,default:()=>u,frontMatter:()=>i,metadata:()=>c,toc:()=>a});var s=n(24246),o=n(71670);const i={},d="Index",c={id:"tests/category-links/no-index-doc/index",title:"Index",description:"This file (index.md) is supposed to be a category index, but it isn't because we have set link: null in the category.json.",source:"@site/_dogfooding/_docs tests/tests/category-links/no-index-doc/index.mdx",sourceDirName:"tests/category-links/no-index-doc",slug:"/tests/category-links/no-index-doc/",permalink:"/tests/docs/tests/category-links/no-index-doc/",draft:!1,unlisted:!1,tags:[],version:"current",lastUpdatedBy:"S\xe9bastien Lorber",lastUpdatedAt:1724146933e3,frontMatter:{},sidebar:"sidebar",previous:{title:"Sample doc",permalink:"/tests/docs/tests/category-links/custom-index-convention/sample-doc"},next:{title:"Sample doc",permalink:"/tests/docs/tests/category-links/no-index-doc/sample-doc"}},r={},a=[];function l(e){const t={code:"code",h1:"h1",header:"header",p:"p",...(0,o.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(t.header,{children:(0,s.jsx)(t.h1,{id:"index",children:"Index"})}),"\n",(0,s.jsxs)(t.p,{children:["This file (",(0,s.jsx)(t.code,{children:"index.md"}),") is supposed to be a category index, but it isn't because we have set ",(0,s.jsx)(t.code,{children:"link: null"})," in the ",(0,s.jsx)(t.code,{children:"_category_.json"}),"."]})]})}function u(e={}){const{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,s.jsx)(t,{...e,children:(0,s.jsx)(l,{...e})}):l(e)}u.displayName="MDXContent(_dogfooding/_docs tests/tests/category-links/no-index-doc/index.mdx)"},71670:(e,t,n)=>{n.d(t,{Z:()=>c,a:()=>d});var s=n(27378);const o={},i=s.createContext(o);function d(e){const t=s.useContext(i);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:d(e.components),s.createElement(i.Provider,{value:t},e.children)}}}]);