@axerity/cli 0.1.4 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (339) hide show
  1. package/bin/axerity.js +67 -218
  2. package/dist/client/_app/immutable/assets/0.jCJXzoiy.css +1 -0
  3. package/dist/client/_app/immutable/assets/2.DZRzHaE1.css +1 -0
  4. package/dist/client/_app/immutable/assets/geist-cyrillic-ext-wght-normal.DjL33-gN.woff2 +0 -0
  5. package/dist/client/_app/immutable/assets/geist-cyrillic-wght-normal.BEAKL7Jp.woff2 +0 -0
  6. package/dist/client/_app/immutable/assets/geist-latin-ext-wght-normal.DC-KSUi6.woff2 +0 -0
  7. package/dist/client/_app/immutable/assets/geist-latin-wght-normal.BgDaEnEv.woff2 +0 -0
  8. package/dist/client/_app/immutable/assets/geist-mono-cyrillic-ext-wght-normal.I4S5GZfc.woff2 +0 -0
  9. package/dist/client/_app/immutable/assets/geist-mono-cyrillic-wght-normal.BmXc_FBt.woff2 +0 -0
  10. package/dist/client/_app/immutable/assets/geist-mono-latin-ext-wght-normal.DrnZ1wKl.woff2 +0 -0
  11. package/dist/client/_app/immutable/assets/geist-mono-latin-wght-normal.B_7UjwxQ.woff2 +0 -0
  12. package/dist/client/_app/immutable/assets/geist-mono-symbols2-wght-normal.GZpp1pK2.woff2 +0 -0
  13. package/dist/client/_app/immutable/assets/geist-mono-vietnamese-wght-normal.D8KDMBhC.woff2 +0 -0
  14. package/dist/client/_app/immutable/assets/geist-vietnamese-wght-normal.6IgcOCM7.woff2 +0 -0
  15. package/dist/client/_app/immutable/chunks/0CIKaoUA.js +139 -0
  16. package/dist/client/_app/immutable/chunks/0tC8Ubqr.js +2 -0
  17. package/dist/client/_app/immutable/chunks/29nvmPLe2.js +1 -0
  18. package/dist/client/_app/immutable/chunks/9IV9o0dV2.js +4 -0
  19. package/dist/client/_app/immutable/chunks/B-elEOLV.js +24 -0
  20. package/dist/client/_app/immutable/chunks/B1R9-4vu.js +89 -0
  21. package/dist/client/_app/immutable/chunks/B1eXHGII2.js +10 -0
  22. package/dist/client/_app/immutable/chunks/B2NKIbe62.js +206 -0
  23. package/dist/client/_app/immutable/chunks/B5Brrqz92.js +1 -0
  24. package/dist/client/_app/immutable/chunks/B6nymVS3.js +1 -0
  25. package/dist/client/_app/immutable/chunks/B8E5l9fg2.js +1 -0
  26. package/dist/client/_app/immutable/chunks/B8gBHxth2.js +1 -0
  27. package/dist/client/_app/immutable/chunks/BC8A8xkk.js +2 -0
  28. package/dist/client/_app/immutable/chunks/BGU5ZGjx.js +1 -0
  29. package/dist/client/_app/immutable/chunks/BLhBgXDr2.js +1 -0
  30. package/dist/client/_app/immutable/chunks/BNdlLOgu2.js +2 -0
  31. package/dist/client/_app/immutable/chunks/BQyPqLag.js +84 -0
  32. package/dist/client/_app/immutable/chunks/BRQspS80.js +162 -0
  33. package/dist/client/_app/immutable/chunks/BVz-DmJs2.js +132 -0
  34. package/dist/client/_app/immutable/chunks/BWPyau1x.js +1 -0
  35. package/dist/client/_app/immutable/chunks/BXD4L9Ly.js +9 -0
  36. package/dist/client/_app/immutable/chunks/B_Yg36qy2.js +1 -0
  37. package/dist/client/_app/immutable/chunks/BcuUc08l.js +292 -0
  38. package/dist/client/_app/immutable/chunks/BdsP84LY.js +231 -0
  39. package/dist/client/_app/immutable/chunks/Bie0X5s02.js +62 -0
  40. package/dist/client/_app/immutable/chunks/BifhSqXX.js +1 -0
  41. package/dist/client/_app/immutable/chunks/BjVjgMFk2.js +15 -0
  42. package/dist/client/_app/immutable/chunks/BpwmCo88.js +1 -0
  43. package/dist/client/_app/immutable/chunks/BxQVBtgJ.js +1 -0
  44. package/dist/client/_app/immutable/chunks/C2oEw9bf.js +34 -0
  45. package/dist/client/_app/immutable/chunks/C6Oj8XFW.js +1 -0
  46. package/dist/client/_app/immutable/chunks/C6v0vZRT2.js +36 -0
  47. package/dist/client/_app/immutable/chunks/C7H7uo1r.js +70 -0
  48. package/dist/client/_app/immutable/chunks/C8Fc0cco.js +1 -0
  49. package/dist/client/_app/immutable/chunks/CDfHwfr9.js +1 -0
  50. package/dist/client/_app/immutable/chunks/CEW3xh3M.js +124 -0
  51. package/dist/client/_app/immutable/chunks/CFNmf5NX.js +1 -0
  52. package/dist/client/_app/immutable/chunks/CGhzzHe4.js +1 -0
  53. package/dist/client/_app/immutable/chunks/CJMWL00f.js +1 -0
  54. package/dist/client/_app/immutable/chunks/CLrCY0qQ2.js +1 -0
  55. package/dist/client/_app/immutable/chunks/COu5VFF2.js +78 -0
  56. package/dist/client/_app/immutable/chunks/CSKSodPl2.js +1 -0
  57. package/dist/client/_app/immutable/chunks/CVNFCEpi.js +1 -0
  58. package/dist/client/_app/immutable/chunks/CWUJwgR2.js +1 -0
  59. package/dist/client/_app/immutable/chunks/CXC42hVj.js +70 -0
  60. package/dist/client/_app/immutable/chunks/CZqBFf11.js +30 -0
  61. package/dist/client/_app/immutable/chunks/CaWcga612.js +1 -0
  62. package/dist/client/_app/immutable/chunks/CcX7Oofq.js +1 -0
  63. package/dist/client/_app/immutable/chunks/Chn8RaCU2.js +1 -0
  64. package/dist/client/_app/immutable/chunks/CtmfIXf-.js +161 -0
  65. package/dist/client/_app/immutable/chunks/D0Co2O6p.js +7 -0
  66. package/dist/client/_app/immutable/chunks/D1O9pT8r.js +1 -0
  67. package/dist/client/_app/immutable/chunks/D1z0eUZA.js +3 -0
  68. package/dist/client/_app/immutable/chunks/D5KVydqU.js +1 -0
  69. package/dist/client/_app/immutable/chunks/D6jRqBbL.js +1 -0
  70. package/dist/client/_app/immutable/chunks/DDXR3Aw12.js +1 -0
  71. package/dist/client/_app/immutable/chunks/DG5yTEkY.js +1 -0
  72. package/dist/client/_app/immutable/chunks/DGHybmkM2.js +1 -0
  73. package/dist/client/_app/immutable/chunks/DITdNjTm.js +7 -0
  74. package/dist/client/_app/immutable/chunks/D_nZbl6c.js +162 -0
  75. package/dist/client/_app/immutable/chunks/Dg6QheNk.js +85 -0
  76. package/dist/client/_app/immutable/chunks/Dn1BfjD4.js +1 -0
  77. package/dist/client/_app/immutable/chunks/DpEnPnBc.js +1 -0
  78. package/dist/client/_app/immutable/chunks/Drl36yuV.js +40 -0
  79. package/dist/client/_app/immutable/chunks/ED9-GWAc2.js +10 -0
  80. package/dist/client/_app/immutable/chunks/FqbQrHcz2.js +321 -0
  81. package/dist/client/_app/immutable/chunks/PLsDE8Xa.js +24 -0
  82. package/dist/client/_app/immutable/chunks/PwGqCEPd.js +106 -0
  83. package/dist/client/_app/immutable/chunks/QmWylQL4.js +96 -0
  84. package/dist/client/_app/immutable/chunks/SbORYBuH.js +1 -0
  85. package/dist/client/_app/immutable/chunks/Vhh-h91d.js +257 -0
  86. package/dist/client/_app/immutable/chunks/Y3d8lUBM.js +120 -0
  87. package/dist/client/_app/immutable/chunks/aheLp5ES.js +32 -0
  88. package/dist/client/_app/immutable/chunks/dcFrWhgf.js +1 -0
  89. package/dist/client/_app/immutable/chunks/dqbyyLvi2.js +10 -0
  90. package/dist/client/_app/immutable/chunks/hFfQmBrk2.js +1 -0
  91. package/dist/client/_app/immutable/chunks/m89wIWMZ.js +1 -0
  92. package/dist/client/_app/immutable/chunks/mktnrgVa.js +1 -0
  93. package/dist/client/_app/immutable/chunks/qD2cSsUD2.js +1 -0
  94. package/dist/client/_app/immutable/chunks/v-V-aVm52.js +43 -0
  95. package/dist/client/_app/immutable/chunks/v97jXyQK.js +3 -0
  96. package/dist/client/_app/immutable/chunks/wCc4pE4l.js +3 -0
  97. package/dist/client/_app/immutable/chunks/xihTtKlq.js +1 -0
  98. package/dist/client/_app/immutable/entry/app.BxBJhrll.js +2 -0
  99. package/dist/client/_app/immutable/entry/start.mAPciu1x.js +1 -0
  100. package/dist/client/_app/immutable/nodes/0.C7MOOY8s.js +1 -0
  101. package/dist/client/_app/immutable/nodes/1.C1SZKZS6.js +1 -0
  102. package/dist/client/_app/immutable/nodes/2.C9w6NQmI.js +28 -0
  103. package/dist/client/_app/version.json +1 -0
  104. package/dist/env.js +94 -0
  105. package/dist/handler.js +1494 -0
  106. package/dist/index.js +345 -0
  107. package/dist/server/chunks/0-lMxIppsX.js +40 -0
  108. package/dist/server/chunks/0-lMxIppsX.js.map +1 -0
  109. package/dist/server/chunks/1-CyLqCHnY.js +9 -0
  110. package/dist/server/chunks/1-CyLqCHnY.js.map +1 -0
  111. package/dist/server/chunks/2-B-CcMKoh.js +54 -0
  112. package/dist/server/chunks/2-B-CcMKoh.js.map +1 -0
  113. package/dist/server/chunks/Icon-B5VFrlh0.js +186 -0
  114. package/dist/server/chunks/Icon-B5VFrlh0.js.map +1 -0
  115. package/dist/server/chunks/_error.svelte-COifK9P1.js +48 -0
  116. package/dist/server/chunks/_error.svelte-COifK9P1.js.map +1 -0
  117. package/dist/server/chunks/_layout.svelte-DTQwWfEr.js +31 -0
  118. package/dist/server/chunks/_layout.svelte-DTQwWfEr.js.map +1 -0
  119. package/dist/server/chunks/_page.svelte-gMTRy91w.js +2206 -0
  120. package/dist/server/chunks/_page.svelte-gMTRy91w.js.map +1 -0
  121. package/dist/server/chunks/_server.ts-BBt3KS4Z.js +32 -0
  122. package/dist/server/chunks/_server.ts-BBt3KS4Z.js.map +1 -0
  123. package/dist/server/chunks/_server.ts-BaIDzhzq.js +26 -0
  124. package/dist/server/chunks/_server.ts-BaIDzhzq.js.map +1 -0
  125. package/dist/server/chunks/_server.ts-BtzVXaCw.js +29 -0
  126. package/dist/server/chunks/_server.ts-BtzVXaCw.js.map +1 -0
  127. package/dist/server/chunks/_server.ts-BuKSyj8m.js +37 -0
  128. package/dist/server/chunks/_server.ts-BuKSyj8m.js.map +1 -0
  129. package/dist/server/chunks/_server.ts-Cfw-nQ4-.js +31 -0
  130. package/dist/server/chunks/_server.ts-Cfw-nQ4-.js.map +1 -0
  131. package/dist/server/chunks/_server.ts-DlaxEvWB.js +53 -0
  132. package/dist/server/chunks/_server.ts-DlaxEvWB.js.map +1 -0
  133. package/dist/server/chunks/_server.ts-DnjaLdrg.js +195 -0
  134. package/dist/server/chunks/_server.ts-DnjaLdrg.js.map +1 -0
  135. package/dist/server/chunks/_server.ts-T58MO2wL.js +41 -0
  136. package/dist/server/chunks/_server.ts-T58MO2wL.js.map +1 -0
  137. package/dist/server/chunks/content-store-DPJsj8gD.js +5252 -0
  138. package/dist/server/chunks/content-store-DPJsj8gD.js.map +1 -0
  139. package/dist/server/chunks/docpage-BkHysAhp.js +5 -0
  140. package/dist/server/chunks/docpage-BkHysAhp.js.map +1 -0
  141. package/dist/server/chunks/exports-ZnEJ4gG9.js +758 -0
  142. package/dist/server/chunks/exports-ZnEJ4gG9.js.map +1 -0
  143. package/dist/server/chunks/hooks.server-nz527EC9.js +42 -0
  144. package/dist/server/chunks/hooks.server-nz527EC9.js.map +1 -0
  145. package/dist/server/chunks/internal-CvDbuC7W.js +5374 -0
  146. package/dist/server/chunks/internal-CvDbuC7W.js.map +1 -0
  147. package/dist/server/chunks/mdfile-DBiwGtNY.js +5 -0
  148. package/dist/server/chunks/mdfile-DBiwGtNY.js.map +1 -0
  149. package/dist/server/chunks/site-BfALkgJ-.js +52 -0
  150. package/dist/server/chunks/site-BfALkgJ-.js.map +1 -0
  151. package/dist/server/index.js +4356 -0
  152. package/dist/server/index.js.map +1 -0
  153. package/dist/server/manifest.js +103 -0
  154. package/dist/server/manifest.js.map +1 -0
  155. package/dist/shims.js +32 -0
  156. package/package.json +24 -16
  157. package/runtime/crawl.js +48 -0
  158. package/runtime/preview.js +42 -0
  159. package/runtime/serve.js +69 -0
  160. package/mdsvex.config.js +0 -261
  161. package/scripts/prepare-engine.mjs +0 -20
  162. package/src/app.d.ts +0 -17
  163. package/src/app.html +0 -39
  164. package/src/content/demo/api/meta.json +0 -5
  165. package/src/content/demo/api/pet/add-pet.md +0 -105
  166. package/src/content/demo/api/pet/delete-pet.md +0 -70
  167. package/src/content/demo/api/pet/find-by-status.md +0 -72
  168. package/src/content/demo/api/pet/find-by-tags.md +0 -64
  169. package/src/content/demo/api/pet/get-pet.md +0 -99
  170. package/src/content/demo/api/pet/meta.json +0 -15
  171. package/src/content/demo/api/pet/pet-object.md +0 -112
  172. package/src/content/demo/api/pet/update-pet-with-form.md +0 -69
  173. package/src/content/demo/api/pet/update-pet.md +0 -79
  174. package/src/content/demo/api/pet/upload-image.md +0 -79
  175. package/src/content/demo/api/store/delete-order.md +0 -62
  176. package/src/content/demo/api/store/get-order.md +0 -70
  177. package/src/content/demo/api/store/inventory.md +0 -54
  178. package/src/content/demo/api/store/meta.json +0 -5
  179. package/src/content/demo/api/store/order-object.md +0 -77
  180. package/src/content/demo/api/store/place-order.md +0 -83
  181. package/src/content/demo/api/user/create-user.md +0 -69
  182. package/src/content/demo/api/user/create-with-list.md +0 -57
  183. package/src/content/demo/api/user/delete-user.md +0 -61
  184. package/src/content/demo/api/user/get-user.md +0 -69
  185. package/src/content/demo/api/user/login.md +0 -80
  186. package/src/content/demo/api/user/logout.md +0 -45
  187. package/src/content/demo/api/user/meta.json +0 -14
  188. package/src/content/demo/api/user/update-user.md +0 -69
  189. package/src/content/demo/api/user/user-object.md +0 -85
  190. package/src/content/demo/changelog.md +0 -44
  191. package/src/content/demo/components/accordion.md +0 -70
  192. package/src/content/demo/components/api.md +0 -185
  193. package/src/content/demo/components/badge.md +0 -34
  194. package/src/content/demo/components/callout.md +0 -83
  195. package/src/content/demo/components/cards.md +0 -88
  196. package/src/content/demo/components/code-group.md +0 -55
  197. package/src/content/demo/components/columns.md +0 -42
  198. package/src/content/demo/components/frame.md +0 -51
  199. package/src/content/demo/components/icon.md +0 -54
  200. package/src/content/demo/components/kbd.md +0 -28
  201. package/src/content/demo/components/meta.json +0 -26
  202. package/src/content/demo/components/roadmap.md +0 -86
  203. package/src/content/demo/components/steps.md +0 -72
  204. package/src/content/demo/components/tabs.md +0 -146
  205. package/src/content/demo/components/tooltip.md +0 -44
  206. package/src/content/demo/components/tree.md +0 -83
  207. package/src/content/demo/components/type-table.md +0 -77
  208. package/src/content/demo/components/update.md +0 -48
  209. package/src/content/demo/components/video.md +0 -56
  210. package/src/content/demo/components/webhooks.md +0 -109
  211. package/src/content/demo/components/websockets.md +0 -101
  212. package/src/content/demo/configuration/ai.md +0 -40
  213. package/src/content/demo/configuration/cli.md +0 -48
  214. package/src/content/demo/configuration/deployment.md +0 -105
  215. package/src/content/demo/configuration/index.md +0 -92
  216. package/src/content/demo/configuration/layouts.md +0 -51
  217. package/src/content/demo/configuration/meta.json +0 -5
  218. package/src/content/demo/configuration/navigation.md +0 -167
  219. package/src/content/demo/configuration/openapi.md +0 -103
  220. package/src/content/demo/configuration/search.md +0 -36
  221. package/src/content/demo/index.md +0 -59
  222. package/src/content/demo/installation.md +0 -66
  223. package/src/content/demo/meta.json +0 -15
  224. package/src/content/demo/quick-start.md +0 -47
  225. package/src/content/demo/theming/advanced.md +0 -116
  226. package/src/content/demo/theming/code.md +0 -66
  227. package/src/content/demo/theming/colors.md +0 -103
  228. package/src/content/demo/theming/index.md +0 -88
  229. package/src/content/demo/theming/layout.md +0 -71
  230. package/src/content/demo/theming/meta.json +0 -5
  231. package/src/content/demo/theming/themes.md +0 -99
  232. package/src/content/demo/theming/typography.md +0 -83
  233. package/src/content/demo/writing/code-blocks.md +0 -154
  234. package/src/content/demo/writing/diagrams.md +0 -44
  235. package/src/content/demo/writing/frontmatter.md +0 -33
  236. package/src/content/demo/writing/markdown.md +0 -62
  237. package/src/content/demo/writing/meta.json +0 -5
  238. package/src/hooks.server.ts +0 -49
  239. package/src/lib/assets/favicon.svg +0 -1
  240. package/src/lib/base.ts +0 -12
  241. package/src/lib/components/DynamicIcon.svelte +0 -41
  242. package/src/lib/components/docs/Analytics.svelte +0 -38
  243. package/src/lib/components/docs/Banner.svelte +0 -44
  244. package/src/lib/components/docs/Breadcrumbs.svelte +0 -38
  245. package/src/lib/components/docs/CopyPageMenu.svelte +0 -119
  246. package/src/lib/components/docs/DocsLayout.svelte +0 -192
  247. package/src/lib/components/docs/Footer.svelte +0 -60
  248. package/src/lib/components/docs/Mermaid.svelte +0 -39
  249. package/src/lib/components/docs/Navbar.svelte +0 -144
  250. package/src/lib/components/docs/PageMeta.svelte +0 -35
  251. package/src/lib/components/docs/PageNav.svelte +0 -44
  252. package/src/lib/components/docs/SearchDialog.svelte +0 -182
  253. package/src/lib/components/docs/Sidebar.svelte +0 -85
  254. package/src/lib/components/docs/SidebarDropdown.svelte +0 -56
  255. package/src/lib/components/docs/SidebarFooterLinks.svelte +0 -19
  256. package/src/lib/components/docs/SidebarGroup.svelte +0 -54
  257. package/src/lib/components/docs/SidebarLink.svelte +0 -67
  258. package/src/lib/components/docs/TableOfContents.svelte +0 -77
  259. package/src/lib/components/docs/ThemeToggle.svelte +0 -19
  260. package/src/lib/components/docs/VersionSwitcher.svelte +0 -80
  261. package/src/lib/components/kit/Accordion.svelte +0 -60
  262. package/src/lib/components/kit/AccordionGroup.svelte +0 -13
  263. package/src/lib/components/kit/Badge.svelte +0 -32
  264. package/src/lib/components/kit/Callout.svelte +0 -51
  265. package/src/lib/components/kit/Card.svelte +0 -72
  266. package/src/lib/components/kit/CardGroup.svelte +0 -21
  267. package/src/lib/components/kit/CodeGroup.svelte +0 -65
  268. package/src/lib/components/kit/Columns.svelte +0 -26
  269. package/src/lib/components/kit/Event.svelte +0 -23
  270. package/src/lib/components/kit/EventList.svelte +0 -9
  271. package/src/lib/components/kit/File.svelte +0 -15
  272. package/src/lib/components/kit/Folder.svelte +0 -46
  273. package/src/lib/components/kit/Frame.svelte +0 -81
  274. package/src/lib/components/kit/Icon.svelte +0 -17
  275. package/src/lib/components/kit/Kbd.svelte +0 -11
  276. package/src/lib/components/kit/Roadmap.svelte +0 -15
  277. package/src/lib/components/kit/RoadmapItem.svelte +0 -109
  278. package/src/lib/components/kit/Step.svelte +0 -63
  279. package/src/lib/components/kit/Steps.svelte +0 -16
  280. package/src/lib/components/kit/Tab.svelte +0 -27
  281. package/src/lib/components/kit/Tabs.svelte +0 -75
  282. package/src/lib/components/kit/Tooltip.svelte +0 -33
  283. package/src/lib/components/kit/Tree.svelte +0 -11
  284. package/src/lib/components/kit/TypeTable.svelte +0 -187
  285. package/src/lib/components/kit/Update.svelte +0 -32
  286. package/src/lib/components/kit/Video.svelte +0 -64
  287. package/src/lib/components/kit/accordion-context.ts +0 -1
  288. package/src/lib/components/kit/api/Api.svelte +0 -80
  289. package/src/lib/components/kit/api/ApiExamplePanel.svelte +0 -100
  290. package/src/lib/components/kit/api/ApiField.svelte +0 -124
  291. package/src/lib/components/kit/api/Channel.svelte +0 -121
  292. package/src/lib/components/kit/api/Endpoint.svelte +0 -116
  293. package/src/lib/components/kit/api/Enum.svelte +0 -44
  294. package/src/lib/components/kit/api/EnumValues.svelte +0 -35
  295. package/src/lib/components/kit/api/Expandable.svelte +0 -70
  296. package/src/lib/components/kit/api/Message.svelte +0 -67
  297. package/src/lib/components/kit/api/ObjectExample.svelte +0 -11
  298. package/src/lib/components/kit/api/RequestExample.svelte +0 -11
  299. package/src/lib/components/kit/api/ResponseExample.svelte +0 -11
  300. package/src/lib/components/kit/api/Webhook.svelte +0 -115
  301. package/src/lib/components/kit/api/api-context.ts +0 -15
  302. package/src/lib/components/kit/tabs-context.ts +0 -8
  303. package/src/lib/components/kit/tabs-store.svelte.ts +0 -28
  304. package/src/lib/config/site.ts +0 -34
  305. package/src/lib/content/index.ts +0 -50
  306. package/src/lib/content/raw.ts +0 -21
  307. package/src/lib/content/tree.ts +0 -169
  308. package/src/lib/index.ts +0 -79
  309. package/src/lib/nav-match.ts +0 -23
  310. package/src/lib/openapi/generate.ts +0 -629
  311. package/src/lib/server/og.ts +0 -140
  312. package/src/lib/state/search.svelte.ts +0 -9
  313. package/src/lib/state/theme.svelte.ts +0 -58
  314. package/src/lib/types.ts +0 -216
  315. package/src/params/docpage.ts +0 -3
  316. package/src/params/mdfile.ts +0 -3
  317. package/src/routes/+error.svelte +0 -46
  318. package/src/routes/+layout.svelte +0 -25
  319. package/src/routes/[...path=mdfile]/+server.ts +0 -21
  320. package/src/routes/[...slug=docpage]/+page.svelte +0 -63
  321. package/src/routes/[...slug=docpage]/+page.ts +0 -44
  322. package/src/routes/layout.css +0 -897
  323. package/src/routes/llms-full.txt/+server.ts +0 -22
  324. package/src/routes/llms.txt/+server.ts +0 -20
  325. package/src/routes/og/[...slug]/+server.ts +0 -77
  326. package/src/routes/rss.xml/+server.ts +0 -65
  327. package/src/routes/search.json/+server.ts +0 -54
  328. package/src/routes/sitemap.xml/+server.ts +0 -21
  329. package/svelte.config.js +0 -35
  330. package/tsconfig.json +0 -20
  331. package/vite.config.ts +0 -67
  332. /package/{static → dist/client}/favicon-dark.svg +0 -0
  333. /package/{static → dist/client}/favicon-light.svg +0 -0
  334. /package/{static → dist/client}/favicon.svg +0 -0
  335. /package/{static → dist/client}/fonts/geist-400.ttf +0 -0
  336. /package/{static → dist/client}/fonts/geist-600.ttf +0 -0
  337. /package/{static → dist/client}/fonts/geist-700.ttf +0 -0
  338. /package/{static → dist/client}/og-image.png +0 -0
  339. /package/{static → dist/client}/robots.txt +0 -0
@@ -1,146 +0,0 @@
1
- ---
2
- title: Tabs
3
- description: Switch between alternative content in place.
4
- icon: layers
5
- ---
6
-
7
- <script>
8
- import { Tabs, Tab } from '$lib';
9
- </script>
10
-
11
- # Tabs
12
-
13
- Tabs let readers switch between alternative content, package managers, OSes, or
14
- languages, without leaving the page.
15
-
16
- ## Example
17
-
18
- <Tabs>
19
- <Tab title="pnpm">
20
-
21
- ```bash
22
- pnpm add axerity
23
- ```
24
-
25
- </Tab>
26
- <Tab title="npm">
27
-
28
- ```bash
29
- npm install axerity
30
- ```
31
-
32
- </Tab>
33
- <Tab title="yarn">
34
-
35
- ```bash
36
- yarn add axerity
37
- ```
38
-
39
- </Tab>
40
-
41
- </Tabs>
42
-
43
- The first tab is selected by default.
44
-
45
- ## Icons
46
-
47
- Give a `Tab` an `icon` (any Lucide name) to show a glyph next to its label:
48
-
49
- <Tabs>
50
- <Tab title="TypeScript" icon="code">
51
-
52
- ```ts
53
- export const x: number = 1;
54
- ```
55
-
56
- </Tab>
57
- <Tab title="Config" icon="file-text">
58
-
59
- ```json
60
- { "x": 1 }
61
- ```
62
-
63
- </Tab>
64
-
65
- </Tabs>
66
-
67
- ## Shared & persistent groups
68
-
69
- Give multiple `Tabs` the same `group` and they sync, picking a tab in one
70
- switches every other group on the page, and the choice is **remembered across
71
- reloads** (via `localStorage`). Tabs are matched by title.
72
-
73
- <Tabs group="pm">
74
- <Tab title="pnpm">
75
-
76
- ```bash
77
- pnpm add axerity
78
- ```
79
-
80
- </Tab>
81
- <Tab title="npm">
82
-
83
- ```bash
84
- npm install axerity
85
- ```
86
-
87
- </Tab>
88
-
89
- </Tabs>
90
-
91
- <Tabs group="pm">
92
- <Tab title="pnpm">
93
-
94
- ```bash
95
- pnpm dev
96
- ```
97
-
98
- </Tab>
99
- <Tab title="npm">
100
-
101
- ```bash
102
- npm run dev
103
- ```
104
-
105
- </Tab>
106
-
107
- </Tabs>
108
-
109
- Switch one of the two blocks above, the other follows.
110
-
111
- ## Usage
112
-
113
- Import `Tabs` and `Tab`, then give each `Tab` a `title`. Remember the blank
114
- lines around tab content so the Markdown inside is parsed:
115
-
116
- ````md
117
- <script>
118
- import { Tabs, Tab } from '$lib';
119
- </script>
120
-
121
- <Tabs>
122
- <Tab title="pnpm">
123
-
124
- ```bash
125
- pnpm add axerity
126
- ```
127
-
128
- </Tab>
129
- <Tab title="npm">
130
-
131
- ```bash
132
- npm install axerity
133
- ```
134
-
135
- </Tab>
136
-
137
- </Tabs>
138
- ````
139
-
140
- ## Props
141
-
142
- | Component | Prop | Description |
143
- | --------- | ------- | ----------------------------------------------- |
144
- | `Tabs` | `group` | Sync + persist selection across same-group tabs |
145
- | `Tab` | `title` | Tab label (required) |
146
- | `Tab` | `icon` | Optional Lucide icon name |
@@ -1,44 +0,0 @@
1
- ---
2
- title: Tooltip
3
- description: Show a short hint when a reader hovers or focuses a word.
4
- icon: message-circle
5
- ---
6
-
7
- <script>
8
- import { Tooltip } from '$lib';
9
- </script>
10
-
11
- # Tooltip
12
-
13
- Tooltips attach a short note to a word or phrase. The note stays hidden until the
14
- reader hovers the trigger or moves keyboard focus onto it. Use them for quick
15
- definitions and asides that would clutter the sentence if written inline.
16
-
17
- ## Example
18
-
19
- The request returns a <Tooltip tip="JavaScript Object Notation, a plain text data format.">JSON</Tooltip> body with the pet record. Hover the dotted word to read the hint.
20
-
21
- ## Usage
22
-
23
- ```svelte
24
- <script>
25
- import { Tooltip } from '$lib';
26
- </script>
27
-
28
- The request returns a <Tooltip tip="JavaScript Object Notation.">JSON</Tooltip> body.
29
- ```
30
-
31
- The text between the tags is the trigger. It gets a dotted underline so readers
32
- know there is more to see. The `tip` text is the note that appears above it.
33
-
34
- ## Keyboard and screen readers
35
-
36
- The trigger is a real button, so it is reachable with the Tab key and the note
37
- shows on focus as well as hover. The `tip` is also exposed as the button's label,
38
- so screen readers announce it.
39
-
40
- ## Props
41
-
42
- | Prop | Type | Description |
43
- | ----- | -------- | ------------------------ |
44
- | `tip` | `string` | The hint text (required) |
@@ -1,83 +0,0 @@
1
- ---
2
- title: File tree
3
- description: Show a folder and file layout the way it looks on disk.
4
- icon: folder-tree
5
- ---
6
-
7
- <script>
8
- import { Tree, Folder, File } from '$lib';
9
- </script>
10
-
11
- # File tree
12
-
13
- A file tree shows how files and folders are arranged. Use it to point readers to
14
- the right place in a project without making them guess.
15
-
16
- ## Example
17
-
18
- <Tree>
19
- <Folder name="src" defaultOpen>
20
- <Folder name="content">
21
- <Folder name="docs">
22
- <File name="index.md" />
23
- <File name="installation.md" />
24
- </Folder>
25
- </Folder>
26
- <Folder name="lib">
27
- <File name="index.ts" />
28
- </Folder>
29
- <File name="app.html" />
30
- </Folder>
31
- <File name="axerity.json" />
32
- <File name="package.json" />
33
- </Tree>
34
-
35
- Click a folder to open or close it. Pass `defaultOpen` to a folder to show its
36
- contents on load.
37
-
38
- ## Usage
39
-
40
- ```svelte
41
- <script>
42
- import { Tree, Folder, File } from '$lib';
43
- </script>
44
-
45
- <Tree>
46
- <Folder name="src" defaultOpen>
47
- <Folder name="content">
48
- <File name="index.md" />
49
- </Folder>
50
- <File name="app.html" />
51
- </Folder>
52
- <File name="package.json" />
53
- </Tree>
54
- ```
55
-
56
- ## Custom icons
57
-
58
- By default folders use a folder glyph and files use a file glyph. Pass `icon`
59
- with any Lucide name to override either one.
60
-
61
- <Tree>
62
- <Folder name="images" icon="image" defaultOpen>
63
- <File name="logo.svg" icon="file-image" />
64
- </Folder>
65
- <File name="README.md" icon="book-open" />
66
- </Tree>
67
-
68
- ## Props
69
-
70
- ### Folder
71
-
72
- | Prop | Type | Description |
73
- | ------------- | --------- | ---------------------- |
74
- | `name` | `string` | Folder name (required) |
75
- | `icon` | `string` | Lucide icon name |
76
- | `defaultOpen` | `boolean` | Expand on load |
77
-
78
- ### File
79
-
80
- | Prop | Type | Description |
81
- | ------ | -------- | -------------------- |
82
- | `name` | `string` | File name (required) |
83
- | `icon` | `string` | Lucide icon name |
@@ -1,77 +0,0 @@
1
- ---
2
- title: Type Table
3
- description: Document an object's properties in a configurable table.
4
- icon: tag
5
- ---
6
-
7
- <script>
8
- import { TypeTable } from '$lib';
9
- </script>
10
-
11
- # Type Table
12
-
13
- `TypeTable` documents the shape of an object, component props, config options,
14
- API parameters, from a single object. The **Default** column hides itself when
15
- no property defines one.
16
-
17
- ## Example
18
-
19
- <TypeTable
20
- type={{
21
- title: {
22
- type: 'string',
23
- description: 'The heading shown at the top.',
24
- required: true
25
- },
26
- icon: {
27
- type: 'string',
28
- description: 'A Lucide icon name shown beside the title.'
29
- },
30
- open: {
31
- type: 'boolean',
32
- description: 'Whether the panel starts expanded.',
33
- default: 'false'
34
- },
35
- variant: {
36
- type: "'flat' | 'boxed'",
37
- typeDescription: 'Controls the container width.',
38
- default: "'flat'"
39
- },
40
- legacy: {
41
- type: 'boolean',
42
- description: 'No longer used.',
43
- deprecated: true
44
- }
45
- }}
46
- />
47
-
48
- ## Usage
49
-
50
- ```svelte
51
- <script>
52
- import { TypeTable } from '$lib';
53
- </script>
54
-
55
- <TypeTable
56
- type={{
57
- title: { type: 'string', description: 'The heading.', required: true },
58
- open: { type: 'boolean', default: 'false' }
59
- }}
60
- />
61
- ```
62
-
63
- ## Per-property fields
64
-
65
- <TypeTable
66
- type={{
67
- type: { type: 'string', description: 'Shown as a code chip.' },
68
- description: { type: 'string', description: 'Short prose under the name.' },
69
- typeDescription: {
70
- type: 'string',
71
- description: 'Longer note shown muted under the type.'
72
- },
73
- default: { type: 'string', description: 'Shown as a code chip in the Default column.' },
74
- required: { type: 'boolean', description: 'Adds a "required" badge.' },
75
- deprecated: { type: 'boolean', description: 'Strikes the name and adds a badge.' }
76
- }}
77
- />
@@ -1,48 +0,0 @@
1
- ---
2
- title: Update
3
- description: A timeline entry for changelogs and release notes.
4
- icon: history
5
- ---
6
-
7
- <script>
8
- import { Update, Badge } from '$lib';
9
- </script>
10
-
11
- # Update
12
-
13
- `Update` renders a single entry on a vertical timeline. Stack several to build a
14
- changelog. Pair it with a `date` in the page frontmatter.
15
-
16
- ## Example
17
-
18
- <Update label="v1.1.0" date="June 1, 2026">
19
-
20
- Added the `Update` component. <Badge color="success">new</Badge>
21
-
22
- - Timeline entries with a label and optional date.
23
- - Reads nicely on a dedicated changelog page.
24
-
25
- </Update>
26
-
27
- <Update label="v1.0.0" date="May 1, 2026">
28
-
29
- The first stable release.
30
-
31
- </Update>
32
-
33
- ## Usage
34
-
35
- ```svelte
36
- <script>
37
- import { Update } from '$lib';
38
- </script>
39
-
40
- <Update label="v1.1.0" date="June 1, 2026">What changed in this release.</Update>
41
- ```
42
-
43
- ## Props
44
-
45
- | Prop | Type | Description |
46
- | ------- | -------- | ------------------------------------- |
47
- | `label` | `string` | Heading, usually a version (required) |
48
- | `date` | `string` | Optional date shown next to the label |
@@ -1,56 +0,0 @@
1
- ---
2
- title: Video
3
- description: Embed a YouTube video in a responsive player.
4
- icon: play
5
- ---
6
-
7
- <script>
8
- import { Video } from '$lib';
9
- </script>
10
-
11
- # Video
12
-
13
- The `Video` component renders a responsive 16:9 player. It works with hosted
14
- files and with the common providers, and picks the right player for whatever you
15
- give it:
16
-
17
- - A direct video file (`.mp4`, `.webm`, `.ogg`, `.mov`, `.m4v`) plays in the
18
- browser's native player.
19
- - A YouTube link or id embeds through the privacy friendly `youtube-nocookie`
20
- host.
21
- - A Vimeo link embeds through the Vimeo player.
22
-
23
- ## YouTube
24
-
25
- <Video src="https://youtu.be/oRdxUFDoQe0" title="Michael Jackson - Beat It" />
26
-
27
- A full watch link, a short `youtu.be` link, or a bare video id all work:
28
-
29
- ```svelte
30
- <Video src="https://youtu.be/oRdxUFDoQe0" title="Michael Jackson - Beat It" />
31
- <Video src="https://www.youtube.com/watch?v=oRdxUFDoQe0" />
32
- <Video src="oRdxUFDoQe0" />
33
- ```
34
-
35
- ## Hosted file
36
-
37
- Point `src` at a video file and it plays inline with native controls. Pass
38
- `poster` for a still frame to show before playback:
39
-
40
- ```svelte
41
- <Video src="/media/demo.mp4" poster="/media/demo-poster.jpg" title="Product demo" />
42
- ```
43
-
44
- ## Vimeo
45
-
46
- ```svelte
47
- <Video src="https://vimeo.com/76979871" title="Vimeo example" />
48
- ```
49
-
50
- ## Props
51
-
52
- | Prop | Type | Description |
53
- | -------- | -------- | ------------------------------------------------ |
54
- | `src` | `string` | File URL, provider URL, or YouTube id (required) |
55
- | `title` | `string` | Label for screen readers (default `Video`) |
56
- | `poster` | `string` | Still frame for hosted files, shown before play |
@@ -1,109 +0,0 @@
1
- ---
2
- title: Webhooks
3
- description: Document the events your API sends to a customer's endpoint.
4
- icon: webhook
5
- ---
6
-
7
- <script>
8
- import { Webhook, EventList, Event, ResponseField, ResponseExample } from '$lib';
9
- </script>
10
-
11
- # Webhooks
12
-
13
- Webhook docs read differently from endpoints: you are documenting an event your
14
- service sends to the customer's server. The `Webhook` component lays out the
15
- event, its payload, and an example, with the same sticky rail as the API kit.
16
-
17
- ## An event
18
-
19
- <Webhook event="invoice.paid" method="POST" description="Sent when an invoice is paid in full.">
20
-
21
- ## Payload
22
-
23
- <ResponseField name="id" type="string">
24
-
25
- Unique id for the event.
26
-
27
- </ResponseField>
28
-
29
- <ResponseField name="type" type="string">
30
-
31
- The event type, always `invoice.paid` here.
32
-
33
- </ResponseField>
34
-
35
- <ResponseField name="data" type="object">
36
-
37
- The invoice that was paid.
38
-
39
- </ResponseField>
40
-
41
- <ResponseExample title="Example event">
42
-
43
- ```json
44
- {
45
- "id": "evt_1abc",
46
- "type": "invoice.paid",
47
- "data": { "id": "in_9xy", "amount": 4200, "currency": "usd" }
48
- }
49
- ```
50
-
51
- </ResponseExample>
52
-
53
- </Webhook>
54
-
55
- ## Usage
56
-
57
- Wrap the event in `<Webhook>` and document the payload with `ResponseField`, then
58
- add a `ResponseExample` (or `ObjectExample`) with a fenced code block for the
59
- sample event:
60
-
61
- ```svelte
62
- <Webhook event="invoice.paid" method="POST" description="Sent when an invoice is paid.">
63
- ## Payload
64
-
65
- <ResponseField name="id" type="string">Unique id for the event.</ResponseField>
66
-
67
- <ResponseExample title="Example event">
68
- (a fenced json block with the sample payload)
69
- </ResponseExample>
70
- </Webhook>
71
- ```
72
-
73
- It works just like the [API components](/components/api), so any of
74
- `ResponseField`, `ResponseExample`, and `ObjectExample` are available inside.
75
-
76
- ## Listing events
77
-
78
- `EventList` renders an index of every event you send. Link each one to its
79
- detail page.
80
-
81
- <EventList>
82
- <Event name="invoice.paid" href="/components/webhooks">An invoice was paid in full.</Event>
83
- <Event name="invoice.payment_failed" href="/components/webhooks">A payment attempt failed.</Event>
84
- <Event name="customer.created" href="/components/webhooks">A new customer was created.</Event>
85
- </EventList>
86
-
87
- ```svelte
88
- <EventList>
89
- <Event name="invoice.paid" href="/webhooks/invoice-paid">An invoice was paid.</Event>
90
- <Event name="customer.created" href="/webhooks/customer-created">A customer was created.</Event>
91
- </EventList>
92
- ```
93
-
94
- ## Props
95
-
96
- ### Webhook
97
-
98
- | Prop | Type | Description |
99
- | ------------- | -------- | ------------------------------------- |
100
- | `event` | `string` | The event type, e.g. `invoice.paid` |
101
- | `method` | `string` | Delivery method (default `POST`) |
102
- | `description` | `string` | Short summary of when the event fires |
103
-
104
- ### Event
105
-
106
- | Prop | Type | Description |
107
- | ------ | -------- | ------------------------------- |
108
- | `name` | `string` | The event type (required) |
109
- | `href` | `string` | Link to the event's detail page |
@@ -1,101 +0,0 @@
1
- ---
2
- title: WebSockets
3
- description: Document channels and messages for WebSocket and AsyncAPI services.
4
- icon: radio
5
- ---
6
-
7
- <script>
8
- import { Channel, Message, ResponseField, ResponseExample } from '$lib';
9
- </script>
10
-
11
- # WebSockets
12
-
13
- Event-driven APIs are documented as channels and messages, not requests and
14
- responses. `Channel` lays out a connection and its messages with the same sticky
15
- rail as the API kit, and `Message` marks the direction of each one.
16
-
17
- ## A channel
18
-
19
- <Channel address={'/chat/{roomId}'} protocol="wss" server="wss://api.example.com" description="Real-time chat for a room.">
20
-
21
- <Message direction="receive" name="message.created">
22
-
23
- A new chat message arrived.
24
-
25
- ## Payload
26
-
27
- <ResponseField name="id" type="string">
28
-
29
- Unique id for the message.
30
-
31
- </ResponseField>
32
-
33
- <ResponseField name="body" type="string">
34
-
35
- The message text.
36
-
37
- </ResponseField>
38
-
39
- <ResponseExample title="message.created">
40
-
41
- ```json
42
- { "id": "msg_1", "body": "hey there", "user": "ada" }
43
- ```
44
-
45
- </ResponseExample>
46
-
47
- </Message>
48
-
49
- <Message direction="send" name="message.send">
50
-
51
- Send a new message to the room.
52
-
53
- ## Payload
54
-
55
- <ResponseField name="body" type="string" required>
56
-
57
- The message text to send.
58
-
59
- </ResponseField>
60
-
61
- </Message>
62
-
63
- </Channel>
64
-
65
- ## Usage
66
-
67
- Wrap a channel in `<Channel>`, then mark each message with `<Message>` and
68
- document its payload with `ResponseField` and `ResponseExample`:
69
-
70
- ```svelte
71
- <Channel address="/chat/{roomId}" protocol="wss" server="wss://api.example.com">
72
- <Message direction="receive" name="message.created">
73
- ## Payload
74
-
75
- <ResponseField name="body" type="string">The message text.</ResponseField>
76
- </Message>
77
-
78
- <Message direction="send" name="message.send">Send a message to the room.</Message>
79
- </Channel>
80
- ```
81
-
82
- `receive` is server-to-client, `send` is client-to-server (the AsyncAPI
83
- `publish`/`subscribe` keywords work too).
84
-
85
- ## Props
86
-
87
- ### Channel
88
-
89
- | Prop | Type | Description |
90
- | ------------- | -------- | ---------------------------------------------- |
91
- | `address` | `string` | The channel or topic, e.g. `/chat/{roomId}` |
92
- | `protocol` | `string` | `ws`, `wss`, `kafka`, `mqtt`, … (default `ws`) |
93
- | `server` | `string` | Base server URL, prepended to the address |
94
- | `description` | `string` | Short summary of the channel |
95
-
96
- ### Message
97
-
98
- | Prop | Type | Description |
99
- | ----------- | -------- | ---------------------------------------------- |
100
- | `direction` | `string` | `send` or `receive` (or `publish`/`subscribe`) |
101
- | `name` | `string` | The message name, e.g. `message.created` |
@@ -1,40 +0,0 @@
1
- ---
2
- title: AI and LLMs
3
- description: Copy page, Markdown URLs, and llms.txt.
4
- icon: file-text
5
- ---
6
-
7
- # AI and LLMs
8
-
9
- Axerity makes your docs easy to feed to a language model.
10
-
11
- ## Copy page
12
-
13
- Every page has a copy page button at the top right. The main button copies the
14
- page as clean Markdown, with the frontmatter and scripts stripped out. The
15
- dropdown has more options:
16
-
17
- - Copy page as Markdown.
18
- - View as Markdown, which opens the raw Markdown in a new tab.
19
- - Open in ChatGPT, with a prompt pointing at the page.
20
- - Open in Claude, with the same.
21
-
22
- ## Markdown URLs
23
-
24
- Every page is also served as raw Markdown at a `.md` URL. Add `.md` to any page
25
- path:
26
-
27
- ```
28
- /installation -> the rendered page
29
- /installation.md -> the raw Markdown
30
- ```
31
-
32
- These are static files, generated at build time.
33
-
34
- ## llms.txt
35
-
36
- Two files are generated for whole site ingestion, following the
37
- [llms.txt](https://llmstxt.org) convention:
38
-
39
- - `/llms.txt` is an index of every page with links to its Markdown.
40
- - `/llms-full.txt` is the full Markdown of every page in one file.