blume.config.ts 901 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. import { defineConfig } from "blume"
  2. export default defineConfig({
  3. title: "OpenCode",
  4. description: "The open source AI coding agent.",
  5. basePath: "/docs",
  6. logo: {
  7. image: {
  8. light: "/assets/logo-light.svg",
  9. dark: "/assets/logo-dark.svg",
  10. alt: "OpenCode",
  11. },
  12. text: "",
  13. href: "/",
  14. },
  15. content: {
  16. root: "content/docs",
  17. },
  18. github: {
  19. owner: "anomalyco",
  20. repo: "opencode",
  21. branch: "dev",
  22. dir: "packages/www",
  23. },
  24. navigation: {
  25. tabs: [
  26. { label: "Docs", path: "/" },
  27. { label: "Build", path: "/build" },
  28. { label: "API", path: "/api" },
  29. ],
  30. },
  31. openapi: {
  32. enabled: true,
  33. route: "/api",
  34. spec: "./openapi.json",
  35. },
  36. deployment: {
  37. adapter: "cloudflare",
  38. base: "/v2/",
  39. output: "server",
  40. site: process.env.BLUME_ENV === "dev" ? "https://dev.opencode.ai" : "https://opencode.ai",
  41. },
  42. })