[{"data":1,"prerenderedAt":369,"buildId":370},["ShallowReactive",2],{"page:\u002Fdocs\u002F5.x\u002Freference\u002Fkit\u002Fextension-docs":3},{"id":4,"title":5,"body":6,"description":351,"extension":352,"frontmatter":353,"heading":358,"meta":360,"navigation":362,"order":356,"path":363,"seo":364,"sitemap":365,"source":366,"stem":367,"__hash__":368},"docs\u002Fdocs\u002F5.x\u002Freference\u002Fkit\u002Fextension-docs.md","Extension docs - The docs folder kubb.dev renders",{"type":7,"value":8,"toc":337},"minimark",[9,28,45,49,115,118,122,129,133,179,183,193,261,264,268,274,290,293,296,316,320,325],[10,11,12,13,17,18,21,22,27],"p",{},"The ",[14,15,16],"code",{},"docs\u002F"," folder of your extension becomes its pages on kubb.dev, under ",[14,19,20],{},"\u002Fextensions\u002F\u003Cowner>\u002F\u003Cslug>",". Put it at the package root, next to the ",[23,24,26],"a",{"href":25},"\u002Fdocs\u002F5.x\u002Freference\u002Fkit\u002Fmanifest","extension manifest",". The extension registry reads it from the pinned version's npm tarball or GitHub release.",[29,30,32,33,36,37,40,41,44],"blockquote",{"as":31},"important","Add ",[14,34,35],{},"docs"," to ",[14,38,39],{},"files"," in ",[14,42,43],{},"package.json",", so npm ships it.",[46,47,48],"h2",{"id":39},"Files",[50,51,52,68],"table",{},[53,54,55],"thead",{},[56,57,58,62,65],"tr",{},[59,60,61],"th",{},"File",[59,63,64],{},"Page on kubb.dev",[59,66,67],{},"Required",[69,70,71,86,101],"tbody",{},[56,72,73,79,83],{},[74,75,76],"td",{},[14,77,78],{},"docs\u002Foverview.md",[74,80,81],{},[14,82,20],{},[74,84,85],{},"Yes",[56,87,88,93,98],{},[74,89,90],{},[14,91,92],{},"docs\u002Foptions.md",[74,94,95],{},[14,96,97],{},"\u002Fextensions\u002F\u003Cowner>\u002F\u003Cslug>\u002Foptions",[74,99,100],{},"No",[56,102,103,108,113],{},[74,104,105],{},[14,106,107],{},"docs\u002Fguides\u002F\u003Cid>.md",[74,109,110],{},[14,111,112],{},"\u002Fextensions\u002F\u003Cowner>\u002F\u003Cslug>\u002Fguides\u002F\u003Cid>",[74,114,100],{},[10,116,117],{},"The registry ignores other files and skips a file larger than 256 KiB.",[46,119,121],{"id":120},"title-and-description","Title and description",[10,123,124,125,128],{},"Start each file with a ",[14,126,127],{},"#"," title on its first line, with no frontmatter. The first paragraph after the title is the description. kubb.dev also uses it as the meta description.",[46,130,132],{"id":131},"guides","Guides",[50,134,135,145],{},[53,136,137],{},[56,138,139,142],{},[59,140,141],{},"Rule",[59,143,144],{},"Detail",[69,146,147,163,171],{},[56,148,149,152],{},[74,150,151],{},"File name",[74,153,154,155,158,159,162],{},"Kebab case, such as ",[14,156,157],{},"base-url.md",". The id drops the ",[14,160,161],{},".md",".",[56,164,165,168],{},[74,166,167],{},"Order and limit",[74,169,170],{},"By file name, at most 50.",[56,172,173,176],{},[74,174,175],{},"Listing",[74,177,178],{},"A guide without a title, a description, or a kebab-case id is not listed.",[46,180,182],{"id":181},"markdown","Markdown",[10,184,185,186,189,190,162],{},"Write plain Markdown with absolute ",[14,187,188],{},"https:\u002F\u002F"," URLs for links and images. A code fence can carry a title, such as ",[14,191,192],{},"```typescript [kubb.config.ts]",[50,194,195,205],{},[53,196,197],{},[56,198,199,202],{},[59,200,201],{},"Renders",[59,203,204],{},"Does not render",[69,206,207,229],{},[56,208,209,226],{},[74,210,211,212,215,216,215,219,222,223],{},"The callouts ",[14,213,214],{},"> [!NOTE]",", ",[14,217,218],{},"> [!TIP]",[14,220,221],{},"> [!IMPORTANT]",", and ",[14,224,225],{},"> [!WARNING]",[74,227,228],{},"Raw HTML",[56,230,231,255],{},[74,232,233,215,236,239,240,215,243,215,246,215,249,239,252],{},[14,234,235],{},"::code-group",[14,237,238],{},"::field-group"," with ",[14,241,242],{},":::field",[14,244,245],{},"::steps",[14,247,248],{},"::code-collapse",[14,250,251],{},"::tabs",[14,253,254],{},":::tabs-item",[74,256,257,260],{},[14,258,259],{},"\u003C!--@include-->"," lines, twoslash code fences, and any other component",[10,262,263],{},"Before a version is approved, validation reports each item that does not render.",[46,265,267],{"id":266},"overview","What the overview covers",[10,269,270,273],{},[14,271,272],{},"overview.md"," is the extension's page on kubb.dev. Cover these points in order:",[275,276,277,281,284,287],"ol",{},[278,279,280],"li",{},"What the extension does, in one or two short paragraphs.",[278,282,283],{},"How it works, only when that is not obvious.",[278,285,286],{},"The setup it needs, such as other plugins or peer packages.",[278,288,289],{},"Options worth explaining, and known limits.",[29,291,292],{"as":31},"When the package runs an install script, uses the network, or touches files outside its output path, say so in the overview.",[10,294,295],{},"Use sentence case, plain language, and no em dashes. Leave out badges, a changelog, license text, and marketing.",[29,297,299,300,215,303,215,306,215,309,312,313,162],{"as":298},"warning","The page already shows how to install. Validation fails for an overview that contains ",[14,301,302],{},"kubb add",[14,304,305],{},"npm install",[14,307,308],{},"npm i",[14,310,311],{},"pnpm add",", or ",[14,314,315],{},"yarn add",[46,317,319],{"id":318},"less-common-cases","Less common cases",[321,322,324],"h3",{"id":323},"extension-docs-limits","Extension docs limits",[326,327,328,331,334],"ul",{},[278,329,330],{},"The registry reports each file it skips for being larger than 256 KiB.",[278,332,333],{},"A version that ships more than 50 guides lists the first 50 by file name.",[278,335,336],{},"kubb.dev shows a guide's description on its card, in the guide filter, and as the meta description.",{"title":338,"searchDepth":339,"depth":339,"links":340},"",5,[341,343,344,345,346,347],{"id":39,"depth":342,"text":48},2,{"id":120,"depth":342,"text":121},{"id":131,"depth":342,"text":132},{"id":181,"depth":342,"text":182},{"id":266,"depth":342,"text":267},{"id":318,"depth":342,"text":319,"children":348},[349],{"id":323,"depth":350,"text":324},3,"Reference for the docs folder a Kubb plugin, adapter, or parser ships on npm: the files kubb.dev renders, titles, guide ids, and the Markdown.","md",{"layout":354,"title":5,"description":351,"outline":355,"order":356,"navigation":357},"doc",[342,350],16,{"title":358,"icon":359},"Extension docs","i-iconoir-book",{"layout":354,"outline":361},[342,350],{"title":358,"icon":359},"\u002Fdocs\u002F5.x\u002Freference\u002Fkit\u002Fextension-docs",{"title":5,"description":351},{"loc":363},"kubb-labs\u002Fkubb\u002Fdocs\u002F5.x\u002Freference\u002Fkit\u002Fextension-docs.md","docs\u002F5.x\u002Freference\u002Fkit\u002Fextension-docs","hHTuSzdpGcZvZOz8tbmkbgprz7mefmK5s7GrE5t192w",1795727677802,"1b64b1eb-29b7-4f90-ad41-6f24721e1669"]