Skip to content

Commit 46cc9bd

Browse files
WebRouterclaude
andcommitted
fix(docs): set VitePress base to /webrouter/ to match Pages URL
GitHub Pages serves at https://candywon.github.io/webrouter/, but base was /docs/, so all /docs/assets/* links 404'd and the site rendered without styles or scripts. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent f534fa0 commit 46cc9bd

141 files changed

Lines changed: 551 additions & 551 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

website/.vitepress/config.mts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
import { defineConfig } from 'vitepress'
22

33
export default defineConfig({
4-
base: '/docs/',
4+
base: '/webrouter/',
55
title: 'WebRouter',
66
description: 'Unified AI API Gateway — Manage all your LLM providers in one place',
77
lang: 'en-US',
88

99
head: [
10-
['link', { rel: 'icon', href: '/docs/logo.svg' }],
10+
['link', { rel: 'icon', href: '/webrouter/logo.svg' }],
1111
['meta', { name: 'theme-color', content: '#2563eb' }],
1212
],
1313

website/.vitepress/dist/404.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@
66
<title>404 | WebRouter</title>
77
<meta name="description" content="Not Found">
88
<meta name="generator" content="VitePress v1.6.4">
9-
<link rel="preload stylesheet" href="/docs/assets/style.DTFWUwXN.css" as="style">
10-
<link rel="preload stylesheet" href="/docs/vp-icons.css" as="style">
9+
<link rel="preload stylesheet" href="/webrouter/assets/style.C_CYsy0-.css" as="style">
10+
<link rel="preload stylesheet" href="/webrouter/vp-icons.css" as="style">
1111

12-
<script type="module" src="/docs/assets/app.BWbztiBd.js"></script>
13-
<link rel="preload" href="/docs/assets/inter-roman-latin.Di8DUHzh.woff2" as="font" type="font/woff2" crossorigin="">
14-
<link rel="icon" href="/docs/logo.svg">
12+
<script type="module" src="/webrouter/assets/app.B_Zzy8tT.js"></script>
13+
<link rel="preload" href="/webrouter/assets/inter-roman-latin.Di8DUHzh.woff2" as="font" type="font/woff2" crossorigin="">
14+
<link rel="icon" href="/webrouter/logo.svg">
1515
<meta name="theme-color" content="#2563eb">
1616
<script id="check-dark-mode">(()=>{const e=localStorage.getItem("vitepress-theme-appearance")||"auto",a=window.matchMedia("(prefers-color-scheme: dark)").matches;(!e||e==="auto"?a:e==="dark")&&document.documentElement.classList.add("dark")})();</script>
1717
<script id="check-mac-os">document.documentElement.classList.toggle("mac",/Mac|iPhone|iPod|iPad/i.test(navigator.platform));</script>
1818
</head>
1919
<body>
2020
<div id="app"></div>
21-
<script>window.__VP_HASH_MAP__=JSON.parse("{\"guide_alerting.md\":\"_LienVP6\",\"guide_api-reference.md\":\"CkNtd1Xk\",\"guide_architecture.md\":\"JIZnWCJr\",\"guide_billing.md\":\"C359dOaT\",\"guide_cli-export.md\":\"BXrwq8Bo\",\"guide_configuration.md\":\"CwxJCJoP\",\"guide_deployment.md\":\"0QvNG998\",\"guide_desensitization.md\":\"B9wzSQj1\",\"guide_faq.md\":\"4WK842xW\",\"guide_installation.md\":\"87emLi7z\",\"guide_knowledge-base.md\":\"BtPNXpDd\",\"guide_memory-recall.md\":\"Cpp5IjmR\",\"guide_monitoring.md\":\"Di3Hixza\",\"guide_multimedia.md\":\"zJAaBBR1\",\"guide_optimization.md\":\"Deu4Nm8h\",\"guide_providers.md\":\"CAVlvBYt\",\"guide_quick-start.md\":\"CruOL0nF\",\"guide_smart-routing.md\":\"BdfwBIMD\",\"guide_tokens-teams.md\":\"BeQ9x2rp\",\"index.md\":\"CEtaK5dI\",\"pricing.md\":\"C6pr8KAt\",\"zh_guide_alerting.md\":\"D7eJx-Bl\",\"zh_guide_api-reference.md\":\"CFKy7uuP\",\"zh_guide_architecture.md\":\"C1fGKDjV\",\"zh_guide_billing.md\":\"CHKPKgx5\",\"zh_guide_cli-export.md\":\"CBsgAzrf\",\"zh_guide_configuration.md\":\"CUdY4fjx\",\"zh_guide_deployment.md\":\"dF-uL32t\",\"zh_guide_desensitization.md\":\"BxLEynw9\",\"zh_guide_faq.md\":\"gfMcD0h-\",\"zh_guide_installation.md\":\"Db5lqwCq\",\"zh_guide_knowledge-base.md\":\"BZWsjwjp\",\"zh_guide_memory-recall.md\":\"nwAhs_4O\",\"zh_guide_monitoring.md\":\"CmmJCy3g\",\"zh_guide_multimedia.md\":\"GiKuSEzL\",\"zh_guide_optimization.md\":\"BtCtC_So\",\"zh_guide_providers.md\":\"BlWVQsZP\",\"zh_guide_quick-start.md\":\"BBR0tTl5\",\"zh_guide_smart-routing.md\":\"D_YCebFV\",\"zh_guide_tokens-teams.md\":\"BNuLDAWo\",\"zh_index.md\":\"Bz5U8ESI\",\"zh_pricing.md\":\"BDXBphaw\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"WebRouter\",\"description\":\"Unified AI API Gateway — Manage all your LLM providers in one place\",\"base\":\"/docs/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"logo\":\"/logo.svg\",\"siteTitle\":\"WebRouter\",\"search\":{\"provider\":\"local\"},\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/candywon/webrouter\"}],\"footer\":{\"message\":\"Released under the BSL 1.1 License. Contact: candywon@qq.com | https://webrouter.tech\",\"copyright\":\"Copyright 2026 Jianlin Huang\"}},\"locales\":{\"root\":{\"label\":\"English\",\"lang\":\"en\",\"themeConfig\":{\"nav\":[{\"text\":\"Home\",\"link\":\"/\"},{\"text\":\"Docs\",\"link\":\"/guide/quick-start\"},{\"text\":\"Pricing\",\"link\":\"/pricing\"},{\"text\":\"Demo\",\"link\":\"https://demo.webrouter.tech\"},{\"text\":\"GitHub\",\"link\":\"https://github.com/candywon/webrouter\"}],\"sidebar\":{\"/guide/\":[{\"text\":\"Getting Started\",\"items\":[{\"text\":\"Quick Start\",\"link\":\"/guide/quick-start\"},{\"text\":\"Installation\",\"link\":\"/guide/installation\"},{\"text\":\"Deployment\",\"link\":\"/guide/deployment\"}]},{\"text\":\"Core Concepts\",\"items\":[{\"text\":\"Architecture\",\"link\":\"/guide/architecture\"},{\"text\":\"Providers\",\"link\":\"/guide/providers\"},{\"text\":\"Tokens & Teams\",\"link\":\"/guide/tokens-teams\"},{\"text\":\"Smart Routing\",\"link\":\"/guide/smart-routing\"},{\"text\":\"Session Memory Recall\",\"link\":\"/guide/memory-recall\"},{\"text\":\"Multimedia Support\",\"link\":\"/guide/multimedia\"},{\"text\":\"Knowledge Base\",\"link\":\"/guide/knowledge-base\"},{\"text\":\"Optimization Features\",\"link\":\"/guide/optimization\"}]},{\"text\":\"Operations\",\"items\":[{\"text\":\"Monitoring\",\"link\":\"/guide/monitoring\"},{\"text\":\"Alerting\",\"link\":\"/guide/alerting\"},{\"text\":\"Billing\",\"link\":\"/guide/billing\"},{\"text\":\"Desensitization\",\"link\":\"/guide/desensitization\"}]},{\"text\":\"Reference\",\"items\":[{\"text\":\"Configuration\",\"link\":\"/guide/configuration\"},{\"text\":\"API Reference\",\"link\":\"/guide/api-reference\"},{\"text\":\"CLI Export\",\"link\":\"/guide/cli-export\"},{\"text\":\"FAQ\",\"link\":\"/guide/faq\"}]}]}}},\"zh\":{\"label\":\"中文\",\"lang\":\"zh-CN\",\"link\":\"/zh/\",\"themeConfig\":{\"nav\":[{\"text\":\"首页\",\"link\":\"/zh/\"},{\"text\":\"文档\",\"link\":\"/zh/guide/quick-start\"},{\"text\":\"定价\",\"link\":\"/zh/pricing\"},{\"text\":\"在线演示\",\"link\":\"https://demo.webrouter.tech\"},{\"text\":\"GitHub\",\"link\":\"https://github.com/candywon/webrouter\"}],\"sidebar\":{\"/zh/guide/\":[{\"text\":\"快速上手\",\"items\":[{\"text\":\"快速开始\",\"link\":\"/zh/guide/quick-start\"},{\"text\":\"安装指南\",\"link\":\"/zh/guide/installation\"},{\"text\":\"部署方案\",\"link\":\"/zh/guide/deployment\"}]},{\"text\":\"核心概念\",\"items\":[{\"text\":\"架构概览\",\"link\":\"/zh/guide/architecture\"},{\"text\":\"数据源管理\",\"link\":\"/zh/guide/providers\"},{\"text\":\"令牌与团队\",\"link\":\"/zh/guide/tokens-teams\"},{\"text\":\"智能路由\",\"link\":\"/zh/guide/smart-routing\"},{\"text\":\"会话记忆召回\",\"link\":\"/zh/guide/memory-recall\"},{\"text\":\"多媒体支持\",\"link\":\"/zh/guide/multimedia\"},{\"text\":\"知识库\",\"link\":\"/zh/guide/knowledge-base\"},{\"text\":\"优化特性\",\"link\":\"/zh/guide/optimization\"}]},{\"text\":\"运维管理\",\"items\":[{\"text\":\"健康监控\",\"link\":\"/zh/guide/monitoring\"},{\"text\":\"告警中心\",\"link\":\"/zh/guide/alerting\"},{\"text\":\"成本计费\",\"link\":\"/zh/guide/billing\"},{\"text\":\"隐私脱敏\",\"link\":\"/zh/guide/desensitization\"}]},{\"text\":\"参考文档\",\"items\":[{\"text\":\"配置说明\",\"link\":\"/zh/guide/configuration\"},{\"text\":\"API 参考\",\"link\":\"/zh/guide/api-reference\"},{\"text\":\"CLI 导出\",\"link\":\"/zh/guide/cli-export\"},{\"text\":\"常见问题\",\"link\":\"/zh/guide/faq\"}]}]}}}},\"scrollOffset\":134,\"cleanUrls\":false}");</script>
21+
<script>window.__VP_HASH_MAP__=JSON.parse("{\"guide_alerting.md\":\"BNL4xhzc\",\"guide_api-reference.md\":\"D5DEYBtt\",\"guide_architecture.md\":\"DaXxYU8T\",\"guide_billing.md\":\"B8hDrlao\",\"guide_cli-export.md\":\"iSxrvOIb\",\"guide_configuration.md\":\"CUrnUz4u\",\"guide_deployment.md\":\"BSU8rUlB\",\"guide_desensitization.md\":\"DSA9Tm8W\",\"guide_faq.md\":\"bjwUUA-3\",\"guide_installation.md\":\"CXv3OGlV\",\"guide_knowledge-base.md\":\"D_Uod70T\",\"guide_memory-recall.md\":\"BNFtDYR9\",\"guide_monitoring.md\":\"d3cYYK0D\",\"guide_multimedia.md\":\"CpkwmKmD\",\"guide_optimization.md\":\"icHeBUHc\",\"guide_providers.md\":\"Ca4UiSIX\",\"guide_quick-start.md\":\"B37UZIbG\",\"guide_smart-routing.md\":\"C2UPWIsZ\",\"guide_tokens-teams.md\":\"Bl9w4KTO\",\"index.md\":\"BvUiQO1s\",\"pricing.md\":\"C37wPbis\",\"zh_guide_alerting.md\":\"Cw4r0Dh-\",\"zh_guide_api-reference.md\":\"Po959wTY\",\"zh_guide_architecture.md\":\"uXRWZhSS\",\"zh_guide_billing.md\":\"B6j88pGs\",\"zh_guide_cli-export.md\":\"BVW6aBDu\",\"zh_guide_configuration.md\":\"DUctTpVM\",\"zh_guide_deployment.md\":\"DKB0sTTM\",\"zh_guide_desensitization.md\":\"DLs3lcNW\",\"zh_guide_faq.md\":\"WpI3qHQq\",\"zh_guide_installation.md\":\"C3L2_Fau\",\"zh_guide_knowledge-base.md\":\"BePYqA_F\",\"zh_guide_memory-recall.md\":\"eSXg7VTv\",\"zh_guide_monitoring.md\":\"BSkN6cyG\",\"zh_guide_multimedia.md\":\"DDkSgMRF\",\"zh_guide_optimization.md\":\"lFcYU3qZ\",\"zh_guide_providers.md\":\"DfkiHd-o\",\"zh_guide_quick-start.md\":\"Bt6ETTyD\",\"zh_guide_smart-routing.md\":\"Dsuqr6ic\",\"zh_guide_tokens-teams.md\":\"DyWjE147\",\"zh_index.md\":\"Cd_8TdHZ\",\"zh_pricing.md\":\"B6i1ro6F\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"WebRouter\",\"description\":\"Unified AI API Gateway — Manage all your LLM providers in one place\",\"base\":\"/webrouter/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"logo\":\"/logo.svg\",\"siteTitle\":\"WebRouter\",\"search\":{\"provider\":\"local\"},\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/candywon/webrouter\"}],\"footer\":{\"message\":\"Released under the BSL 1.1 License. Contact: candywon@qq.com | https://webrouter.tech\",\"copyright\":\"Copyright 2026 Jianlin Huang\"}},\"locales\":{\"root\":{\"label\":\"English\",\"lang\":\"en\",\"themeConfig\":{\"nav\":[{\"text\":\"Home\",\"link\":\"/\"},{\"text\":\"Docs\",\"link\":\"/guide/quick-start\"},{\"text\":\"Pricing\",\"link\":\"/pricing\"},{\"text\":\"Demo\",\"link\":\"https://demo.webrouter.tech\"},{\"text\":\"GitHub\",\"link\":\"https://github.com/candywon/webrouter\"}],\"sidebar\":{\"/guide/\":[{\"text\":\"Getting Started\",\"items\":[{\"text\":\"Quick Start\",\"link\":\"/guide/quick-start\"},{\"text\":\"Installation\",\"link\":\"/guide/installation\"},{\"text\":\"Deployment\",\"link\":\"/guide/deployment\"}]},{\"text\":\"Core Concepts\",\"items\":[{\"text\":\"Architecture\",\"link\":\"/guide/architecture\"},{\"text\":\"Providers\",\"link\":\"/guide/providers\"},{\"text\":\"Tokens & Teams\",\"link\":\"/guide/tokens-teams\"},{\"text\":\"Smart Routing\",\"link\":\"/guide/smart-routing\"},{\"text\":\"Session Memory Recall\",\"link\":\"/guide/memory-recall\"},{\"text\":\"Multimedia Support\",\"link\":\"/guide/multimedia\"},{\"text\":\"Knowledge Base\",\"link\":\"/guide/knowledge-base\"},{\"text\":\"Optimization Features\",\"link\":\"/guide/optimization\"}]},{\"text\":\"Operations\",\"items\":[{\"text\":\"Monitoring\",\"link\":\"/guide/monitoring\"},{\"text\":\"Alerting\",\"link\":\"/guide/alerting\"},{\"text\":\"Billing\",\"link\":\"/guide/billing\"},{\"text\":\"Desensitization\",\"link\":\"/guide/desensitization\"}]},{\"text\":\"Reference\",\"items\":[{\"text\":\"Configuration\",\"link\":\"/guide/configuration\"},{\"text\":\"API Reference\",\"link\":\"/guide/api-reference\"},{\"text\":\"CLI Export\",\"link\":\"/guide/cli-export\"},{\"text\":\"FAQ\",\"link\":\"/guide/faq\"}]}]}}},\"zh\":{\"label\":\"中文\",\"lang\":\"zh-CN\",\"link\":\"/zh/\",\"themeConfig\":{\"nav\":[{\"text\":\"首页\",\"link\":\"/zh/\"},{\"text\":\"文档\",\"link\":\"/zh/guide/quick-start\"},{\"text\":\"定价\",\"link\":\"/zh/pricing\"},{\"text\":\"在线演示\",\"link\":\"https://demo.webrouter.tech\"},{\"text\":\"GitHub\",\"link\":\"https://github.com/candywon/webrouter\"}],\"sidebar\":{\"/zh/guide/\":[{\"text\":\"快速上手\",\"items\":[{\"text\":\"快速开始\",\"link\":\"/zh/guide/quick-start\"},{\"text\":\"安装指南\",\"link\":\"/zh/guide/installation\"},{\"text\":\"部署方案\",\"link\":\"/zh/guide/deployment\"}]},{\"text\":\"核心概念\",\"items\":[{\"text\":\"架构概览\",\"link\":\"/zh/guide/architecture\"},{\"text\":\"数据源管理\",\"link\":\"/zh/guide/providers\"},{\"text\":\"令牌与团队\",\"link\":\"/zh/guide/tokens-teams\"},{\"text\":\"智能路由\",\"link\":\"/zh/guide/smart-routing\"},{\"text\":\"会话记忆召回\",\"link\":\"/zh/guide/memory-recall\"},{\"text\":\"多媒体支持\",\"link\":\"/zh/guide/multimedia\"},{\"text\":\"知识库\",\"link\":\"/zh/guide/knowledge-base\"},{\"text\":\"优化特性\",\"link\":\"/zh/guide/optimization\"}]},{\"text\":\"运维管理\",\"items\":[{\"text\":\"健康监控\",\"link\":\"/zh/guide/monitoring\"},{\"text\":\"告警中心\",\"link\":\"/zh/guide/alerting\"},{\"text\":\"成本计费\",\"link\":\"/zh/guide/billing\"},{\"text\":\"隐私脱敏\",\"link\":\"/zh/guide/desensitization\"}]},{\"text\":\"参考文档\",\"items\":[{\"text\":\"配置说明\",\"link\":\"/zh/guide/configuration\"},{\"text\":\"API 参考\",\"link\":\"/zh/guide/api-reference\"},{\"text\":\"CLI 导出\",\"link\":\"/zh/guide/cli-export\"},{\"text\":\"常见问题\",\"link\":\"/zh/guide/faq\"}]}]}}}},\"scrollOffset\":134,\"cleanUrls\":false}");</script>
2222

2323
</body>
2424
</html>

website/.vitepress/dist/assets/app.BWbztiBd.js renamed to website/.vitepress/dist/assets/app.B_Zzy8tT.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/.vitepress/dist/assets/chunks/@localSearchIndexroot.BARy3Pjf.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

website/.vitepress/dist/assets/chunks/@localSearchIndexroot.CXaCwQeo.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/.vitepress/dist/assets/chunks/@localSearchIndexzh.CHnd391B.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/.vitepress/dist/assets/chunks/@localSearchIndexzh.DRV4W_1o.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)