From 9b112b34ba51f657717f355fd33cc9fcaaa30651 Mon Sep 17 00:00:00 2001 From: "Anaz S. Aji" Date: Sun, 14 Jun 2026 20:33:23 +0700 Subject: [PATCH] fix: restore VitePress base for proper asset routing --- docs/.vitepress/config.js | 41 --------------------------------------- 1 file changed, 41 deletions(-) diff --git a/docs/.vitepress/config.js b/docs/.vitepress/config.js index 409fc01..8b13789 100644 --- a/docs/.vitepress/config.js +++ b/docs/.vitepress/config.js @@ -1,42 +1 @@ -import { defineConfig } from 'vitepress'; -export default defineConfig({ - title: 'TrapFall', - description: 'Lightweight self-hosted error capture engine', - lang: 'en-US', - cleanUrls: true, - head: [['link', { rel: 'icon', type: 'image/svg+xml', href: '/logo.svg' }]], - themeConfig: { - nav: [ - { text: 'Codecora', link: 'https://codecora.dev' }, - { text: 'Guide', link: '/guide/getting-started' }, - { text: 'Config', link: '/guide/configuration' }, - { text: 'API', link: '/guide/api' }, - { text: 'GitHub', link: 'https://github.com/codecoradev/trapfall' }, - ], - sidebar: [ - { - text: 'Guide', - items: [ - { text: 'Getting Started', link: '/guide/getting-started' }, - { text: 'Configuration', link: '/guide/configuration' }, - { text: 'Multi-Project', link: '/guide/multi-project' }, - { text: 'SDK Integration', link: '/guide/sdk-integration' }, - { text: 'Docker', link: '/guide/docker' }, - { text: 'CLI Reference', link: '/guide/cli' }, - { text: 'API Reference', link: '/guide/api' }, - { text: 'Alert Rules', link: '/guide/alerts' }, - { text: 'Search', link: '/guide/search' }, - { text: 'Security', link: '/guide/security' }, - { text: 'MCP Server', link: '/guide/mcp' }, - ], - }, - ], - socialLinks: [ - { icon: 'github', link: 'https://github.com/codecoradev/trapfall' }, - ], - search: { - provider: 'local', - }, - }, -});