[{"data":1,"prerenderedAt":440},["ShallowReactive",2],{"docs-\u002Fdocs\u002Fsite-kit\u002Foverview":3,"docs-navigation":303,"docs-surround-\u002Fdocs\u002Fsite-kit\u002Foverview":437},{"id":4,"title":5,"body":6,"description":295,"extension":296,"icon":297,"meta":298,"navigation":297,"path":299,"seo":300,"stem":301,"__hash__":302},"docs\u002Fdocs\u002F4.site-kit\u002F01.overview.md","Overview",{"type":7,"value":8,"toc":286},"minimark",[9,14,38,52,57,106,110,176,189,193,200,211,215,245,249],[10,11,13],"h1",{"id":12},"site-kit","Site kit",[15,16,17,18,25,26,31,32,37],"p",{},"The site kit is an open-source kit for building client websites with ",[19,20,24],"a",{"href":21,"rel":22},"https:\u002F\u002Fastro.build",[23],"nofollow","Astro",", made so that people and AI agents can change a site with ordinary file edits. It's MIT licensed, and its code is on ",[19,27,30],{"href":28,"rel":29},"https:\u002F\u002Fgithub.com\u002Fhostsmith\u002Fsite-kit-astro",[23],"GitHub",". These pages describe release v0.7.0: check the ",[19,33,36],{"href":34,"rel":35},"https:\u002F\u002Fgithub.com\u002Fhostsmith\u002Fsite-kit-astro\u002Freleases",[23],"releases"," for a newer one.",[15,39,40,41,46,47,51],{},"See it on a live site: ",[19,42,45],{"href":43,"rel":44},"https:\u002F\u002Fkit-astro-basics.us.hostsmith.link",[23],"Kestrel",", a home repair business built from the kit's ",[48,49,50],"code",{},"basics"," example.",[53,54,56],"h2",{"id":55},"what-a-kit-site-is","What a kit site is",[58,59,60,68,74,80,90,96],"ul",{},[61,62,63,67],"li",{},[64,65,66],"strong",{},"Content in files."," Pages, blog posts and settings are Markdown and YAML files in the site's repository, so every change is a commit you can review, preview and undo.",[61,69,70,73],{},[64,71,72],{},"Pages made of sections."," A page is an ordered list of typed sections, such as a hero, a services grid or an FAQ, from a library of 15 section types. A site can add its own types.",[61,75,76,79],{},[64,77,78],{},"Its own design."," A new site starts as a copy of an example, with the example's look as a theme in the site's own files. A kit update never changes how a site looks.",[61,81,82,85,86,89],{},[64,83,84],{},"Rules for AI agents."," The kit ships ",[48,87,88],{},"AGENTS.md",", which tells an agent what it may change and which checks to run before a change goes live.",[61,91,92,95],{},[64,93,94],{},"Checks."," The build fails on content that breaks its schema. Other commands check that the old site's URLs still have pages and that the theme styles every part of the kit's markup.",[61,97,98,101,102,105],{},[64,99,100],{},"Deploys."," A GitHub workflow deploys ",[48,103,104],{},"main"," to the production site and every other branch to a preview site on Hostsmith.",[53,107,109],{"id":108},"two-ways-to-use-it","Two ways to use it",[111,112,113,128],"table",{},[114,115,116],"thead",{},[117,118,119,122,125],"tr",{},[120,121],"th",{},[120,123,124],{},"A kit site",[120,126,127],{},"The core, in an existing Astro site",[129,130,131,143,154,165],"tbody",{},[117,132,133,137,140],{},[134,135,136],"td",{},"Starts from",[134,138,139],{},"one of the kit's examples",[134,141,142],{},"your own Astro site",[117,144,145,148,151],{},[134,146,147],{},"Pages and layout",[134,149,150],{},"the kit's, with your own sections and templates where you need them",[134,152,153],{},"yours, unchanged",[117,155,156,159,162],{},[134,157,158],{},"Design",[134,160,161],{},"a theme from the example, owned by the site",[134,163,164],{},"yours",[117,166,167,170,173],{},[134,168,169],{},"What the kit adds",[134,171,172],{},"everything on this page",[134,174,175],{},"a description of the site's content for CMS editors and checks, a generated Decap CMS config, text coverage and URL checks, deploys",[15,177,178,179,183,184,188],{},"Start a kit site for a new client site, or for a small business site moving off another platform: the kit was built first for sites moving from Webflow, and keeps their old URLs. Add the ",[19,180,182],{"href":181},"\u002Fdocs\u002Fsite-kit\u002Fexisting-astro-sites","core"," when the site is already built in Astro and its pages should stay as they are, with its content in the repository or in a ",[19,185,187],{"href":186},"\u002Fdocs\u002Fsite-kit\u002Fexternal-cms","headless CMS",".",[53,190,192],{"id":191},"it-runs-on-any-host","It runs on any host",[15,194,195,196,199],{},"A kit site builds to plain static HTML in ",[48,197,198],{},"dist\u002F",", which any static host can serve. Hostsmith appears only in the deploy workflow, and the site needs no Hostsmith code to work. What Hostsmith adds:",[58,201,202,205,208],{},[61,203,204],{},"a production site and a preview site for every branch, deployed by the workflow;",[61,206,207],{},"the client's own domain, with its certificate;",[61,209,210],{},"a choice of where the site's files are stored: the US or the EU data partition.",[53,212,214],{"id":213},"what-it-doesnt-do-yet","What it doesn't do yet",[58,216,217,223,229,235],{},[61,218,219,222],{},[64,220,221],{},"No editor for your client."," A client asks for a change, you make it in the repository, yourself or with an AI agent, and send them the preview link to approve. The site holds a Decap CMS configuration, but no editor is deployed with it.",[61,224,225,228],{},[64,226,227],{},"Static output only."," No page is rendered on request, so there are no server routes, and a site whose content is in a headless CMS shows published content only, with no draft previews.",[61,230,231,234],{},[64,232,233],{},"No contact form section yet."," A form on a kit site is the site's own markup, posting to a form service.",[61,236,237,240,241,188],{},[64,238,239],{},"Before 1.0."," A release can still change what a site's files must hold. When one does, its release notes give the steps, and so does the kit's README: see ",[19,242,244],{"href":243},"\u002Fdocs\u002Fsite-kit\u002Fupdates","Kit updates",[53,246,248],{"id":247},"where-to-next","Where to next",[58,250,251,260,269,278],{},[61,252,253,259],{},[64,254,255],{},[19,256,258],{"href":257},"\u002Fdocs\u002Fsite-kit\u002Fstart-a-site","Start a site"," - create a site from an example and run it locally.",[61,261,262,268],{},[64,263,264],{},[19,265,267],{"href":266},"\u002Fdocs\u002Fsite-kit\u002Fcontent","Content"," - pages, sections, collections and settings.",[61,270,271,277],{},[64,272,273],{},[19,274,276],{"href":275},"\u002Fdocs\u002Fsite-kit\u002Fdeploy","Deploy with Hostsmith"," - previews of every branch, then the client's domain.",[61,279,280,285],{},[64,281,282],{},[19,283,284],{"href":181},"Existing Astro sites"," - add the core to a site you already have.",{"title":287,"searchDepth":288,"depth":288,"links":289},"",2,[290,291,292,293,294],{"id":55,"depth":288,"text":56},{"id":108,"depth":288,"text":109},{"id":191,"depth":288,"text":192},{"id":213,"depth":288,"text":214},{"id":247,"depth":288,"text":248},"What the Hostsmith site kit is, the two ways to use it, and what it doesn't do yet.","md",null,{},"\u002Fdocs\u002Fsite-kit\u002Foverview",{"title":5,"description":295},"docs\u002F4.site-kit\u002F01.overview","BA6ZOQ_5ONYZYLpIUzDqupjpRrJsDE92ua4qhRBOQPM",[304],{"title":305,"path":306,"stem":307,"children":308,"page":436},"Docs","\u002Fdocs","docs",[309,336,348,383,418],{"title":310,"path":311,"stem":312,"children":313,"page":-1,"icon":315},"Getting Started","\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started\u002Findex",[314,316,320,324,328,332],{"title":310,"path":311,"stem":312,"icon":315},"solar:rocket-bold",{"title":317,"path":318,"stem":319},"Introduction","\u002Fdocs\u002Fgetting-started\u002Fintroduction","docs\u002F1.getting-started\u002F1.introduction",{"title":321,"path":322,"stem":323},"Quick Start","\u002Fdocs\u002Fgetting-started\u002Fquick-start","docs\u002F1.getting-started\u002F2.quick-start",{"title":325,"path":326,"stem":327},"Sites","\u002Fdocs\u002Fgetting-started\u002Fsites","docs\u002F1.getting-started\u002F3.sites",{"title":329,"path":330,"stem":331},"Custom Domains","\u002Fdocs\u002Fgetting-started\u002Fcustom-domains","docs\u002F1.getting-started\u002F4.custom-domains",{"title":333,"path":334,"stem":335},"Support","\u002Fdocs\u002Fgetting-started\u002Fsupport","docs\u002F1.getting-started\u002F5.support",{"title":337,"path":338,"stem":339,"children":340,"page":-1,"icon":342},"Integrations","\u002Fdocs\u002Fintegrations","docs\u002F2.integrations\u002Findex",[341,343],{"title":337,"path":338,"stem":339,"icon":342},"ph:usb-bold",{"title":344,"path":345,"stem":346,"icon":347},"n8n","\u002Fdocs\u002Fintegrations\u002Fn8n","docs\u002F2.integrations\u002F1.n8n","simple-icons:n8n",{"title":349,"path":350,"stem":351,"children":352,"page":-1,"icon":354},"MCP","\u002Fdocs\u002Fmcp","docs\u002F3.mcp\u002Findex",[353,355,359,363,367,371,375,379],{"title":349,"path":350,"stem":351,"icon":354},"solar:plug-circle-bold",{"title":356,"path":357,"stem":358},"Quick start","\u002Fdocs\u002Fmcp\u002Fquick-start","docs\u002F3.mcp\u002F1.quick-start",{"title":360,"path":361,"stem":362},"Clients","\u002Fdocs\u002Fmcp\u002Fclients","docs\u002F3.mcp\u002F2.clients",{"title":364,"path":365,"stem":366},"Authentication","\u002Fdocs\u002Fmcp\u002Fauthentication","docs\u002F3.mcp\u002F3.authentication",{"title":368,"path":369,"stem":370},"Tools","\u002Fdocs\u002Fmcp\u002Ftools","docs\u002F3.mcp\u002F4.tools",{"title":372,"path":373,"stem":374},"Recipes","\u002Fdocs\u002Fmcp\u002Frecipes","docs\u002F3.mcp\u002F5.recipes",{"title":376,"path":377,"stem":378},"Limits and errors","\u002Fdocs\u002Fmcp\u002Flimits-and-errors","docs\u002F3.mcp\u002F6.limits-and-errors",{"title":380,"path":381,"stem":382},"FAQ","\u002Fdocs\u002Fmcp\u002Ffaq","docs\u002F3.mcp\u002F7.faq",{"title":13,"path":384,"stem":385,"children":386,"page":-1,"icon":388},"\u002Fdocs\u002Fsite-kit","docs\u002F4.site-kit\u002Findex",[387,389,390,392,394,397,401,403,407,411,413,415],{"title":13,"path":384,"stem":385,"icon":388},"solar:layers-bold",{"title":5,"path":299,"stem":301},{"title":258,"path":257,"stem":391},"docs\u002F4.site-kit\u002F02.start-a-site",{"title":267,"path":266,"stem":393},"docs\u002F4.site-kit\u002F03.content",{"title":158,"path":395,"stem":396},"\u002Fdocs\u002Fsite-kit\u002Fdesign","docs\u002F4.site-kit\u002F04.design",{"title":398,"path":399,"stem":400},"Languages","\u002Fdocs\u002Fsite-kit\u002Flanguages","docs\u002F4.site-kit\u002F05.languages",{"title":276,"path":275,"stem":402},"docs\u002F4.site-kit\u002F06.deploy",{"title":404,"path":405,"stem":406},"Keep old URLs","\u002Fdocs\u002Fsite-kit\u002Fold-urls","docs\u002F4.site-kit\u002F07.old-urls",{"title":408,"path":409,"stem":410},"Work with an AI agent","\u002Fdocs\u002Fsite-kit\u002Fai-agents","docs\u002F4.site-kit\u002F08.ai-agents",{"title":244,"path":243,"stem":412},"docs\u002F4.site-kit\u002F09.updates",{"title":284,"path":181,"stem":414},"docs\u002F4.site-kit\u002F10.existing-astro-sites",{"title":416,"path":186,"stem":417},"External CMS","docs\u002F4.site-kit\u002F11.external-cms",{"title":419,"path":420,"stem":421,"children":422,"page":-1,"icon":424},"Developers","\u002Fdocs\u002Fdevelopers","docs\u002F5.developers\u002Findex",[423,425,428,432],{"title":419,"path":420,"stem":421,"icon":424},"solar:code-bold",{"title":364,"path":426,"stem":427},"\u002Fdocs\u002Fdevelopers\u002Fauthentication","docs\u002F5.developers\u002F1.authentication",{"title":429,"path":430,"stem":431},"API Explorer","\u002Fdocs\u002Fdevelopers\u002Fapi-explorer","docs\u002F5.developers\u002F2.api-explorer",{"title":433,"path":434,"stem":435},"Node.js SDK","\u002Fdocs\u002Fdevelopers\u002Fsdk","docs\u002F5.developers\u002F3.sdk",false,[438,439],{"title":13,"path":384,"stem":385,"icon":388,"children":-1},{"title":258,"path":257,"stem":391,"children":-1},1792842401579]