@axerity/cli 0.1.3 → 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 -194
  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 -46
  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,69 +0,0 @@
1
- ---
2
- title: Get user by username
3
- description: Return a single user.
4
- icon: user
5
- layout: api
6
- method: GET
7
- ---
8
-
9
- <script>
10
- import { Api, Endpoint, ParamField, ResponseField, RequestExample, ResponseExample, ObjectExample } from '$lib';
11
- </script>
12
-
13
- # Get user by username
14
-
15
- Get user details based on the username. Use `user1` for testing.
16
-
17
- <Api>
18
-
19
- <Endpoint method="GET" path={'/user/{username}'} baseUrl="https://petstore3.swagger.io/api/v3" />
20
-
21
- ## Path parameters
22
-
23
- <ParamField name="username" type="string" required>
24
-
25
- The name of the user to fetch.
26
-
27
- </ParamField>
28
-
29
- ## Returns
30
-
31
- Returns the [User](/api/user/user-object).
32
-
33
- <ResponseField name="id" type="integer">
34
-
35
- Unique id for the user.
36
-
37
- </ResponseField>
38
-
39
- <ResponseField name="username" type="string">
40
-
41
- The user's login name.
42
-
43
- </ResponseField>
44
-
45
- <RequestExample title="cURL">
46
-
47
- ```bash
48
- curl https://petstore3.swagger.io/api/v3/user/user1
49
- ```
50
-
51
- </RequestExample>
52
-
53
- <ResponseExample title="200 OK">
54
-
55
- ```json
56
- { "id": 10, "username": "user1", "email": "john@email.com" }
57
- ```
58
-
59
- </ResponseExample>
60
-
61
- <ResponseExample title="404 Not Found">
62
-
63
- ```json
64
- { "code": 404, "message": "User not found" }
65
- ```
66
-
67
- </ResponseExample>
68
-
69
- </Api>
@@ -1,80 +0,0 @@
1
- ---
2
- title: Log in
3
- description: Log a user into the system.
4
- icon: user
5
- layout: api
6
- method: GET
7
- ---
8
-
9
- <script>
10
- import { Api, Endpoint, ParamField, ResponseField, RequestExample, ResponseExample } from '$lib';
11
- </script>
12
-
13
- # Log in
14
-
15
- Log a user into the system. On success the response headers include rate limit
16
- and token expiry information.
17
-
18
- <Api>
19
-
20
- <Endpoint method="GET" path="/user/login" baseUrl="https://petstore3.swagger.io/api/v3" />
21
-
22
- ## Query parameters
23
-
24
- <ParamField name="username" type="string">
25
-
26
- The user name for login.
27
-
28
- </ParamField>
29
-
30
- <ParamField name="password" type="string">
31
-
32
- The password for login in clear text.
33
-
34
- </ParamField>
35
-
36
- ## Returns
37
-
38
- <ResponseField name="token" type="string">
39
-
40
- A session token, returned as the response body.
41
-
42
- </ResponseField>
43
-
44
- <ResponseField name="X-Rate-Limit" type="integer">
45
-
46
- Calls per hour allowed for the user. Returned as a response header.
47
-
48
- </ResponseField>
49
-
50
- <ResponseField name="X-Expires-After" type="string">
51
-
52
- The date in UTC when the token expires. Returned as a response header.
53
-
54
- </ResponseField>
55
-
56
- <RequestExample title="cURL">
57
-
58
- ```bash
59
- curl "https://petstore3.swagger.io/api/v3/user/login?username=theUser&password=12345"
60
- ```
61
-
62
- </RequestExample>
63
-
64
- <ResponseExample title="200 OK">
65
-
66
- ```json
67
- "logged in user session: 1640995200000"
68
- ```
69
-
70
- </ResponseExample>
71
-
72
- <ResponseExample title="400 Bad Request">
73
-
74
- ```json
75
- { "code": 400, "message": "Invalid username/password supplied" }
76
- ```
77
-
78
- </ResponseExample>
79
-
80
- </Api>
@@ -1,45 +0,0 @@
1
- ---
2
- title: Log out
3
- description: Log out the current session.
4
- icon: user
5
- layout: api
6
- method: GET
7
- ---
8
-
9
- <script>
10
- import { Api, Endpoint, ResponseField, RequestExample, ResponseExample } from '$lib';
11
- </script>
12
-
13
- # Log out
14
-
15
- Log the current user out of the system.
16
-
17
- <Api>
18
-
19
- <Endpoint method="GET" path="/user/logout" baseUrl="https://petstore3.swagger.io/api/v3" />
20
-
21
- ## Returns
22
-
23
- <ResponseField name="code" type="integer">
24
-
25
- The HTTP status code of the result.
26
-
27
- </ResponseField>
28
-
29
- <RequestExample title="cURL">
30
-
31
- ```bash
32
- curl https://petstore3.swagger.io/api/v3/user/logout
33
- ```
34
-
35
- </RequestExample>
36
-
37
- <ResponseExample title="200 OK">
38
-
39
- ```json
40
- { "code": 200, "message": "ok" }
41
- ```
42
-
43
- </ResponseExample>
44
-
45
- </Api>
@@ -1,14 +0,0 @@
1
- {
2
- "title": "User",
3
- "icon": "user",
4
- "pages": [
5
- "user-object",
6
- "create-user",
7
- "create-with-list",
8
- "login",
9
- "logout",
10
- "get-user",
11
- "update-user",
12
- "delete-user"
13
- ]
14
- }
@@ -1,69 +0,0 @@
1
- ---
2
- title: Update a user
3
- description: Update an existing user.
4
- icon: user
5
- layout: api
6
- method: PUT
7
- ---
8
-
9
- <script>
10
- import { Api, Endpoint, ParamField, ResponseField, RequestExample, ResponseExample } from '$lib';
11
- </script>
12
-
13
- # Update a user
14
-
15
- This can only be done by a logged in user.
16
-
17
- <Api>
18
-
19
- <Endpoint method="PUT" path={'/user/{username}'} baseUrl="https://petstore3.swagger.io/api/v3" />
20
-
21
- ## Path parameters
22
-
23
- <ParamField name="username" type="string" required>
24
-
25
- The name of the user to update.
26
-
27
- </ParamField>
28
-
29
- ## Body parameters
30
-
31
- <ParamField name="email" type="string">
32
-
33
- The user's email address.
34
-
35
- </ParamField>
36
-
37
- <ParamField name="password" type="string">
38
-
39
- The user's password.
40
-
41
- </ParamField>
42
-
43
- ## Returns
44
-
45
- <ResponseField name="code" type="integer">
46
-
47
- The HTTP status code of the result.
48
-
49
- </ResponseField>
50
-
51
- <RequestExample title="cURL">
52
-
53
- ```bash
54
- curl -X PUT https://petstore3.swagger.io/api/v3/user/theUser \
55
- -H "Content-Type: application/json" \
56
- -d '{ "email": "new@email.com" }'
57
- ```
58
-
59
- </RequestExample>
60
-
61
- <ResponseExample title="200 OK">
62
-
63
- ```json
64
- { "code": 200, "message": "ok" }
65
- ```
66
-
67
- </ResponseExample>
68
-
69
- </Api>
@@ -1,85 +0,0 @@
1
- ---
2
- title: The User object
3
- description: The shape of a User resource.
4
- icon: user
5
- layout: api
6
- ---
7
-
8
- <script>
9
- import { Api, ResponseField, ObjectExample } from '$lib';
10
- </script>
11
-
12
- # The User object
13
-
14
- A User is an account in the store.
15
-
16
- <Api>
17
-
18
- ## Attributes
19
-
20
- <ResponseField name="id" type="integer">
21
-
22
- Unique id for the user.
23
-
24
- </ResponseField>
25
-
26
- <ResponseField name="username" type="string">
27
-
28
- The user's login name.
29
-
30
- </ResponseField>
31
-
32
- <ResponseField name="firstName" type="string">
33
-
34
- The user's first name.
35
-
36
- </ResponseField>
37
-
38
- <ResponseField name="lastName" type="string">
39
-
40
- The user's last name.
41
-
42
- </ResponseField>
43
-
44
- <ResponseField name="email" type="string">
45
-
46
- The user's email address.
47
-
48
- </ResponseField>
49
-
50
- <ResponseField name="password" type="string">
51
-
52
- The user's password.
53
-
54
- </ResponseField>
55
-
56
- <ResponseField name="phone" type="string">
57
-
58
- The user's phone number.
59
-
60
- </ResponseField>
61
-
62
- <ResponseField name="userStatus" type="integer">
63
-
64
- The user status.
65
-
66
- </ResponseField>
67
-
68
- <ObjectExample title="The User object">
69
-
70
- ```json
71
- {
72
- "id": 10,
73
- "username": "theUser",
74
- "firstName": "John",
75
- "lastName": "James",
76
- "email": "john@email.com",
77
- "password": "12345",
78
- "phone": "12345",
79
- "userStatus": 1
80
- }
81
- ```
82
-
83
- </ObjectExample>
84
-
85
- </Api>
@@ -1,44 +0,0 @@
1
- ---
2
- title: Changelog
3
- description: What's new in Axerity.
4
- icon: history
5
- date: 2026-06-01
6
- updated: 2026-06-01
7
- ---
8
-
9
- <script>
10
- import { Update, Badge } from '$lib';
11
- </script>
12
-
13
- # Changelog
14
-
15
- Every notable change, newest first.
16
-
17
- <Update label="v1.0.0" date="June 1, 2026">
18
-
19
- The first stable release. <Badge color="success">stable</Badge>
20
-
21
- - Component kit: callouts, cards, accordions, tabs, code groups, steps, columns, badges, roadmaps, and type tables.
22
- - Media: framed images with click to zoom, video embeds, and inline icons.
23
- - API docs: generate a full reference from an OpenAPI spec, plus webhook and WebSocket components.
24
- - Versioned content with a switcher that follows the reader across versions.
25
- - The `axerity` CLI: `init`, `dev`, `build`, and `preview`, so there is nothing to clone.
26
- - Mermaid diagrams, Twoslash type hovers, and YAML highlighting.
27
- - Build-time search, an RSS feed, and edit links on every page.
28
-
29
- </Update>
30
-
31
- <Update label="v0.9.0" date="May 15, 2026">
32
-
33
- Release candidate. <Badge color="info">beta</Badge>
34
-
35
- - Config-driven logo, banner, footer, and social links.
36
- - Dropdown navigation with per-area sidebar tabs.
37
-
38
- </Update>
39
-
40
- <Update label="v0.5.0" date="April 2, 2026">
41
-
42
- - First public preview with Markdown rendering, dark mode, and the flat layout.
43
-
44
- </Update>
@@ -1,70 +0,0 @@
1
- ---
2
- title: Accordion
3
- description: Collapsible sections for FAQs and progressive disclosure.
4
- icon: list
5
- ---
6
-
7
- <script>
8
- import { Accordion, AccordionGroup } from '$lib';
9
- </script>
10
-
11
- # Accordion
12
-
13
- Accordions hide secondary content until it's needed, perfect for FAQs, optional
14
- details, and long reference material.
15
-
16
- ## Single accordion
17
-
18
- <Accordion title="What is Axerity?">
19
-
20
- Axerity is a documentation site generator for Svelte. You write Markdown and get a
21
- fast static site.
22
-
23
- </Accordion>
24
-
25
- ## Grouped
26
-
27
- Wrap multiple accordions in an `<AccordionGroup>` to render them as connected
28
- rows. Pass `open` to expand one by default, and `icon` for a Lucide glyph.
29
-
30
- <AccordionGroup>
31
- <Accordion title="Installation" icon="download" open>
32
-
33
- Run `pnpm install` then `pnpm dev`. See [Installation](/installation) for
34
- the full walkthrough.
35
-
36
- </Accordion>
37
- <Accordion title="Writing content" icon="pencil-line">
38
-
39
- Drop Markdown files into `src/content/docs`. Folders become sidebar sections.
40
-
41
- </Accordion>
42
- <Accordion title="Components" icon="blocks">
43
-
44
- Import kit components in a page's `<script>` block and use them inline.
45
-
46
- </Accordion>
47
-
48
- </AccordionGroup>
49
-
50
- ## Usage
51
-
52
- ```svelte
53
- <script>
54
- import { Accordion, AccordionGroup } from '$lib';
55
- </script>
56
-
57
- <AccordionGroup>
58
- <Accordion title="Installation" icon="download" open>
59
- Run `pnpm install` then `pnpm dev`.
60
- </Accordion>
61
- </AccordionGroup>
62
- ```
63
-
64
- ## Props
65
-
66
- | Prop | Type | Description |
67
- | ------- | --------- | -------------------------------- |
68
- | `title` | `string` | Header text (required) |
69
- | `icon` | `string` | Optional Lucide icon name |
70
- | `open` | `boolean` | Expand by default (uncontrolled) |
@@ -1,185 +0,0 @@
1
- ---
2
- title: API components
3
- description: Document REST endpoints with fields, examples, and schemas.
4
- icon: code
5
- ---
6
-
7
- <script>
8
- import { Api, Endpoint, ParamField, ResponseField, RequestExample, ResponseExample, ObjectExample, Expandable, EnumValues, Enum } from '$lib';
9
- </script>
10
-
11
- # API components
12
-
13
- These components build a reference for a REST API. Set `layout: api` in the page
14
- frontmatter to get the wide, two-column layout where examples sit in a sticky
15
- rail on the right.
16
-
17
- ## Writing an API page
18
-
19
- Here is a complete page. Set `layout: api`, import the components you need, wrap
20
- the body in `<Api>`, and leave blank lines around each component so the Markdown
21
- inside is parsed:
22
-
23
- ````md
24
- ---
25
- title: Create a pet
26
- layout: api
27
- method: POST
28
- ---
29
-
30
- <script>
31
- import { Api, Endpoint, ParamField, ResponseField, RequestExample, ResponseExample, EnumValues, Enum } from '$lib';
32
- </script>
33
-
34
- # Create a pet
35
-
36
- <Api>
37
-
38
- <Endpoint method="POST" path="/pets" baseUrl="https://api.example.com/v1" />
39
-
40
- ## Body parameters
41
-
42
- <ParamField name="name" type="string" required>
43
-
44
- The pet's name.
45
-
46
- </ParamField>
47
-
48
- <ParamField name="status" type="string" default="available">
49
-
50
- <EnumValues>
51
- <Enum value="available">Ready to be adopted.</Enum>
52
- <Enum value="pending">Adoption in progress.</Enum>
53
- </EnumValues>
54
-
55
- </ParamField>
56
-
57
- ## Returns
58
-
59
- <ResponseField name="id" type="integer">
60
-
61
- The unique id of the created pet.
62
-
63
- </ResponseField>
64
-
65
- <RequestExample title="cURL">
66
-
67
- ```bash
68
- curl -X POST https://api.example.com/v1/pets -d '{ "name": "Rex" }'
69
- ```
70
-
71
- </RequestExample>
72
-
73
- <ResponseExample title="201 Created">
74
-
75
- ```json
76
- { "id": 10, "name": "Rex", "status": "available" }
77
- ```
78
-
79
- </ResponseExample>
80
-
81
- </Api>
82
- ````
83
-
84
- A few things to know:
85
-
86
- - The `method` in frontmatter is what shows as the colored badge in the sidebar.
87
- - Headings (`## Body parameters`) become the section labels; the fields below
88
- each heading line up with the example rail on the right.
89
- - For a path parameter in braces, write it as an expression so Svelte does not
90
- treat it as markup: `path={'/pets/{petId}'}`.
91
-
92
- That page renders like the example below.
93
-
94
- ## Example
95
-
96
- <Api>
97
-
98
- <Endpoint method="POST" path="/pets" baseUrl="https://api.example.com/v1" />
99
-
100
- ## Body parameters
101
-
102
- <ParamField name="name" type="string" required>
103
-
104
- The pet's name.
105
-
106
- </ParamField>
107
-
108
- <ParamField name="status" type="string" default="available">
109
-
110
- <EnumValues>
111
- <Enum value="available">Ready to be adopted.</Enum>
112
- <Enum value="pending">Adoption in progress.</Enum>
113
- </EnumValues>
114
-
115
- </ParamField>
116
-
117
- ## Returns
118
-
119
- <ResponseField name="id" type="integer">
120
-
121
- The unique id of the created pet.
122
-
123
- </ResponseField>
124
-
125
- <RequestExample title="cURL">
126
-
127
- ```bash
128
- curl -X POST https://api.example.com/v1/pets -d '{ "name": "Rex" }'
129
- ```
130
-
131
- </RequestExample>
132
-
133
- <ResponseExample title="201 Created">
134
-
135
- ```json
136
- { "id": 10, "name": "Rex", "status": "available" }
137
- ```
138
-
139
- </ResponseExample>
140
-
141
- </Api>
142
-
143
- ## Components
144
-
145
- | Component | Purpose |
146
- | ------------------------------------ | -------------------------------------------------- |
147
- | `Api` | Wraps a page so examples float into the right rail |
148
- | `Endpoint` | The method + path header with a copy button |
149
- | `ParamField` / `ResponseField` | A single parameter or response field |
150
- | `RequestExample` / `ResponseExample` | A titled code example in the rail |
151
- | `ObjectExample` | A titled object/schema example in the rail |
152
- | `Expandable` | A collapsible group for nested fields |
153
- | `EnumValues` / `Enum` | A list of allowed values for a field |
154
-
155
- ## Endpoint
156
-
157
- | Prop | Type | Description |
158
- | --------- | -------- | ------------------------------------------- |
159
- | `method` | `string` | HTTP method (default `GET`) |
160
- | `path` | `string` | Request path; `{param}` segments are styled |
161
- | `baseUrl` | `string` | Base URL shown before the path |
162
-
163
- Path parameters in braces need an expression so Svelte does not read them as
164
- markup: `path={'/pets/{petId}'}`.
165
-
166
- ## ParamField and ResponseField
167
-
168
- | Prop | Type | Description |
169
- | ------------ | --------- | -------------------------------- |
170
- | `name` | `string` | Field name (required) |
171
- | `type` | `string` | Field type, for example `string` |
172
- | `typeLink` | `string` | Link the type to another page |
173
- | `required` | `boolean` | Mark the field required |
174
- | `deprecated` | `boolean` | Mark the field deprecated |
175
- | `default` | `string` | Default value |
176
-
177
- The content between the tags is the field's description, and can hold nested
178
- `Expandable` groups or an `EnumValues` list.
179
-
180
- ## Examples in the rail
181
-
182
- `RequestExample`, `ResponseExample`, and `ObjectExample` each take an optional
183
- `title` and render in the right-hand rail next to the fields they describe.
184
- `Expandable` takes a `title` and an `open` boolean. `Enum` takes the allowed
185
- `value`.
@@ -1,34 +0,0 @@
1
- ---
2
- title: Badge
3
- description: Small inline labels for status and tags.
4
- icon: tag
5
- ---
6
-
7
- <script>
8
- import { Badge } from '$lib';
9
- </script>
10
-
11
- # Badge
12
-
13
- A badge is a small pill you can drop inline to label something, a status, a
14
- version, or a tag. It sits on the text baseline so it reads inside a sentence.
15
-
16
- ## Colors
17
-
18
- Stripe is <Badge color="success">live</Badge>, billing is <Badge color="warn">in review</Badge>, and the old API is <Badge color="error">deprecated</Badge>. Use <Badge color="info">info</Badge> or the default <Badge>neutral</Badge> for everything else.
19
-
20
- ## Usage
21
-
22
- ```svelte
23
- <script>
24
- import { Badge } from '$lib';
25
- </script>
26
-
27
- The new endpoint is <Badge color="success">stable</Badge>.
28
- ```
29
-
30
- ## Props
31
-
32
- | Prop | Type | Description |
33
- | ------- | -------- | ------------------------------------------------ |
34
- | `color` | `string` | `neutral`, `info`, `success`, `warn`, or `error` |