@axerity/cli 0.1.4 → 0.2.1

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 (340) hide show
  1. package/bin/axerity.js +70 -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/Dt_5ZQE2.js +1 -0
  80. package/dist/client/_app/immutable/chunks/ED9-GWAc2.js +10 -0
  81. package/dist/client/_app/immutable/chunks/FqbQrHcz2.js +321 -0
  82. package/dist/client/_app/immutable/chunks/O1MNaiG9.js +3 -0
  83. package/dist/client/_app/immutable/chunks/PLsDE8Xa.js +24 -0
  84. package/dist/client/_app/immutable/chunks/PwGqCEPd.js +106 -0
  85. package/dist/client/_app/immutable/chunks/QmWylQL4.js +96 -0
  86. package/dist/client/_app/immutable/chunks/SbORYBuH.js +1 -0
  87. package/dist/client/_app/immutable/chunks/Vhh-h91d.js +257 -0
  88. package/dist/client/_app/immutable/chunks/Y3d8lUBM.js +120 -0
  89. package/dist/client/_app/immutable/chunks/aheLp5ES.js +32 -0
  90. package/dist/client/_app/immutable/chunks/dcFrWhgf.js +1 -0
  91. package/dist/client/_app/immutable/chunks/dqbyyLvi2.js +10 -0
  92. package/dist/client/_app/immutable/chunks/hFfQmBrk2.js +1 -0
  93. package/dist/client/_app/immutable/chunks/mktnrgVa.js +1 -0
  94. package/dist/client/_app/immutable/chunks/qD2cSsUD2.js +1 -0
  95. package/dist/client/_app/immutable/chunks/v-V-aVm52.js +43 -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.D6KBNU0y.js +2 -0
  99. package/dist/client/_app/immutable/entry/start.CQdeQUt-.js +1 -0
  100. package/dist/client/_app/immutable/nodes/0.DBZ13WOO.js +1 -0
  101. package/dist/client/_app/immutable/nodes/1.B_AZbN4M.js +1 -0
  102. package/dist/client/_app/immutable/nodes/2.OqcLisIf.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-oTZ8HCk-.js +40 -0
  108. package/dist/server/chunks/0-oTZ8HCk-.js.map +1 -0
  109. package/dist/server/chunks/1-nu6YvZRQ.js +9 -0
  110. package/dist/server/chunks/1-nu6YvZRQ.js.map +1 -0
  111. package/dist/server/chunks/2-YpqcBGyH.js +54 -0
  112. package/dist/server/chunks/2-YpqcBGyH.js.map +1 -0
  113. package/dist/server/chunks/Icon-D37LtZZG.js +186 -0
  114. package/dist/server/chunks/Icon-D37LtZZG.js.map +1 -0
  115. package/dist/server/chunks/_error.svelte-NKP81ks-.js +48 -0
  116. package/dist/server/chunks/_error.svelte-NKP81ks-.js.map +1 -0
  117. package/dist/server/chunks/_layout.svelte-2Eq-_AqW.js +31 -0
  118. package/dist/server/chunks/_layout.svelte-2Eq-_AqW.js.map +1 -0
  119. package/dist/server/chunks/_page.svelte-Chjw6C-d.js +2206 -0
  120. package/dist/server/chunks/_page.svelte-Chjw6C-d.js.map +1 -0
  121. package/dist/server/chunks/_server.ts-5K31OG2_.js +31 -0
  122. package/dist/server/chunks/_server.ts-5K31OG2_.js.map +1 -0
  123. package/dist/server/chunks/_server.ts-BRaXDyO1.js +29 -0
  124. package/dist/server/chunks/_server.ts-BRaXDyO1.js.map +1 -0
  125. package/dist/server/chunks/_server.ts-BuDGLKUC.js +213 -0
  126. package/dist/server/chunks/_server.ts-BuDGLKUC.js.map +1 -0
  127. package/dist/server/chunks/_server.ts-Bx1daJ1-.js +53 -0
  128. package/dist/server/chunks/_server.ts-Bx1daJ1-.js.map +1 -0
  129. package/dist/server/chunks/_server.ts-By7FRFNB.js +37 -0
  130. package/dist/server/chunks/_server.ts-By7FRFNB.js.map +1 -0
  131. package/dist/server/chunks/_server.ts-DIxsjlQ0.js +32 -0
  132. package/dist/server/chunks/_server.ts-DIxsjlQ0.js.map +1 -0
  133. package/dist/server/chunks/_server.ts-Dgpc__Yz.js +41 -0
  134. package/dist/server/chunks/_server.ts-Dgpc__Yz.js.map +1 -0
  135. package/dist/server/chunks/_server.ts-kWOJv5IZ.js +26 -0
  136. package/dist/server/chunks/_server.ts-kWOJv5IZ.js.map +1 -0
  137. package/dist/server/chunks/content-store-DV5Rlfo3.js +5252 -0
  138. package/dist/server/chunks/content-store-DV5Rlfo3.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-C0PApeP1.js +758 -0
  142. package/dist/server/chunks/exports-C0PApeP1.js.map +1 -0
  143. package/dist/server/chunks/hooks.server-BnfZljxX.js +42 -0
  144. package/dist/server/chunks/hooks.server-BnfZljxX.js.map +1 -0
  145. package/dist/server/chunks/internal-pc3wKdix.js +5374 -0
  146. package/dist/server/chunks/internal-pc3wKdix.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-CmugjRXT.js +57 -0
  150. package/dist/server/chunks/site-CmugjRXT.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 +58 -0
  158. package/runtime/preview.js +42 -0
  159. package/runtime/serve.js +78 -0
  160. package/runtime/static.js +76 -0
  161. package/mdsvex.config.js +0 -261
  162. package/scripts/prepare-engine.mjs +0 -20
  163. package/src/app.d.ts +0 -17
  164. package/src/app.html +0 -39
  165. package/src/content/demo/api/meta.json +0 -5
  166. package/src/content/demo/api/pet/add-pet.md +0 -105
  167. package/src/content/demo/api/pet/delete-pet.md +0 -70
  168. package/src/content/demo/api/pet/find-by-status.md +0 -72
  169. package/src/content/demo/api/pet/find-by-tags.md +0 -64
  170. package/src/content/demo/api/pet/get-pet.md +0 -99
  171. package/src/content/demo/api/pet/meta.json +0 -15
  172. package/src/content/demo/api/pet/pet-object.md +0 -112
  173. package/src/content/demo/api/pet/update-pet-with-form.md +0 -69
  174. package/src/content/demo/api/pet/update-pet.md +0 -79
  175. package/src/content/demo/api/pet/upload-image.md +0 -79
  176. package/src/content/demo/api/store/delete-order.md +0 -62
  177. package/src/content/demo/api/store/get-order.md +0 -70
  178. package/src/content/demo/api/store/inventory.md +0 -54
  179. package/src/content/demo/api/store/meta.json +0 -5
  180. package/src/content/demo/api/store/order-object.md +0 -77
  181. package/src/content/demo/api/store/place-order.md +0 -83
  182. package/src/content/demo/api/user/create-user.md +0 -69
  183. package/src/content/demo/api/user/create-with-list.md +0 -57
  184. package/src/content/demo/api/user/delete-user.md +0 -61
  185. package/src/content/demo/api/user/get-user.md +0 -69
  186. package/src/content/demo/api/user/login.md +0 -80
  187. package/src/content/demo/api/user/logout.md +0 -45
  188. package/src/content/demo/api/user/meta.json +0 -14
  189. package/src/content/demo/api/user/update-user.md +0 -69
  190. package/src/content/demo/api/user/user-object.md +0 -85
  191. package/src/content/demo/changelog.md +0 -44
  192. package/src/content/demo/components/accordion.md +0 -70
  193. package/src/content/demo/components/api.md +0 -185
  194. package/src/content/demo/components/badge.md +0 -34
  195. package/src/content/demo/components/callout.md +0 -83
  196. package/src/content/demo/components/cards.md +0 -88
  197. package/src/content/demo/components/code-group.md +0 -55
  198. package/src/content/demo/components/columns.md +0 -42
  199. package/src/content/demo/components/frame.md +0 -51
  200. package/src/content/demo/components/icon.md +0 -54
  201. package/src/content/demo/components/kbd.md +0 -28
  202. package/src/content/demo/components/meta.json +0 -26
  203. package/src/content/demo/components/roadmap.md +0 -86
  204. package/src/content/demo/components/steps.md +0 -72
  205. package/src/content/demo/components/tabs.md +0 -146
  206. package/src/content/demo/components/tooltip.md +0 -44
  207. package/src/content/demo/components/tree.md +0 -83
  208. package/src/content/demo/components/type-table.md +0 -77
  209. package/src/content/demo/components/update.md +0 -48
  210. package/src/content/demo/components/video.md +0 -56
  211. package/src/content/demo/components/webhooks.md +0 -109
  212. package/src/content/demo/components/websockets.md +0 -101
  213. package/src/content/demo/configuration/ai.md +0 -40
  214. package/src/content/demo/configuration/cli.md +0 -48
  215. package/src/content/demo/configuration/deployment.md +0 -105
  216. package/src/content/demo/configuration/index.md +0 -92
  217. package/src/content/demo/configuration/layouts.md +0 -51
  218. package/src/content/demo/configuration/meta.json +0 -5
  219. package/src/content/demo/configuration/navigation.md +0 -167
  220. package/src/content/demo/configuration/openapi.md +0 -103
  221. package/src/content/demo/configuration/search.md +0 -36
  222. package/src/content/demo/index.md +0 -59
  223. package/src/content/demo/installation.md +0 -66
  224. package/src/content/demo/meta.json +0 -15
  225. package/src/content/demo/quick-start.md +0 -47
  226. package/src/content/demo/theming/advanced.md +0 -116
  227. package/src/content/demo/theming/code.md +0 -66
  228. package/src/content/demo/theming/colors.md +0 -103
  229. package/src/content/demo/theming/index.md +0 -88
  230. package/src/content/demo/theming/layout.md +0 -71
  231. package/src/content/demo/theming/meta.json +0 -5
  232. package/src/content/demo/theming/themes.md +0 -99
  233. package/src/content/demo/theming/typography.md +0 -83
  234. package/src/content/demo/writing/code-blocks.md +0 -154
  235. package/src/content/demo/writing/diagrams.md +0 -44
  236. package/src/content/demo/writing/frontmatter.md +0 -33
  237. package/src/content/demo/writing/markdown.md +0 -62
  238. package/src/content/demo/writing/meta.json +0 -5
  239. package/src/hooks.server.ts +0 -49
  240. package/src/lib/assets/favicon.svg +0 -1
  241. package/src/lib/base.ts +0 -12
  242. package/src/lib/components/DynamicIcon.svelte +0 -41
  243. package/src/lib/components/docs/Analytics.svelte +0 -38
  244. package/src/lib/components/docs/Banner.svelte +0 -44
  245. package/src/lib/components/docs/Breadcrumbs.svelte +0 -38
  246. package/src/lib/components/docs/CopyPageMenu.svelte +0 -119
  247. package/src/lib/components/docs/DocsLayout.svelte +0 -192
  248. package/src/lib/components/docs/Footer.svelte +0 -60
  249. package/src/lib/components/docs/Mermaid.svelte +0 -39
  250. package/src/lib/components/docs/Navbar.svelte +0 -144
  251. package/src/lib/components/docs/PageMeta.svelte +0 -35
  252. package/src/lib/components/docs/PageNav.svelte +0 -44
  253. package/src/lib/components/docs/SearchDialog.svelte +0 -182
  254. package/src/lib/components/docs/Sidebar.svelte +0 -85
  255. package/src/lib/components/docs/SidebarDropdown.svelte +0 -56
  256. package/src/lib/components/docs/SidebarFooterLinks.svelte +0 -19
  257. package/src/lib/components/docs/SidebarGroup.svelte +0 -54
  258. package/src/lib/components/docs/SidebarLink.svelte +0 -67
  259. package/src/lib/components/docs/TableOfContents.svelte +0 -77
  260. package/src/lib/components/docs/ThemeToggle.svelte +0 -19
  261. package/src/lib/components/docs/VersionSwitcher.svelte +0 -80
  262. package/src/lib/components/kit/Accordion.svelte +0 -60
  263. package/src/lib/components/kit/AccordionGroup.svelte +0 -13
  264. package/src/lib/components/kit/Badge.svelte +0 -32
  265. package/src/lib/components/kit/Callout.svelte +0 -51
  266. package/src/lib/components/kit/Card.svelte +0 -72
  267. package/src/lib/components/kit/CardGroup.svelte +0 -21
  268. package/src/lib/components/kit/CodeGroup.svelte +0 -65
  269. package/src/lib/components/kit/Columns.svelte +0 -26
  270. package/src/lib/components/kit/Event.svelte +0 -23
  271. package/src/lib/components/kit/EventList.svelte +0 -9
  272. package/src/lib/components/kit/File.svelte +0 -15
  273. package/src/lib/components/kit/Folder.svelte +0 -46
  274. package/src/lib/components/kit/Frame.svelte +0 -81
  275. package/src/lib/components/kit/Icon.svelte +0 -17
  276. package/src/lib/components/kit/Kbd.svelte +0 -11
  277. package/src/lib/components/kit/Roadmap.svelte +0 -15
  278. package/src/lib/components/kit/RoadmapItem.svelte +0 -109
  279. package/src/lib/components/kit/Step.svelte +0 -63
  280. package/src/lib/components/kit/Steps.svelte +0 -16
  281. package/src/lib/components/kit/Tab.svelte +0 -27
  282. package/src/lib/components/kit/Tabs.svelte +0 -75
  283. package/src/lib/components/kit/Tooltip.svelte +0 -33
  284. package/src/lib/components/kit/Tree.svelte +0 -11
  285. package/src/lib/components/kit/TypeTable.svelte +0 -187
  286. package/src/lib/components/kit/Update.svelte +0 -32
  287. package/src/lib/components/kit/Video.svelte +0 -64
  288. package/src/lib/components/kit/accordion-context.ts +0 -1
  289. package/src/lib/components/kit/api/Api.svelte +0 -80
  290. package/src/lib/components/kit/api/ApiExamplePanel.svelte +0 -100
  291. package/src/lib/components/kit/api/ApiField.svelte +0 -124
  292. package/src/lib/components/kit/api/Channel.svelte +0 -121
  293. package/src/lib/components/kit/api/Endpoint.svelte +0 -116
  294. package/src/lib/components/kit/api/Enum.svelte +0 -44
  295. package/src/lib/components/kit/api/EnumValues.svelte +0 -35
  296. package/src/lib/components/kit/api/Expandable.svelte +0 -70
  297. package/src/lib/components/kit/api/Message.svelte +0 -67
  298. package/src/lib/components/kit/api/ObjectExample.svelte +0 -11
  299. package/src/lib/components/kit/api/RequestExample.svelte +0 -11
  300. package/src/lib/components/kit/api/ResponseExample.svelte +0 -11
  301. package/src/lib/components/kit/api/Webhook.svelte +0 -115
  302. package/src/lib/components/kit/api/api-context.ts +0 -15
  303. package/src/lib/components/kit/tabs-context.ts +0 -8
  304. package/src/lib/components/kit/tabs-store.svelte.ts +0 -28
  305. package/src/lib/config/site.ts +0 -34
  306. package/src/lib/content/index.ts +0 -50
  307. package/src/lib/content/raw.ts +0 -21
  308. package/src/lib/content/tree.ts +0 -169
  309. package/src/lib/index.ts +0 -79
  310. package/src/lib/nav-match.ts +0 -23
  311. package/src/lib/openapi/generate.ts +0 -629
  312. package/src/lib/server/og.ts +0 -140
  313. package/src/lib/state/search.svelte.ts +0 -9
  314. package/src/lib/state/theme.svelte.ts +0 -58
  315. package/src/lib/types.ts +0 -216
  316. package/src/params/docpage.ts +0 -3
  317. package/src/params/mdfile.ts +0 -3
  318. package/src/routes/+error.svelte +0 -46
  319. package/src/routes/+layout.svelte +0 -25
  320. package/src/routes/[...path=mdfile]/+server.ts +0 -21
  321. package/src/routes/[...slug=docpage]/+page.svelte +0 -63
  322. package/src/routes/[...slug=docpage]/+page.ts +0 -44
  323. package/src/routes/layout.css +0 -897
  324. package/src/routes/llms-full.txt/+server.ts +0 -22
  325. package/src/routes/llms.txt/+server.ts +0 -20
  326. package/src/routes/og/[...slug]/+server.ts +0 -77
  327. package/src/routes/rss.xml/+server.ts +0 -65
  328. package/src/routes/search.json/+server.ts +0 -54
  329. package/src/routes/sitemap.xml/+server.ts +0 -21
  330. package/svelte.config.js +0 -35
  331. package/tsconfig.json +0 -20
  332. package/vite.config.ts +0 -67
  333. /package/{static → dist/client}/favicon-dark.svg +0 -0
  334. /package/{static → dist/client}/favicon-light.svg +0 -0
  335. /package/{static → dist/client}/favicon.svg +0 -0
  336. /package/{static → dist/client}/fonts/geist-400.ttf +0 -0
  337. /package/{static → dist/client}/fonts/geist-600.ttf +0 -0
  338. /package/{static → dist/client}/fonts/geist-700.ttf +0 -0
  339. /package/{static → dist/client}/og-image.png +0 -0
  340. /package/{static → dist/client}/robots.txt +0 -0
@@ -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.
@@ -1,48 +0,0 @@
1
- ---
2
- title: CLI
3
- description: The axerity command.
4
- icon: code
5
- ---
6
-
7
- # CLI
8
-
9
- The `axerity` command scaffolds, runs, and builds your site. It carries the whole
10
- engine, so your project only holds content and config.
11
-
12
- ## Commands
13
-
14
- ```bash
15
- axerity init [dir] # scaffold a new site (defaults to the current folder)
16
- axerity dev # start the dev server
17
- axerity build # build the static site
18
- axerity preview # preview the production build
19
- ```
20
-
21
- Run them with `pnpm dlx @axerity/cli <command>` (or `npx @axerity/cli <command>`),
22
- or add `@axerity/cli` as a dev dependency and call `axerity` through your scripts.
23
-
24
- ## init
25
-
26
- `axerity init my-docs` creates a starter site: an `axerity.json`, a `docs/`
27
- folder with a couple of pages and a `meta.json`, and a `.gitignore`. Leave off
28
- the folder name to scaffold into the current directory.
29
-
30
- ## dev
31
-
32
- `axerity dev` serves your site with live reload. Editing a Markdown file or
33
- `axerity.json` updates the browser immediately. Pass through any Vite flag, for
34
- example `axerity dev --port 4000`.
35
-
36
- ## build
37
-
38
- `axerity build` produces a static site in `build/`. Every page is prerendered to
39
- HTML, and the search index, `llms.txt`, sitemap, RSS feed, and OpenGraph images
40
- are all written out, ready to host anywhere.
41
-
42
- ## How it works
43
-
44
- The engine runs from its own install, not from your repo. When you run a command,
45
- Axerity reads your `docs/` and `axerity.json` and renders against them, then
46
- writes the result to `build/` in your project. Your content is the source of
47
- truth and nothing else in your folder is touched, so there is no workspace to
48
- gitignore beyond `build/`.
@@ -1,105 +0,0 @@
1
- ---
2
- title: Deployment
3
- description: Build and host your docs.
4
- icon: rocket
5
- ---
6
-
7
- # Deployment
8
-
9
- `axerity build` writes a plain folder of static files to `build/`. Every page is
10
- prerendered to HTML, and the search index, `.md` URLs, `llms.txt`, sitemap, RSS
11
- feed, and OpenGraph images are all written out. Any static host can serve it, no
12
- server required.
13
-
14
- ```bash
15
- axerity build # -> build/
16
- ```
17
-
18
- Most hosts write `.html` files (`installation.html`) but link to clean URLs
19
- (`/installation`), so the one thing to get right per host is **clean URL**
20
- handling. Each guide below covers it.
21
-
22
- ## Vercel
23
-
24
- Add a `vercel.json` so Vercel serves the static output instead of looking for a
25
- SvelteKit server build:
26
-
27
- ```json title="vercel.json"
28
- {
29
- "framework": null,
30
- "buildCommand": "axerity build",
31
- "outputDirectory": "build",
32
- "cleanUrls": true
33
- }
34
- ```
35
-
36
- Push the repo and Vercel does the rest. If pages still 404, open Project →
37
- Settings and set the Framework Preset to **Other**.
38
-
39
- ## Cloudflare Pages
40
-
41
- In the Pages project settings:
42
-
43
- - **Build command:** `npx @axerity/cli build`
44
- - **Build output directory:** `build`
45
- - **Framework preset:** None
46
-
47
- Cloudflare serves clean URLs automatically.
48
-
49
- ## Netlify
50
-
51
- ```toml title="netlify.toml"
52
- [build]
53
- command = "npx @axerity/cli build"
54
- publish = "build"
55
- ```
56
-
57
- Netlify serves clean URLs (pretty URLs) by default.
58
-
59
- ## GitHub Pages
60
-
61
- Build, then publish the `build/` folder (for example with a GitHub Action that
62
- runs `npx @axerity/cli build` and uploads `build/` as the Pages artifact).
63
-
64
- Project sites are served from `https://<user>.github.io/<repo>/`, a sub-path, so
65
- set the base in `axerity.json`:
66
-
67
- ```json title="axerity.json"
68
- {
69
- "basePath": "/<repo>"
70
- }
71
- ```
72
-
73
- User and organization sites (served from the domain root) need no `basePath`.
74
-
75
- ## Nginx
76
-
77
- Serve `build/` and fall back to the `.html` file for clean URLs:
78
-
79
- ```nginx
80
- server {
81
- listen 80;
82
- server_name docs.example.com;
83
- root /var/www/build;
84
-
85
- location / {
86
- try_files $uri $uri.html $uri/index.html /404.html;
87
- }
88
- }
89
- ```
90
-
91
- ## Caddy
92
-
93
- ```caddy
94
- docs.example.com {
95
- root * /var/www/build
96
- try_files {path} {path}.html {path}/index.html
97
- file_server
98
- }
99
- ```
100
-
101
- ## Any other host
102
-
103
- Upload the contents of `build/` and point the host at it. Configure two things if
104
- you can: serve `<name>.html` for `/<name>` (clean URLs), and use `404.html` as
105
- the not-found page.
@@ -1,92 +0,0 @@
1
- ---
2
- title: The config file
3
- description: Everything you set in axerity.json.
4
- icon: sliders
5
- ---
6
-
7
- # The config file
8
-
9
- The whole site is configured from one file at the project root: `axerity.json`.
10
- You never edit code to change the site. Drop in Markdown, set up your
11
- `meta.json` files for ordering, and edit `axerity.json` for everything global.
12
-
13
- ## Editor autocomplete
14
-
15
- The repo ships a JSON schema. Point your config at it on the first line and your
16
- editor gives you autocomplete and validation for every field:
17
-
18
- ```json title="axerity.json"
19
- {
20
- "$schema": "./axerity.schema.json"
21
- }
22
- ```
23
-
24
- ## A full example
25
-
26
- ```json title="axerity.json"
27
- {
28
- "$schema": "./axerity.schema.json",
29
- "name": "Axerity",
30
- "description": "A documentation site generator built with Svelte.",
31
- "url": "https://axerity.com",
32
- "github": "https://github.com/your/repo",
33
- "editLink": "https://github.com/your/repo/edit/main/src/content/docs",
34
- "theme": "stripe",
35
- "layout": "boxed",
36
- "sidebar": { "variant": "floating" },
37
- "logo": { "light": "/logo-light.svg", "dark": "/logo-dark.svg" },
38
- "og": { "enabled": true },
39
- "banner": { "text": "v1.0 is out", "href": "/docs", "id": "v1", "dismissible": true },
40
- "versions": [{ "label": "v1.0", "href": "/docs" }],
41
- "dropdowns": [
42
- {
43
- "label": "Guides",
44
- "icon": "book-open",
45
- "href": "/docs",
46
- "match": "/docs",
47
- "tabs": [{ "title": "Documentation", "href": "/docs", "match": "/docs" }]
48
- }
49
- ],
50
- "sidebarLinks": [{ "title": "Support", "href": "https://example.com/support" }],
51
- "social": [{ "icon": "rss", "href": "/rss.xml" }],
52
- "footer": { "note": "Built with Axerity", "links": [{ "title": "Status", "href": "/status" }] },
53
- "analytics": { "plausible": "axerity.com" },
54
- "topNav": [{ "title": "Docs", "href": "/docs" }]
55
- }
56
- ```
57
-
58
- ## Fields
59
-
60
- | Field | Type | What it does |
61
- | -------------- | ------------------------ | ------------------------------------------------------------------------------------------- |
62
- | `name` | string | Site name, used in the page title and navbar |
63
- | `description` | string | Site description, used for SEO and `llms.txt` |
64
- | `url` | string | Canonical site URL; enables absolute links in sitemap, RSS, and OpenGraph |
65
- | `github` | string | Repo URL, shown as the GitHub icon in the navbar and footer |
66
- | `editLink` | string | Base URL for the "Edit this page" link; the source path is appended |
67
- | `theme` | string | A built-in [theme](/theming/themes) preset |
68
- | `brand` | object | Custom `{ accent, radius }` that override the theme. See [Colors](/theming/colors) |
69
- | `layout` | string | `flat` (default) or `boxed`. See [Layouts](/configuration/layouts) |
70
- | `basePath` | string | Serve the whole site under a sub-path like `/docs`. Empty (default) is the root |
71
- | `sidebar` | object | Sidebar appearance: `{ "variant": "flush" \| "card" \| "floating" }` |
72
- | `logo` | object | Navbar logo `{ light, dark, alt, href }`. Local SVGs are inlined |
73
- | `og` | object | Per-page OpenGraph image generation `{ enabled, background, foreground, … }` |
74
- | `ogImage` | string | Static OG image path, used when `og.enabled` is off |
75
- | `banner` | object | Announcement bar `{ text, href, id, dismissible }` |
76
- | `analytics` | object | `{ plausible, googleAnalytics }` scripts injected on every page |
77
- | `topNav` | array | Fallback top nav links when no dropdowns are set |
78
- | `versions` | array | Versions shown in the navbar version switcher |
79
- | `dropdowns` | array | Areas that swap the whole sidebar. See [Navigation](/configuration/navigation) |
80
- | `openapi` | string, object, or array | Generate an API reference from an OpenAPI spec. See [API reference](/configuration/openapi) |
81
- | `sidebarLinks` | array | Links pinned to the bottom of the sidebar |
82
- | `social` | array | Social links shown in the footer `{ icon, href, label }` |
83
- | `footer` | object | Footer `{ note, links }` |
84
-
85
- Every field except `name` and `topNav` is optional. Leave a field out and the
86
- related UI does not render.
87
-
88
- ## Icons
89
-
90
- Anywhere a config field takes an `icon`, use a [Lucide](https://lucide.dev) icon
91
- name in kebab case, such as `book-open`, `credit-card`, or `git-branch`. Any
92
- Lucide icon works, so you never register icons by hand.
@@ -1,51 +0,0 @@
1
- ---
2
- title: Layouts
3
- description: Page width and the API layout.
4
- icon: layout-grid
5
- ---
6
-
7
- # Layouts
8
-
9
- ## Flat and boxed
10
-
11
- The whole shell has two modes, set with `layout` in `axerity.json`:
12
-
13
- ```json title="axerity.json"
14
- {
15
- "layout": "flat"
16
- }
17
- ```
18
-
19
- - `flat` (default) is full width. The sidebar sits at the left edge.
20
- - `boxed` centers the shell in a max-width container on wide screens.
21
-
22
- ## The doc layout
23
-
24
- Normal pages use the three column layout: sidebar on the left, content in the
25
- middle, and a table of contents on the right. The table of contents tracks your
26
- scroll position. It hides on narrow screens, and the sidebar becomes a drawer.
27
-
28
- ## The API layout
29
-
30
- Set `layout: api` in a page's frontmatter to switch to the API layout. It is
31
- wider, drops the table of contents, and gives you a two column layout with the
32
- content on the left and sticky request and response examples on the right.
33
-
34
- ```md
35
- ---
36
- title: Create a user
37
- layout: api
38
- ---
39
- ```
40
-
41
- See the [API reference components](/api/pet/pet-object) for what you can
42
- put on these pages.
43
-
44
- ## On every page
45
-
46
- Both layouts include a few things automatically:
47
-
48
- - A breadcrumb trail above the title.
49
- - A copy page button. See [AI and LLMs](/configuration/ai).
50
- - Previous and next links at the bottom.
51
- - A footer.
@@ -1,5 +0,0 @@
1
- {
2
- "title": "Configuration",
3
- "icon": "sliders",
4
- "pages": ["index", "navigation", "layouts", "search", "openapi", "ai", "cli", "deployment"]
5
- }