[{"data":1,"prerenderedAt":1215},["ShallowReactive",2],{"navigation_docs":3,"-contributing-docs-site":613,"-contributing-docs-site-surround":1212},[4,39,101,378,540,562,584,606],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":38},"Start","i-lucide-rocket","\u002Fstart","1.start",[10,14,18,22,26,30,34],{"title":11,"path":12,"stem":13},"Our approach","\u002Fstart\u002Four-approach","1.start\u002F0.our-approach",{"title":15,"path":16,"stem":17},"Introduction","\u002Fstart\u002Fintroduction","1.start\u002F1.introduction",{"title":19,"path":20,"stem":21},"Concepts","\u002Fstart\u002Fconcepts","1.start\u002F2.concepts",{"title":23,"path":24,"stem":25},"Glossary","\u002Fstart\u002Fglossary","1.start\u002F3.glossary",{"title":27,"path":28,"stem":29},"Try it locally","\u002Fstart\u002Ftry-it-locally","1.start\u002F4.try-it-locally",{"title":31,"path":32,"stem":33},"Features","\u002Fstart\u002Ffeatures","1.start\u002F5.features",{"title":35,"path":36,"stem":37},"Questions","\u002Fstart\u002Ffaq","1.start\u002F6.faq",false,{"title":40,"icon":41,"path":42,"stem":43,"children":44,"page":38},"Run SHADE","i-lucide-server","\u002Frun","2.run",[45,49,53,57,61,65,69,73,77,81,85,89,93,97],{"title":46,"path":47,"stem":48},"Setting up an instance (Coolify)","\u002Frun\u002Fcoolify","2.run\u002F1.coolify",{"title":50,"path":51,"stem":52},"Console commands","\u002Frun\u002Fconsole","2.run\u002F10.console",{"title":54,"path":55,"stem":56},"Rotating APP_SECRET","\u002Frun\u002Frotating-app-secret","2.run\u002F11.rotating-app-secret",{"title":58,"path":59,"stem":60},"Checking an instance","\u002Frun\u002Fdoctor","2.run\u002F12.doctor",{"title":62,"path":63,"stem":64},"Self-hosting by hand","\u002Frun\u002Fown-server-by-hand","2.run\u002F13.own-server-by-hand",{"title":66,"path":67,"stem":68},"NixOS (experimental)","\u002Frun\u002Fnixos","2.run\u002F14.nixos",{"title":70,"path":71,"stem":72},"Self-hosting without Coolify","\u002Frun\u002Fown-server","2.run\u002F2.own-server",{"title":74,"path":75,"stem":76},"Hosting the site on a static host","\u002Frun\u002Fstatic-hosts","2.run\u002F3.static-hosts",{"title":78,"path":79,"stem":80},"Licence","\u002Frun\u002Flicence","2.run\u002F4.licence",{"title":82,"path":83,"stem":84},"Updating and backups","\u002Frun\u002Fupdating-and-backups","2.run\u002F5.updating-and-backups",{"title":86,"path":87,"stem":88},"Troubleshooting","\u002Frun\u002Ftroubleshooting","2.run\u002F6.troubleshooting",{"title":90,"path":91,"stem":92},"Logs, request ids, traces and metrics","\u002Frun\u002Flogs","2.run\u002F7.logs",{"title":94,"path":95,"stem":96},"Maintenance mode","\u002Frun\u002Fmaintenance-mode","2.run\u002F8.maintenance-mode",{"title":98,"path":99,"stem":100},"Usage limits","\u002Frun\u002Fusage-limits","2.run\u002F9.usage-limits",{"title":102,"icon":103,"path":104,"stem":105,"children":106},"Guide","i-lucide-book-open","\u002Fguide","3.guide",[107,109,147,192,210,280,310,364],{"title":102,"path":104,"stem":108},"3.guide\u002Findex",{"title":110,"icon":111,"path":112,"stem":113,"children":114,"page":38},"Content","i-lucide-file-text","\u002Fguide\u002Fcontent","3.guide\u002F1.content",[115,119,123,127,131,135,139,143],{"title":116,"path":117,"stem":118},"Collections and entries","\u002Fguide\u002Fcontent\u002Fcollections","3.guide\u002F1.content\u002F1.collections",{"title":120,"path":121,"stem":122},"Field types","\u002Fguide\u002Fcontent\u002Ffields","3.guide\u002F1.content\u002F2.fields",{"title":124,"path":125,"stem":126},"Drafts, publishing and version history","\u002Fguide\u002Fcontent\u002Fversions","3.guide\u002F1.content\u002F3.versions",{"title":128,"path":129,"stem":130},"Languages","\u002Fguide\u002Fcontent\u002Flanguages","3.guide\u002F1.content\u002F4.languages",{"title":132,"path":133,"stem":134},"Data sources","\u002Fguide\u002Fcontent\u002Fdata-sources","3.guide\u002F1.content\u002F5.data-sources",{"title":136,"path":137,"stem":138},"Media","\u002Fguide\u002Fcontent\u002Fmedia","3.guide\u002F1.content\u002F6.media",{"title":140,"path":141,"stem":142},"Search","\u002Fguide\u002Fcontent\u002Fsearch","3.guide\u002F1.content\u002F7.search",{"title":144,"path":145,"stem":146},"Trash","\u002Fguide\u002Fcontent\u002Ftrash","3.guide\u002F1.content\u002F8.trash",{"title":148,"icon":149,"path":150,"stem":151,"children":152,"page":38},"Website","i-lucide-globe","\u002Fguide\u002Fwebsite","3.guide\u002F2.website",[153,156,160,164,168,172,176,180,184,188],{"title":148,"path":154,"stem":155},"\u002Fguide\u002Fwebsite\u002Fwebsite","3.guide\u002F2.website\u002F1.website",{"title":157,"path":158,"stem":159},"Scroll scenes","\u002Fguide\u002Fwebsite\u002Fscroll-scenes","3.guide\u002F2.website\u002F10.scroll-scenes",{"title":161,"path":162,"stem":163},"Pages and posts","\u002Fguide\u002Fwebsite\u002Fpages","3.guide\u002F2.website\u002F2.pages",{"title":165,"path":166,"stem":167},"The visual editor","\u002Fguide\u002Fwebsite\u002Fvisual-editor","3.guide\u002F2.website\u002F3.visual-editor",{"title":169,"path":170,"stem":171},"Roles and locks","\u002Fguide\u002Fwebsite\u002Froles-and-locks","3.guide\u002F2.website\u002F4.roles-and-locks",{"title":173,"path":174,"stem":175},"Header and footer","\u002Fguide\u002Fwebsite\u002Fheader-and-footer","3.guide\u002F2.website\u002F5.header-and-footer",{"title":177,"path":178,"stem":179},"Theme","\u002Fguide\u002Fwebsite\u002Ftheme","3.guide\u002F2.website\u002F6.theme",{"title":181,"path":182,"stem":183},"Redirects","\u002Fguide\u002Fwebsite\u002Fredirects","3.guide\u002F2.website\u002F7.redirects",{"title":185,"path":186,"stem":187},"Site settings","\u002Fguide\u002Fwebsite\u002Fsite-settings","3.guide\u002F2.website\u002F8.site-settings",{"title":189,"path":190,"stem":191},"The site","\u002Fguide\u002Fwebsite\u002Fthe-site","3.guide\u002F2.website\u002F9.the-site",{"title":193,"icon":194,"path":195,"stem":196,"children":197,"page":38},"Publishing","i-lucide-send","\u002Fguide\u002Fpublishing","3.guide\u002F3.publishing",[198,202,206],{"title":199,"path":200,"stem":201},"Publishing and preview","\u002Fguide\u002Fpublishing\u002Fpublishing","3.guide\u002F3.publishing\u002F1.publishing",{"title":203,"path":204,"stem":205},"Builds","\u002Fguide\u002Fpublishing\u002Fbuilds","3.guide\u002F3.publishing\u002F2.builds",{"title":207,"path":208,"stem":209},"CDN caches","\u002Fguide\u002Fpublishing\u002Fcaches","3.guide\u002F3.publishing\u002F3.caches",{"title":211,"icon":212,"path":213,"stem":214,"children":215,"page":38},"People, security and privacy","i-lucide-shield","\u002Fguide\u002Fpeople-and-security","3.guide\u002F4.people-and-security",[216,220,224,228,232,236,240,244,248,252,256,260,264,268,272,276],{"title":217,"path":218,"stem":219},"People in SHADE","\u002Fguide\u002Fpeople-and-security\u002Fpeople-in-shade","3.guide\u002F4.people-and-security\u002F0.people-in-shade",{"title":221,"path":222,"stem":223},"Team and roles","\u002Fguide\u002Fpeople-and-security\u002Fteam","3.guide\u002F4.people-and-security\u002F1.team",{"title":225,"path":226,"stem":227},"Errors and security alerts","\u002Fguide\u002Fpeople-and-security\u002Ferrors","3.guide\u002F4.people-and-security\u002F10.errors",{"title":229,"path":230,"stem":231},"Exporting an instance","\u002Fguide\u002Fpeople-and-security\u002Fexporting","3.guide\u002F4.people-and-security\u002F11.exporting",{"title":233,"path":234,"stem":235},"Organisations","\u002Fguide\u002Fpeople-and-security\u002Forganisations","3.guide\u002F4.people-and-security\u002F12.organisations",{"title":237,"path":238,"stem":239},"Signing in through an identity provider (team)","\u002Fguide\u002Fpeople-and-security\u002Fidentity-providers","3.guide\u002F4.people-and-security\u002F13.identity-providers",{"title":241,"path":242,"stem":243},"System status","\u002Fguide\u002Fpeople-and-security\u002Fsystem-status","3.guide\u002F4.people-and-security\u002F14.system-status",{"title":245,"path":246,"stem":247},"Appearance","\u002Fguide\u002Fpeople-and-security\u002Fappearance","3.guide\u002F4.people-and-security\u002F15.appearance",{"title":249,"path":250,"stem":251},"Accounts and personal pages","\u002Fguide\u002Fpeople-and-security\u002Faccounts","3.guide\u002F4.people-and-security\u002F2.accounts",{"title":253,"path":254,"stem":255},"Signing in (team)","\u002Fguide\u002Fpeople-and-security\u002Fsign-in","3.guide\u002F4.people-and-security\u002F3.sign-in",{"title":257,"path":258,"stem":259},"API tokens","\u002Fguide\u002Fpeople-and-security\u002Fapi-tokens","3.guide\u002F4.people-and-security\u002F4.api-tokens",{"title":261,"path":262,"stem":263},"Audit log","\u002Fguide\u002Fpeople-and-security\u002Faudit","3.guide\u002F4.people-and-security\u002F5.audit",{"title":265,"path":266,"stem":267},"Request protection","\u002Fguide\u002Fpeople-and-security\u002Fprotection","3.guide\u002F4.people-and-security\u002F6.protection",{"title":269,"path":270,"stem":271},"Personal data per person","\u002Fguide\u002Fpeople-and-security\u002Fprivacy","3.guide\u002F4.people-and-security\u002F7.privacy",{"title":273,"path":274,"stem":275},"Data retention","\u002Fguide\u002Fpeople-and-security\u002Fretention","3.guide\u002F4.people-and-security\u002F8.retention",{"title":277,"path":278,"stem":279},"Consent banner","\u002Fguide\u002Fpeople-and-security\u002Fconsent","3.guide\u002F4.people-and-security\u002F9.consent",{"title":281,"icon":282,"path":283,"stem":284,"children":285,"page":38},"Services","i-lucide-plug","\u002Fguide\u002Fservices","3.guide\u002F5.services",[286,290,294,298,302,306],{"title":287,"path":288,"stem":289},"Email","\u002Fguide\u002Fservices\u002Femail","3.guide\u002F5.services\u002F1.email",{"title":291,"path":292,"stem":293},"Opening hours","\u002Fguide\u002Fservices\u002Fopening-hours","3.guide\u002F5.services\u002F4.opening-hours",{"title":295,"path":296,"stem":297},"Webhooks","\u002Fguide\u002Fservices\u002Fwebhooks","3.guide\u002F5.services\u002F5.webhooks",{"title":299,"path":300,"stem":301},"Locations","\u002Fguide\u002Fservices\u002Flocations","3.guide\u002F5.services\u002F6.locations",{"title":303,"path":304,"stem":305},"VAT rates","\u002Fguide\u002Fservices\u002Fvat-rates","3.guide\u002F5.services\u002F7.vat-rates",{"title":307,"path":308,"stem":309},"Channels","\u002Fguide\u002Fservices\u002Fchannels","3.guide\u002F5.services\u002F8.channels",{"title":311,"icon":312,"path":313,"stem":314,"children":315,"page":38},"InstalledModules","i-lucide-puzzle","\u002Fguide\u002Fmodules","3.guide\u002F6.modules",[316,320,324,328,332,336,340,344,348,352,356,360],{"title":317,"path":318,"stem":319},"Modules","\u002Fguide\u002Fmodules\u002Fmanaging","3.guide\u002F6.modules\u002F1.managing",{"title":321,"path":322,"stem":323},"Dutch services (module)","\u002Fguide\u002Fmodules\u002Fnl","3.guide\u002F6.modules\u002F10.nl",{"title":325,"path":326,"stem":327},"Editorial (module)","\u002Fguide\u002Fmodules\u002Feditorial","3.guide\u002F6.modules\u002F11.editorial",{"title":329,"path":330,"stem":331},"Appointments (module)","\u002Fguide\u002Fmodules\u002Fappointments","3.guide\u002F6.modules\u002F2.appointments",{"title":333,"path":334,"stem":335},"Shop (the commerce module)","\u002Fguide\u002Fmodules\u002Fshop","3.guide\u002F6.modules\u002F3.shop",{"title":337,"path":338,"stem":339},"Untrusted modules","\u002Fguide\u002Fmodules\u002Funtrusted","3.guide\u002F6.modules\u002F4.untrusted",{"title":341,"path":342,"stem":343},"Analytics (module)","\u002Fguide\u002Fmodules\u002Fanalytics","3.guide\u002F6.modules\u002F5.analytics",{"title":345,"path":346,"stem":347},"Error forwarding (module)","\u002Fguide\u002Fmodules\u002Ferror-forwarding","3.guide\u002F6.modules\u002F6.error-forwarding",{"title":349,"path":350,"stem":351},"Client programs","\u002Fguide\u002Fmodules\u002Fprograms","3.guide\u002F6.modules\u002F7.programs",{"title":353,"path":354,"stem":355},"Import and export (module)","\u002Fguide\u002Fmodules\u002Fimport","3.guide\u002F6.modules\u002F8.import",{"title":357,"path":358,"stem":359},"Payments (module)","\u002Fguide\u002Fmodules\u002Fpayments","3.guide\u002F6.modules\u002F8.payments",{"title":361,"path":362,"stem":363},"Forms (module)","\u002Fguide\u002Fmodules\u002Fforms","3.guide\u002F6.modules\u002F9.forms",{"title":365,"icon":366,"path":367,"stem":368,"children":369,"page":38},"AI assistants","i-lucide-bot","\u002Fguide\u002Fai","3.guide\u002F7.ai",[370,374],{"title":371,"path":372,"stem":373},"AI assistants (MCP)","\u002Fguide\u002Fai\u002Fassistants","3.guide\u002F7.ai\u002F1.assistants",{"title":375,"path":376,"stem":377},"Connecting an AI assistant","\u002Fguide\u002Fai\u002Fconnecting","3.guide\u002F7.ai\u002F2.connecting",{"title":379,"icon":380,"path":381,"stem":382,"children":383,"page":38},"Developers","i-lucide-code","\u002Fdevelopers","4.developers",[384,388,392,396,400,404,408,412,416,420,424,428,432,435,489,493,497,501,536],{"title":385,"path":386,"stem":387},"Architecture","\u002Fdevelopers\u002Farchitecture","4.developers\u002F1.architecture",{"title":389,"path":390,"stem":391},"Capabilities","\u002Fdevelopers\u002Fcapabilities","4.developers\u002F10.capabilities",{"title":393,"path":394,"stem":395},"Trust","\u002Fdevelopers\u002Ftrust","4.developers\u002F11.trust",{"title":397,"path":398,"stem":399},"Redis and the ports","\u002Fdevelopers\u002Fredis","4.developers\u002F12.redis",{"title":401,"path":402,"stem":403},"The worker container role","\u002Fdevelopers\u002Fworker","4.developers\u002F13.worker",{"title":405,"path":406,"stem":407},"kv: a module's own key-value storage","\u002Fdevelopers\u002Fkv","4.developers\u002F14.kv",{"title":409,"path":410,"stem":411},"Processes: long-running work on the worker","\u002Fdevelopers\u002Fprocesses","4.developers\u002F15.processes",{"title":413,"path":414,"stem":415},"Network: a module's outgoing calls","\u002Fdevelopers\u002Fnetwork","4.developers\u002F16.network",{"title":417,"path":418,"stem":419},"Realtime","\u002Fdevelopers\u002Frealtime","4.developers\u002F17.realtime",{"title":421,"path":422,"stem":423},"Private files","\u002Fdevelopers\u002Ffiles","4.developers\u002F18.files",{"title":425,"path":426,"stem":427},"Notify","\u002Fdevelopers\u002Fnotify","4.developers\u002F19.notify",{"title":429,"path":430,"stem":431},"Collections","\u002Fdevelopers\u002Fcollections","4.developers\u002F2.collections",{"title":337,"path":433,"stem":434},"\u002Fdevelopers\u002Funtrusted","4.developers\u002F20.untrusted",{"title":436,"icon":312,"path":437,"stem":438,"children":439},"Writing a plugin","\u002Fdevelopers\u002Fmodules","4.developers\u002F3.modules\u002Findex",[440,442,446,450,454,458,462,466,470,473,477,481,485],{"title":441,"path":437,"stem":438},"Writing a module",{"title":443,"path":444,"stem":445},"Module SDK and tooling","\u002Fdevelopers\u002Fmodules\u002Fsdk-and-tooling","4.developers\u002F3.modules\u002F1.sdk-and-tooling",{"title":447,"path":448,"stem":449},"Connecting accounts with OAuth2","\u002Fdevelopers\u002Fmodules\u002Foauth","4.developers\u002F3.modules\u002F10.oauth",{"title":451,"path":452,"stem":453},"Calls between modules","\u002Fdevelopers\u002Fmodules\u002Fcalls-between-modules","4.developers\u002F3.modules\u002F11.calls-between-modules",{"title":455,"path":456,"stem":457},"Experimental parts","\u002Fdevelopers\u002Fmodules\u002Fexperimental-parts","4.developers\u002F3.modules\u002F12.experimental-parts",{"title":459,"path":460,"stem":461},"The manifest","\u002Fdevelopers\u002Fmodules\u002Fmanifest","4.developers\u002F3.modules\u002F2.manifest",{"title":463,"path":464,"stem":465},"Routes","\u002Fdevelopers\u002Fmodules\u002Froutes","4.developers\u002F3.modules\u002F3.routes",{"title":467,"path":468,"stem":469},"Admin screens and the site part","\u002Fdevelopers\u002Fmodules\u002Fadmin-and-site","4.developers\u002F3.modules\u002F4.admin-and-site",{"title":110,"path":471,"stem":472},"\u002Fdevelopers\u002Fmodules\u002Fcontent","4.developers\u002F3.modules\u002F5.content",{"title":474,"path":475,"stem":476},"Background work and services","\u002Fdevelopers\u002Fmodules\u002Fbackground-and-services","4.developers\u002F3.modules\u002F6.background-and-services",{"title":478,"path":479,"stem":480},"SDK reference","\u002Fdevelopers\u002Fmodules\u002Fsdk-reference","4.developers\u002F3.modules\u002F7.sdk-reference",{"title":482,"path":483,"stem":484},"The website module's SDK","\u002Fdevelopers\u002Fmodules\u002Fwebsite-sdk","4.developers\u002F3.modules\u002F8.website-sdk",{"title":486,"path":487,"stem":488},"Incoming webhooks","\u002Fdevelopers\u002Fmodules\u002Fincoming-webhooks","4.developers\u002F3.modules\u002F9.incoming-webhooks",{"title":490,"path":491,"stem":492},"Core and the website module","\u002Fdevelopers\u002Fcore-and-website-module","4.developers\u002F4.core-and-website-module",{"title":494,"path":495,"stem":496},"The API","\u002Fdevelopers\u002Fapi","4.developers\u002F6.api",{"title":498,"path":499,"stem":500},"API reference","\u002Fdevelopers\u002Fapi-reference","4.developers\u002F6.api-reference",{"title":502,"icon":503,"path":504,"stem":505,"children":506},"Sites in other frameworks","i-lucide-layout-template","\u002Fdevelopers\u002Fframeworks","4.developers\u002F7.frameworks\u002Findex",[507,508,512,516,520,524,528,532],{"title":502,"path":504,"stem":505},{"title":509,"path":510,"stem":511},"Accounts: sign-in and modules' routes","\u002Fdevelopers\u002Fframeworks\u002Faccounts","4.developers\u002F7.frameworks\u002F1.accounts",{"title":513,"path":514,"stem":515},"`@shadestack\u002Ftree`","\u002Fdevelopers\u002Fframeworks\u002Ftree","4.developers\u002F7.frameworks\u002F2.tree",{"title":517,"path":518,"stem":519},"Expressions and styles","\u002Fdevelopers\u002Fframeworks\u002Fexpressions-and-styles","4.developers\u002F7.frameworks\u002F3.expressions-and-styles",{"title":521,"path":522,"stem":523},"`@shadestack\u002Frender`","\u002Fdevelopers\u002Fframeworks\u002Frender","4.developers\u002F7.frameworks\u002F4.render",{"title":525,"path":526,"stem":527},"`@shadestack\u002Finteractions`","\u002Fdevelopers\u002Fframeworks\u002Finteractions","4.developers\u002F7.frameworks\u002F5.interactions",{"title":529,"path":530,"stem":531},"`@shadestack\u002Fa11y`","\u002Fdevelopers\u002Fframeworks\u002Fa11y","4.developers\u002F7.frameworks\u002F6.a11y",{"title":533,"path":534,"stem":535},"Your own page for SHADE's links","\u002Fdevelopers\u002Fframeworks\u002Flinks","4.developers\u002F7.frameworks\u002F7.links",{"title":537,"path":538,"stem":539},"Build a client module","\u002Fdevelopers\u002Fclient-module","4.developers\u002F9.client-module",{"title":541,"icon":542,"path":543,"stem":544,"children":545,"page":38},"Security","i-lucide-shield-check","\u002Fsecurity","5.security",[546,550,554,558],{"title":547,"path":548,"stem":549},"Reporting a vulnerability","\u002Fsecurity\u002Freporting","5.security\u002F0.reporting",{"title":551,"path":552,"stem":553},"Security testing","\u002Fsecurity\u002Ftesting","5.security\u002F1.testing",{"title":555,"path":556,"stem":557},"Hardening a production instance","\u002Fsecurity\u002Fhardening","5.security\u002F2.hardening",{"title":559,"path":560,"stem":561},"Manual testing with Kali Linux","\u002Fsecurity\u002Fmanual-testing","5.security\u002F3.manual-testing",{"title":563,"icon":564,"path":565,"stem":566,"children":567,"page":38},"Contributing","i-lucide-git-pull-request","\u002Fcontributing","6.contributing",[568,572,576,580],{"title":569,"path":570,"stem":571},"Reading the code","\u002Fcontributing\u002Freading-the-code","6.contributing\u002F1.reading-the-code",{"title":573,"path":574,"stem":575},"Docs site","\u002Fcontributing\u002Fdocs-site","6.contributing\u002F2.docs-site",{"title":577,"path":578,"stem":579},"Releases","\u002Fcontributing\u002Freleases","6.contributing\u002F3.releases",{"title":581,"path":582,"stem":583},"Load tests","\u002Fcontributing\u002Fload-tests","6.contributing\u002F4.load-tests",{"title":585,"icon":586,"path":587,"stem":588,"children":589,"page":38},"Project","i-lucide-map","\u002Fproject","7.project",[590,594,598,602],{"title":591,"path":592,"stem":593},"Roadmap","\u002Fproject\u002Froadmap","7.project\u002F1.roadmap",{"title":595,"path":596,"stem":597},"Known issues","\u002Fproject\u002Fknown-issues","7.project\u002F2.known-issues",{"title":599,"path":600,"stem":601},"Changelog","\u002Fproject\u002Fchangelog","7.project\u002F3.changelog",{"title":603,"path":604,"stem":605},"Decisions","\u002Fproject\u002Fdecisions","7.project\u002F4.decisions",{"title":607,"path":608,"stem":609,"children":610,"icon":612},"Community","\u002Fcommunity","8.community\u002Findex",[611],{"title":607,"path":608,"stem":609},"i-lucide-users",{"id":614,"title":573,"body":615,"description":1102,"extension":1206,"links":1207,"meta":1208,"navigation":1209,"path":574,"seo":1210,"stem":575,"__hash__":1211},"docs\u002F6.contributing\u002F2.docs-site.md",{"type":616,"value":617,"toc":1199},"minimark",[618,655,660,779,858,862,865,908,912,1092,1096,1174,1184,1188,1195],[619,620,621,622,626,627,630,631,638,639,642,643,646,647,650,651,654],"p",{},"These pages are published as a website at ",[623,624,625],"code",{},"https:\u002F\u002Fdocs.shadehq.dev",", open to everyone. They live\nin their own repository, ",[623,628,629],{},"shadehq-dev\u002Fshade-docs",": ",[632,633,637],"a",{"href":634,"rel":635},"https:\u002F\u002Fdocus.dev",[636],"nofollow","Docus"," (Nuxt, Nuxt UI and Nuxt\nContent) at the repository's root and the Markdown in ",[623,640,641],{},"content\u002F",", built as static files and published by\nCloudflare (Workers Builds) after every merge to ",[623,644,645],{},"main",". The code is in ",[623,648,649],{},"shadehq-dev\u002Fshade","; the decision records stay there, next to the code they\nexplain (",[623,652,653],{},"docs\u002Fdecisions\u002F",", not published).",[656,657,659],"h2",{"id":658},"structure","Structure",[661,662,663,679],"table",{},[664,665,666],"thead",{},[667,668,669,673,676],"tr",{},[670,671,672],"th",{},"Folder",[670,674,675],{},"Section",[670,677,678],{},"What goes there",[680,681,682,695,707,719,731,743,755,767],"tbody",{},[667,683,684,690,692],{},[685,686,687],"td",{},[623,688,689],{},"content\u002F1.start\u002F",[685,691,5],{},[685,693,694],{},"Our approach, the introduction, the features list and the glossary",[667,696,697,702,704],{},[685,698,699],{},[623,700,701],{},"content\u002F2.run\u002F",[685,703,40],{},[685,705,706],{},"Setting up an instance on Coolify or a server of your own, static hosts, the licence",[667,708,709,714,716],{},[685,710,711],{},[623,712,713],{},"content\u002F3.guide\u002F",[685,715,102],{},[685,717,718],{},"One page per feature, grouped in subfolders (content, website, publishing, users, security and privacy, services, modules, AI)",[667,720,721,726,728],{},[685,722,723],{},[623,724,725],{},"content\u002F4.developers\u002F",[685,727,379],{},[685,729,730],{},"Architecture, defining collections, writing modules, the API, and how realtime, private files, notify and untrusted modules work",[667,732,733,738,740],{},[685,734,735],{},[623,736,737],{},"content\u002F5.security\u002F",[685,739,541],{},[685,741,742],{},"Security testing, hardening an instance, manual testing",[667,744,745,750,752],{},[685,746,747],{},[623,748,749],{},"content\u002F6.contributing\u002F",[685,751,563],{},[685,753,754],{},"Reading the code and its tests, these docs, releases",[667,756,757,762,764],{},[685,758,759],{},[623,760,761],{},"content\u002F7.project\u002F",[685,763,585],{},[685,765,766],{},"The roadmap, the known issues and the changelog",[667,768,769,774,776],{},[685,770,771],{},[623,772,773],{},"content\u002F8.community\u002F",[685,775,607],{},[685,777,778],{},"Where to ask, chat and follow the news",[780,781,782,809,818,828,839],"ul",{},[783,784,785,786,789,790,793,794,797,798,801,802,805,806,808],"li",{},"Every page is a Markdown file. A folder becomes a section in the sidebar, titled by its ",[623,787,788],{},".navigation.yml","\n(",[623,791,792],{},"title",", ",[623,795,796],{},"icon","); its ",[623,799,800],{},"index.md"," is the section's first page (",[623,803,804],{},"content\u002F3.guide\u002Findex.md"," is ",[623,807,104],{},").",[783,810,811,812,805,815,817],{},"The number in front of a folder or file sets its place in the sidebar and is not part of the address:\n",[623,813,814],{},"content\u002F3.guide\u002F5.services\u002F1.email.md",[623,816,288],{},". Number a new page after its neighbours.",[783,819,820,821,824,825,808],{},"The top-level sections are tabs in the header (",[623,822,823],{},"navigation.sub"," in ",[623,826,827],{},"app\u002Fapp.config.ts",[783,829,830,831,834,835,838],{},"The colours, fonts and radius are SHADE's theme, the same as the admin's: ",[623,832,833],{},"app\u002Fshade-theme.css"," and\n",[623,836,837],{},"app\u002Fshade-theme.app-config.ts"," are generated from SHADE's design tokens and committed as they are. Don't edit them;\nthe theme changes in the tokens, and the new files are copied over these.",[783,840,841,842,844,845,848,849,852,853,857],{},"A feature page in the guide follows the outline in ",[623,843,804],{},". A new feature gets a page there and\na row in that page's table. Its code and tests are listed in a ",[623,846,847],{},"README.md"," beside the code (in ",[623,850,851],{},"shade"," or the\nmodule's repository), changed with the code; the guide page's ",[854,855,856],"em",{},"For developers"," section is one line naming it.",[656,859,861],{"id":860},"docs-and-code-together","Docs and code together",[619,863,864],{},"The docs change in a pull request paired with the code's:",[780,866,867,873,880,887],{},[783,868,869,870,872],{},"A change to what users can do, or to a feature's code or tests, opens a pull request here together with the one\nin ",[623,871,851],{}," (or a module's repository). Each links the other, and they are merged together.",[783,874,875,876,879],{},"A change that finishes a roadmap item takes it off the roadmap (",[623,877,878],{},"content\u002F7.project\u002F1.roadmap.md",") and adds it to\nthe features list, in that change's pull request here. A fixed known issue comes off its list the same way.",[783,881,882,883,886],{},"Code that points to a page names the repository and the path: ",[623,884,885],{},"shade-docs: content\u002F4.developers\u002F2.collections.md",".",[783,888,889,890,894,895,898,899,902,903,894,905,808],{},"Work on it in the ",[632,891,893],{"href":892},"\u002Fdevelopers\u002Fmodules\u002Fsdk-and-tooling#the-shade-workspace","SHADE workspace"," (",[623,896,897],{},"docs\u002F",", installed on its own with\n",[623,900,901],{},"pnpm install --ignore-workspace","), or check it out next to ",[623,904,851],{},[623,906,907],{},"..\u002Fshade-docs",[656,909,911],{"id":910},"writing","Writing",[780,913,914,921,928,943,946,949,955,961,990,996,1029,1062,1073],{},[783,915,916,917,920],{},"Write in British English: colour, licence, organisation, and dates such as 16 November 2026. Code, CSS, API names\nand proper names keep their own spelling (",[623,918,919],{},"color",", Apache License 2.0).",[783,922,923,924,927],{},"Start a page with ",[623,925,926],{},"# Title",". On the site that heading becomes the page title (shown once, above the content).",[783,929,930,931,934,935,938,939,942],{},"Link to other pages with relative links to the ",[623,932,933],{},".md"," file, as on GitHub: ",[623,936,937],{},"[Email](\u002Fservices\u002Femail)",".\nThe site turns them into its own paths (",[623,940,941],{},"markdown.ts","). Use the page's title as the link text, not its file name.",[783,944,945],{},"Write in SHADE's voice. Mix sentence lengths: a longer sentence explains a thought, and a short one lands it. Write\nparagraphs for anything people read through (intros, overviews, the Start pages) and keep lists for reference\n(settings, steps, specs). Write as if explaining it to an owner across the table, with \"you\" and \"we\", and give a\nconcrete example rather than claim a promise. Avoid formulas: no \"It isn't X. It's Y.\" contrasts, no reflexive lists\nof three, no bold label before every point, no stacks of negations. SHADE gets no category word (\"CMS\", \"platform\",\n\"engine\"), \"self-hosted\" goes in its own sentence, and nothing is promised that isn't built.",[783,947,948],{},"Owner pages (Start and the Guide) say \"your setup\", or \"your own setup, on a server you choose\"; the developer pages\nmay say \"instance\".",[783,950,951,952,954],{},"Pages cite no decision numbers: say what the decision means for the reader instead. Why SHADE is built as it is goes\non the ",[632,953,603],{"href":604}," page, one entry per record, kept up to date when a record changes.",[783,956,957,958,960],{},"Do not link to files outside ",[623,959,641],{},": on the site such a link keeps only its text.",[783,962,963,964,966,967,970,971,974,975,977,978,981,982,985,986,989],{},"Two pages are generated, never edited by hand: the ",[632,965,498],{"href":499}," from SHADE's\nOpenAPI document (",[623,968,969],{},"public\u002Fopenapi.json",", served at ",[623,972,973],{},"\u002Fopenapi.json",") and the\n",[632,976,478],{"href":479}," from the SDK's contract (",[623,979,980],{},"data\u002Fsdk-contract.json",").\nWhen a change in SHADE changes either, ",[623,983,984],{},"pnpm reference --shade ..\u002Fshade"," (in the workspace) takes both files from\nSHADE and writes the pages again; ",[623,987,988],{},"pnpm test"," fails while a page and its file differ.",[783,991,992,995],{},[623,993,994],{},"content\u002Findex.md"," is the site's home page and uses Nuxt UI components; keep the other pages plain Markdown.",[783,997,998,999,1002,1003,1006,1007,1010,1011,1014,1015,1018,1019,1022,1023,1025,1026,808],{},"Draw a flow, a sequence or a set of states as a ",[623,1000,1001],{},"```mermaid"," block, never as box art in a code block. The\nsite draws it in the browser in the theme's colours, light or dark, and shows the source if drawing fails\n(",[623,1004,1005],{},"app\u002Fcomponents\u002FMermaidFigure.vue","). Give each one ",[623,1008,1009],{},"accTitle:"," and ",[623,1012,1013],{},"accDescr:",", the text a screen reader reads\ninstead of the drawing: say in sentences what it shows. A folder tree is a table, ",[623,1016,1017],{},"Folder | What it holds",", with the\nnesting in the path (",[623,1020,1021],{},"kernel\u002Fdb\u002F","). ",[623,1024,988],{}," checks both (",[623,1027,1028],{},"test\u002Fchecks\u002Fdiagrams.test.ts",[783,1030,1031,1032,1035,1036,1039,1040,1043,1044,1047,1048,1051,1052,1055,1056,793,1059,808],{},"Screenshots of the admin are in ",[623,1033,1034],{},"public\u002Fscreenshots\u002F",", linked as ",[623,1037,1038],{},"![What it shows](\u002Fscreenshots\u002Fname.png)",", one per\nscreen, on the guide page that describes that screen. Take them at 1920 by 1080 in the light theme, with the admin\nin English, from a local instance with the neutral sample data: the site Voorbeeld, a bicycle repair shop with\nlocations Noord and Zuid, and ",[623,1041,1042],{},"example.org"," or ",[623,1045,1046],{},"voorbeeld.test"," addresses. No real names, addresses or data. The alt\ntext says what the screen shows. When a change alters a screen, take its screenshot again in the same pull request.\nIn the SHADE workspace, ",[623,1049,1050],{},"pnpm screenshots:sample"," puts the sample data on a fresh local instance and\n",[623,1053,1054],{},"pnpm screenshots [name…]"," takes the screens into this folder, signed in as the instance's development admin\n(",[623,1057,1058],{},"SHADE_ADMIN_EMAIL",[623,1060,1061],{},"SHADE_ADMIN_PASSWORD",[783,1063,1064,1065,1068,1069,1072],{},"The sample data also gives the shop a business to show: opening hours and a week of bookings, products with orders\nthat are paid, shipped and refunded, and page views over the last 30 days. What the admin API cannot make (confirmed\nbookings, paid orders, past days' views) comes from each module's development-only seed (",[623,1066,1067],{},"testing\u002Fsample.ts",", never\nin the module's package), which goes through the module's own services. It reads ",[623,1070,1071],{},"shade\u002F.env"," and runs only against\na database on the same machine. Both commands can run again: they add nothing twice.",[783,1074,1075,1076,1079,1080,1083,1084,1087,1088,1091],{},"SHADE's own website shows the admin too. ",[623,1077,1078],{},"pnpm screenshots:site [name…]"," takes the dashboard, the appointments, the\norders and the website editor with the home page open, at 1920 by 1080 and at phone size (390 by 844 at twice the\npixels), in the light and the dark theme, into ",[623,1081,1082],{},"site-screenshots\u002F"," in the workspace (not committed), named\n",[623,1085,1086],{},"\u003Cscreen>-\u003Cdesktop|phone>-\u003Clight|dark>.png",". It needs ",[623,1089,1090],{},"pnpm dev","'s site running for the editor's canvas. Take them\nagain when the admin's look changes.",[656,1093,1095],{"id":1094},"running-it-locally","Running it locally",[1097,1098,1103],"pre",{"className":1099,"code":1100,"language":1101,"meta":1102,"style":1102},"language-sh shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","pnpm install\npnpm dev        # http:\u002F\u002Flocalhost:3100, follows edits in content\u002F\npnpm generate   # the static site in .output\u002Fpublic\npnpm test       # test\u002F: markdown.test.ts, reference.test.ts, links.test.ts, checks\u002Fdiagrams.test.ts and more\npnpm links      # every link leads to a page or a file (links.ts; in pnpm test too)\npnpm reference:check  # public\u002Fopenapi.json and data\u002Fsdk-contract.json are what ..\u002Fshade has today (in pnpm test too)\n","sh","",[623,1104,1105,1118,1130,1141,1152,1163],{"__ignoreMap":1102},[1106,1107,1110,1114],"span",{"class":1108,"line":1109},"line",1,[1106,1111,1113],{"class":1112},"sBMFI","pnpm",[1106,1115,1117],{"class":1116},"sfazB"," install\n",[1106,1119,1121,1123,1126],{"class":1108,"line":1120},2,[1106,1122,1113],{"class":1112},[1106,1124,1125],{"class":1116}," dev",[1106,1127,1129],{"class":1128},"sHwdD","        # http:\u002F\u002Flocalhost:3100, follows edits in content\u002F\n",[1106,1131,1133,1135,1138],{"class":1108,"line":1132},3,[1106,1134,1113],{"class":1112},[1106,1136,1137],{"class":1116}," generate",[1106,1139,1140],{"class":1128},"   # the static site in .output\u002Fpublic\n",[1106,1142,1144,1146,1149],{"class":1108,"line":1143},4,[1106,1145,1113],{"class":1112},[1106,1147,1148],{"class":1116}," test",[1106,1150,1151],{"class":1128},"       # test\u002F: markdown.test.ts, reference.test.ts, links.test.ts, checks\u002Fdiagrams.test.ts and more\n",[1106,1153,1155,1157,1160],{"class":1108,"line":1154},5,[1106,1156,1113],{"class":1112},[1106,1158,1159],{"class":1116}," links",[1106,1161,1162],{"class":1128},"      # every link leads to a page or a file (links.ts; in pnpm test too)\n",[1106,1164,1166,1168,1171],{"class":1108,"line":1165},6,[1106,1167,1113],{"class":1112},[1106,1169,1170],{"class":1116}," reference:check",[1106,1172,1173],{"class":1128},"  # public\u002Fopenapi.json and data\u002Fsdk-contract.json are what ..\u002Fshade has today (in pnpm test too)\n",[619,1175,1176,1177,1180,1181,1183],{},"Parsed pages are cached by their content (",[623,1178,1179],{},".data","). After changing ",[623,1182,941],{},", delete that folder so every page\nis parsed again.",[656,1185,1187],{"id":1186},"where-it-is-published","Where it is published",[619,1189,1190,1191,1194],{},"The published site is on Cloudflare; how it is set up there is not part of these docs. To publish your own copy, build it with ",[623,1192,1193],{},"pnpm generate"," and serve the output folder from any\nstatic host.",[1196,1197,1198],"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 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 .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);}",{"title":1102,"searchDepth":1120,"depth":1120,"links":1200},[1201,1202,1203,1204,1205],{"id":658,"depth":1120,"text":659},{"id":860,"depth":1120,"text":861},{"id":910,"depth":1120,"text":911},{"id":1094,"depth":1120,"text":1095},{"id":1186,"depth":1120,"text":1187},"md",null,{},true,{"title":573,"description":1102},"YEwm4jw-EWNxI79Vbj6OD6PtjZhnez2ImhtmjnIU_bA",[1213,1214],{"title":569,"path":570,"stem":571,"description":1102,"children":-1},{"title":577,"path":578,"stem":579,"description":1102,"children":-1},1796500161033]