doccupine 0.0.122 → 0.0.124

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 (33) hide show
  1. package/dist/lib/structures.js +2 -0
  2. package/dist/templates/components/Chat.d.ts +1 -1
  3. package/dist/templates/components/Chat.js +32 -12
  4. package/dist/templates/components/MDXComponents.d.ts +1 -1
  5. package/dist/templates/components/MDXComponents.js +4 -2
  6. package/dist/templates/components/SearchDocs.d.ts +1 -1
  7. package/dist/templates/components/SearchDocs.js +56 -9
  8. package/dist/templates/components/SearchModalContent.d.ts +1 -1
  9. package/dist/templates/components/SearchModalContent.js +177 -14
  10. package/dist/templates/components/SideBar.d.ts +1 -1
  11. package/dist/templates/components/SideBar.js +1 -1
  12. package/dist/templates/components/layout/Card.d.ts +1 -1
  13. package/dist/templates/components/layout/Card.js +2 -2
  14. package/dist/templates/components/layout/SiteGate.d.ts +1 -1
  15. package/dist/templates/components/layout/SiteGate.js +1 -1
  16. package/dist/templates/components/layout/Slug.d.ts +1 -1
  17. package/dist/templates/components/layout/Slug.js +1 -1
  18. package/dist/templates/components/layout/Steps.d.ts +1 -1
  19. package/dist/templates/components/layout/Steps.js +7 -5
  20. package/dist/templates/components/layout/Update.d.ts +1 -1
  21. package/dist/templates/components/layout/Update.js +5 -3
  22. package/dist/templates/mdx/cards.mdx.d.ts +1 -1
  23. package/dist/templates/mdx/cards.mdx.js +2 -2
  24. package/dist/templates/mdx/platform/ai-assistant.mdx.d.ts +1 -1
  25. package/dist/templates/mdx/platform/ai-assistant.mdx.js +1 -7
  26. package/dist/templates/mdx/platform/mcp.mdx.d.ts +1 -0
  27. package/dist/templates/mdx/platform/mcp.mdx.js +53 -0
  28. package/dist/templates/mdx/steps.mdx.d.ts +1 -1
  29. package/dist/templates/mdx/steps.mdx.js +2 -2
  30. package/dist/templates/mdx/update.mdx.d.ts +1 -1
  31. package/dist/templates/mdx/update.mdx.js +2 -2
  32. package/dist/templates/package.js +3 -3
  33. package/package.json +1 -1
@@ -45,8 +45,8 @@ You can use the \`Steps\` component to create a step-by-step guide. Each step is
45
45
 
46
46
  ## Properties
47
47
 
48
- <Field value="title" type="string" required>
49
- The title of the step.
48
+ <Field value="title" type="string">
49
+ An optional title for the step. When omitted, the step renders without a title row.
50
50
  </Field>
51
51
 
52
52
  <Field value="icon" type="string">
@@ -1 +1 @@
1
- export declare const updateMdxTemplate = "---\ntitle: \"Update\"\ndescription: \"Easily manage and present change history.\"\ndate: \"2026-02-19\"\ncategory: \"Components\"\ncategoryOrder: 1\norder: 12\n---\n\n# Update\n\nEasily manage and present change history.\n\nThe `Update` component helps you display release notes, version details, and changelogs in a standardized format.\n\nEach `Update` label is added to the \"On this page\" sidebar and gets its own anchor, so you can link directly to a specific entry.\n\n<Update label=\"v0.0.1\" description=\"Example\">\n ## Example entry\n\n You can include anything here - images, code snippets, or a bullet list of modifications.\n\n ![Demo Image](https://docs.doccupine.com/demo.png)\n\n ### Key additions\n\n - Fully responsive layout\n - Individual anchor for each update\n - Automatic RSS feed entry generation\n</Update>\n\n## Update Usage\n\nYou can combine multiple `Update` components to build complete changelogs.\n\n```html\n<Update label=\"v0.0.1\" description=\"Example\">\n ## Example entry\n\n You can include anything here - images, code snippets, or a bullet list of modifications.\n\n ![Demo Image](https://docs.doccupine.com/demo.png)\n\n ### Key additions\n\n - Fully responsive layout\n - Individual anchor for each update\n - Automatic RSS feed entry generation\n</Update>\n```\n\n## Properties\n\n<Field value=\"label\" type=\"string\" required>\n The label of the update. It also appears in the page's \"On this page\"\n navigation and acts as a deep-link anchor to this entry.\n</Field>\n\n<Field value=\"description\" type=\"string\" required>\n The description of the update.\n</Field>\n\n<Field value=\"children\" type=\"node\" required>\n The content of the update.\n</Field>";
1
+ export declare const updateMdxTemplate = "---\ntitle: \"Update\"\ndescription: \"Easily manage and present change history.\"\ndate: \"2026-02-19\"\ncategory: \"Components\"\ncategoryOrder: 1\norder: 12\n---\n\n# Update\n\nEasily manage and present change history.\n\nThe `Update` component helps you display release notes, version details, and changelogs in a standardized format.\n\nEach `Update` label is added to the \"On this page\" sidebar and gets its own anchor, so you can link directly to a specific entry.\n\n<Update label=\"v0.0.1\" description=\"Example\">\n ## Example entry\n\n You can include anything here - images, code snippets, or a bullet list of modifications.\n\n ![Demo Image](https://docs.doccupine.com/demo.png)\n\n ### Key additions\n\n - Fully responsive layout\n - Individual anchor for each update\n - Automatic RSS feed entry generation\n</Update>\n\n## Update Usage\n\nYou can combine multiple `Update` components to build complete changelogs.\n\n```html\n<Update label=\"v0.0.1\" description=\"Example\">\n ## Example entry\n\n You can include anything here - images, code snippets, or a bullet list of modifications.\n\n ![Demo Image](https://docs.doccupine.com/demo.png)\n\n ### Key additions\n\n - Fully responsive layout\n - Individual anchor for each update\n - Automatic RSS feed entry generation\n</Update>\n```\n\n## Properties\n\n<Field value=\"label\" type=\"string\" required>\n The label of the update. It also appears in the page's \"On this page\"\n navigation and acts as a deep-link anchor to this entry.\n</Field>\n\n<Field value=\"description\" type=\"string\">\n An optional description for the update. When omitted, no description is shown.\n</Field>\n\n<Field value=\"children\" type=\"node\" required>\n The content of the update.\n</Field>";
@@ -56,8 +56,8 @@ You can combine multiple \`Update\` components to build complete changelogs.
56
56
  navigation and acts as a deep-link anchor to this entry.
57
57
  </Field>
58
58
 
59
- <Field value="description" type="string" required>
60
- The description of the update.
59
+ <Field value="description" type="string">
60
+ An optional description for the update. When omitted, no description is shown.
61
61
  </Field>
62
62
 
63
63
  <Field value="children" type="node" required>
@@ -18,14 +18,14 @@ export const packageJsonTemplate = JSON.stringify({
18
18
  "@mdx-js/react": "^3.1.1",
19
19
  "@modelcontextprotocol/sdk": "^1.29.0",
20
20
  "@posthog/react": "^1.10.3",
21
- "cherry-styled-components": "^0.2.10",
21
+ "cherry-styled-components": "^0.2.11",
22
22
  langchain: "^1.5.3",
23
23
  "lucide-react": "^1.24.0",
24
24
  minisearch: "^7.2.0",
25
25
  next: "16.2.10",
26
26
  "next-mdx-remote": "^6.0.0",
27
- "posthog-js": "^1.399.1",
28
- "posthog-node": "^5.40.0",
27
+ "posthog-js": "^1.399.2",
28
+ "posthog-node": "^5.41.0",
29
29
  react: "19.2.7",
30
30
  "react-dom": "19.2.7",
31
31
  "rehype-highlight": "^7.0.2",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "doccupine",
3
- "version": "0.0.122",
3
+ "version": "0.0.124",
4
4
  "description": "Free and open-source documentation platform. Write MDX, get a production-ready site with AI chat, built-in components, and an MCP server - in one command.",
5
5
  "main": "dist/index.js",
6
6
  "bin": {