|
| 1 | +// @lobehub/docs-kit has no stable export for `defineDocsConfig` (it is an identity function), |
| 2 | +// so this exports a plain object. Restart `lobedocs dev` after editing. |
| 3 | +export default { |
| 4 | + alias: { |
| 5 | + "@lobehub/streamdown": "src", |
| 6 | + }, |
| 7 | + atomDirs: [{ dir: "src" }], |
| 8 | + description: |
| 9 | + "Headless streaming markdown engine for React with block caching, smooth per-character reveal and a LaTeX guard.", |
| 10 | + favicons: { |
| 11 | + appleTouchIcon: "/apple-touch-icon.png", |
| 12 | + icon: "/favicon.svg", |
| 13 | + icon16: "/favicon.svg", |
| 14 | + icon32: "/favicon.svg", |
| 15 | + }, |
| 16 | + homePage: "./docs/home/home.tsx", |
| 17 | + publicDocs: [ |
| 18 | + "docs/guide/getting-started.mdx", |
| 19 | + "docs/guide/streaming.mdx", |
| 20 | + "docs/guide/smooth-reveal.mdx", |
| 21 | + "docs/guide/animation.mdx", |
| 22 | + "docs/guide/code-fences.mdx", |
| 23 | + "docs/guide/latex.mdx", |
| 24 | + "docs/guide/remend.mdx", |
| 25 | + ], |
| 26 | + siteUrl: "https://streamdown.lobehub.com", |
| 27 | + themeConfig: { |
| 28 | + apiHeader: { |
| 29 | + docUrl: "{github}/edit/main/{atomId}", |
| 30 | + github: "https://github.com/lobehub/streamdown", |
| 31 | + packageName: "@lobehub/streamdown", |
| 32 | + sourceUrl: "{github}/tree/main/{atomId}", |
| 33 | + }, |
| 34 | + metadata: { |
| 35 | + openGraph: { |
| 36 | + image: "https://streamdown.lobehub.com/og.png", |
| 37 | + }, |
| 38 | + }, |
| 39 | + navItems: [ |
| 40 | + { |
| 41 | + href: "/guide/getting-started", |
| 42 | + icon: "rocket", |
| 43 | + label: "Getting Started", |
| 44 | + }, |
| 45 | + { href: "/guide/streaming", icon: "blocks", label: "Streaming & Blocks" }, |
| 46 | + { |
| 47 | + href: "/guide/smooth-reveal", |
| 48 | + icon: "activity", |
| 49 | + label: "Smooth Reveal", |
| 50 | + }, |
| 51 | + { href: "/guide/animation", icon: "sparkles", label: "Animation" }, |
| 52 | + { href: "/guide/code-fences", icon: "code", label: "Code Fences" }, |
| 53 | + { href: "/guide/latex", icon: "sigma", label: "LaTeX" }, |
| 54 | + { href: "/guide/remend", icon: "wand-sparkles", label: "remend" }, |
| 55 | + ], |
| 56 | + prefersColor: "auto", |
| 57 | + socialLinks: [ |
| 58 | + { |
| 59 | + href: "https://github.com/lobehub/streamdown", |
| 60 | + icon: "github", |
| 61 | + label: "GitHub", |
| 62 | + }, |
| 63 | + { |
| 64 | + href: "https://discord.gg/AYFPHvv2jT", |
| 65 | + icon: "discord", |
| 66 | + label: "Discord", |
| 67 | + }, |
| 68 | + { |
| 69 | + href: "https://www.npmjs.com/package/@lobehub/streamdown", |
| 70 | + icon: "npm", |
| 71 | + label: "NPM", |
| 72 | + }, |
| 73 | + ], |
| 74 | + }, |
| 75 | + title: "Streamdown", |
| 76 | +}; |
0 commit comments