[{"data":1,"prerenderedAt":339},["ShallowReactive",2],{"navigation_docs":3,"-getting-started-installation":78,"-getting-started-installation-surround":334},[4,40,65],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting Started",false,"\u002Fgetting-started","1.getting-started",[10,15,20,25,30,35],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F2.introduction","i-lucide-house",{"title":16,"path":17,"stem":18,"icon":19},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F3.installation","i-lucide-download",{"title":21,"path":22,"stem":23,"icon":24},"Project Structure","\u002Fgetting-started\u002Fproject-structure","1.getting-started\u002F4.project-structure","i-lucide-folder-tree",{"title":26,"path":27,"stem":28,"icon":29},"Studio module","\u002Fgetting-started\u002Fstudio","1.getting-started\u002F5.studio","i-lucide-mouse-pointer-2",{"title":31,"path":32,"stem":33,"icon":34},"Migration","\u002Fgetting-started\u002Fmigration","1.getting-started\u002F6.migration","i-lucide-replace",{"title":36,"path":37,"stem":38,"icon":39},"Troubleshooting","\u002Fgetting-started\u002Ftroubleshooting","1.getting-started\u002F7.troubleshooting","i-lucide-wrench",{"title":41,"path":42,"stem":43,"children":44,"page":6},"Essentials","\u002Fessentials","2.essentials",[45,50,55,60],{"title":46,"path":47,"stem":48,"icon":49},"Markdown Syntax","\u002Fessentials\u002Fmarkdown-syntax","2.essentials\u002F1.markdown-syntax","i-lucide-heading-1",{"title":51,"path":52,"stem":53,"icon":54},"Code Blocks","\u002Fessentials\u002Fcode-blocks","2.essentials\u002F2.code-blocks","i-lucide-code-xml",{"title":56,"path":57,"stem":58,"icon":59},"Components","\u002Fessentials\u002Fcomponents","2.essentials\u002F3.components","i-lucide-component",{"title":61,"path":62,"stem":63,"icon":64},"Images and Embeds","\u002Fessentials\u002Fimages-embeds","2.essentials\u002F4.images-embeds","i-lucide-image",{"title":66,"path":67,"stem":66,"children":68,"page":6},"Temp","\u002Ftemp",[69],{"title":70,"path":71,"stem":72,"children":73,"page":6},"2026 10 8","\u002Ftemp\u002F2026-10-8","Temp\u002F2026-10-8",[74],{"title":75,"path":76,"stem":77},"GitHub 与 Cloudflare Pages 部署","\u002Ftemp\u002F2026-10-8\u002Fcloudflare-pages","Temp\u002F2026-10-8\u002Fcloudflare-pages",{"id":79,"title":16,"body":80,"description":326,"extension":327,"links":328,"meta":329,"navigation":330,"path":17,"seo":331,"stem":18,"__hash__":333},"docs\u002F1.getting-started\u002F3.installation.md",{"type":81,"value":82,"toc":317},"minimark",[83,92,235,239,255,313],[84,85,87,91],"h2",{"id":86},"create-docus-cli",[88,89,90],"code",{},"create-docus"," CLI",[93,94,95,100,107,133,136,152,179,186,190,193,216,225,229],"steps",{},[96,97,99],"h3",{"id":98},"create-your-docs-directory","Create your docs directory",[101,102,103,104,106],"p",{},"Use the ",[88,105,90],{}," CLI to create a new Docus project:",[108,109,115],"pre",{"className":110,"code":111,"filename":112,"language":113,"meta":114,"style":114},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","npx create-docus my-docs\n","Terminal","bash","",[88,116,117],{"__ignoreMap":114},[118,119,122,126,130],"span",{"class":120,"line":121},"line",1,[118,123,125],{"class":124},"sBMFI","npx",[118,127,129],{"class":128},"sfazB"," create-docus",[118,131,132],{"class":128}," my-docs\n",[101,134,135],{},"You can choose between two templates:",[137,138,139,146],"ul",{},[140,141,142,145],"li",{},[88,143,144],{},"default",": Basic Docus setup for single-language documentation",[140,147,148,151],{},[88,149,150],{},"i18n",": Includes internationalization support for multi-language documentation",[108,153,155],{"className":110,"code":154,"filename":112,"language":113,"meta":114,"style":114},"# Create with i18n template\nnpx create-docus my-docs -t i18n\n",[88,156,157,163],{"__ignoreMap":114},[118,158,159],{"class":120,"line":121},[118,160,162],{"class":161},"sHwdD","# Create with i18n template\n",[118,164,166,168,170,173,176],{"class":120,"line":165},2,[118,167,125],{"class":124},[118,169,129],{"class":128},[118,171,172],{"class":128}," my-docs",[118,174,175],{"class":128}," -t",[118,177,178],{"class":128}," i18n\n",[101,180,181,182,185],{},"We recommend using the ",[88,183,184],{},"npm"," package manager.",[96,187,189],{"id":188},"start-your-docs-server-in-development","Start your docs server in development",[101,191,192],{},"Move to your docs directory and start your docs server in development mode:",[108,194,196],{"className":110,"code":195,"filename":112,"language":113,"meta":114,"style":114},"cd my-docs\nnpm run dev\n",[88,197,198,206],{"__ignoreMap":114},[118,199,200,204],{"class":120,"line":121},[118,201,203],{"class":202},"s2Zo4","cd",[118,205,132],{"class":128},[118,207,208,210,213],{"class":120,"line":165},[118,209,184],{"class":124},[118,211,212],{"class":128}," run",[118,214,215],{"class":128}," dev\n",[101,217,218,219],{},"A local preview of your documentation will be available at ",[220,221,222],"a",{"href":222,"rel":223},"http:\u002F\u002Flocalhost:3000",[224],"nofollow",[96,226,228],{"id":227},"write-your-documentation","Write your documentation",[101,230,231,232,234],{},"Head over the ",[220,233,46],{"href":47}," section to learn how to write your documentation.",[84,236,238],{"id":237},"layer-integration","Layer Integration",[101,240,241,242,246,247,250,251,254],{},"Docus v4 uses a ",[243,244,245],"strong",{},"Nuxt layer-based approach",", you can extend the Docus layer directly in your ",[88,248,249],{},"nuxt.config.ts"," with ",[88,252,253],{},"extends: ['docus']",":",[108,256,260],{"className":257,"code":258,"filename":249,"language":259,"meta":114,"style":114},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","export default defineNuxtConfig({\n  extends: ['docus']\n})\n","ts",[88,261,262,282,304],{"__ignoreMap":114},[118,263,264,268,271,274,278],{"class":120,"line":121},[118,265,267],{"class":266},"s7zQu","export",[118,269,270],{"class":266}," default",[118,272,273],{"class":202}," defineNuxtConfig",[118,275,277],{"class":276},"sTEyZ","(",[118,279,281],{"class":280},"sMK4o","{\n",[118,283,284,288,290,293,296,299,301],{"class":120,"line":165},[118,285,287],{"class":286},"swJcz","  extends",[118,289,254],{"class":280},[118,291,292],{"class":276}," [",[118,294,295],{"class":280},"'",[118,297,298],{"class":128},"docus",[118,300,295],{"class":280},[118,302,303],{"class":276},"]\n",[118,305,307,310],{"class":120,"line":306},3,[118,308,309],{"class":280},"}",[118,311,312],{"class":276},")\n",[314,315,316],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}",{"title":114,"searchDepth":165,"depth":165,"links":318},[319,325],{"id":86,"depth":165,"text":320,"children":321},"create-docus CLI",[322,323,324],{"id":98,"depth":306,"text":99},{"id":188,"depth":306,"text":189},{"id":227,"depth":306,"text":228},{"id":237,"depth":165,"text":238},"Get started with Docus.","md",null,{},{"icon":19},{"description":332,"title":16},"Get started with Docus documentation theme.","1ZjRT1j7RKC2Dm7vkCjKyV5vZYY8g1v90Qr74_Xc9lM",[335,337],{"title":11,"path":12,"stem":13,"description":336,"icon":14,"children":-1},"Welcome to Docus theme documentation.",{"title":21,"path":22,"stem":23,"description":338,"icon":24,"children":-1},"Learn about the project structure of Docus v4.",1791454520331]