docusaurus/assets/js/aed6c7bc.b18a7939.js
2024-06-21 11:47:27 +00:00

1 line
No EOL
2 KiB
JavaScript

"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[61773],{92701:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>r,contentTitle:()=>c,default:()=>u,frontMatter:()=>i,metadata:()=>d,toc:()=>a});var s=n(24246),o=n(71670);const i={},c="Index",d={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:"Tatsunori Uchino",lastUpdatedAt:1718970228e3,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",p:"p",...(0,o.a)(),...e.components};return(0,s.jsxs)(s.Fragment,{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)}},71670:(e,t,n)=>{n.d(t,{Z:()=>d,a:()=>c});var s=n(27378);const o={},i=s.createContext(o);function c(e){const t=s.useContext(i);return s.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function d(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:c(e.components),s.createElement(i.Provider,{value:t},e.children)}}}]);