@@ -34,20 +34,78 @@ const sidebar = {
3434 en : [
3535 {
3636 text : "Getting Started" ,
37- items : [ { text : "Welcome to Refly" , link : "/" } ] ,
37+ items : [
38+ { text : "Welcome to Refly" , link : "/" } , // Points to index.md
39+ { text : "Crash Course" , link : "/guide/crash-course" } ,
40+ { text : "Introduction" , link : "/guide/introduction" } ,
41+ { text : "Video Tutorials" , link : "/guide/video-tutorials" } ,
42+ // Core Concepts needs to be created
43+ // { text: "Core Concepts", link: "/getting-started/core-concepts" },
44+ ] ,
3845 } ,
3946 {
40- text : "Guide " ,
47+ text : "Cloud Version " ,
4148 items : [
42- { text : "Crash Course" , link : "/guide/crash-course" } ,
49+ {
50+ text : "Feature Intro" ,
51+ items : [
52+ { text : "Product Overview" , link : "/cloud/feature-intro/" } ,
53+ { text : "Ask AI" , link : "/cloud/feature-intro/ask-ai" } ,
54+ {
55+ text : "Canvas and Nodes" ,
56+ link : "/cloud/feature-intro/canvas-nodes.md" ,
57+ } ,
58+ {
59+ text : "Creation Toolbar" ,
60+ link : "/cloud/feature-intro/creation-toolbar" ,
61+ } ,
62+ {
63+ text : "Global Search" ,
64+ link : "/cloud/feature-intro/global-search" ,
65+ } ,
66+ {
67+ text : "Knowledge Base" ,
68+ link : "/cloud/feature-intro/knowledge-base" ,
69+ } ,
70+ { text : "Templates" , link : "/cloud/feature-intro/templates" } ,
71+ { text : "UI Overview" , link : "/cloud/feature-intro/ui-overview" } ,
72+ ] ,
73+ } ,
74+ { text : "Chrome Extension" , link : "/cloud/chrome-extension" } ,
75+ ] ,
76+ } ,
77+ {
78+ text : "Community Version" ,
79+ items : [
80+ { text : "Community Version Overview" , link : "/community-version/" } ,
4381 {
4482 text : "Self-Deploy" ,
45- link : "/guide/self-deploy" ,
46- items : [ { text : "Ollama" , link : "/guide/self-deploy/ollama" } ] ,
83+ items : [
84+ {
85+ text : "Deployment Guide" ,
86+ link : "/community-version/self-deploy/" ,
87+ } ,
88+ {
89+ text : "Ollama Integration" ,
90+ link : "/community-version/self-deploy/ollama" ,
91+ } ,
92+ {
93+ text : "Configuration Guide" ,
94+ link : "/community-version/self-deploy/configuration" ,
95+ } ,
96+ ] ,
97+ } ,
98+ { text : "FAQ" , link : "/community-version/faq" } ,
99+ ] ,
100+ } ,
101+ {
102+ text : "Scenarios" ,
103+ items : [
104+ { text : "Scenarios" , link : "/scenarios/" } ,
105+ {
106+ text : "Create Tech PPT in 15 mins" ,
107+ link : "/scenarios/create-tech-ppt" ,
47108 } ,
48- { text : "Configuration" , link : "/guide/configuration" } ,
49- { text : "Chrome Extension" , link : "/guide/chrome-extension" } ,
50- { text : "Video Tutorials" , link : "/guide/video-tutorials" } ,
51109 ] ,
52110 } ,
53111 {
@@ -86,20 +144,72 @@ const sidebar = {
86144 zh : [
87145 {
88146 text : "入门" ,
89- items : [ { text : "欢迎使用 Refly" , link : "/zh" } ] ,
147+ items : [
148+ { text : "欢迎使用 Refly" , link : "/zh/" } , // 指向 zh/index.md
149+ { text : "快速上手" , link : "/zh/guide/crash-course" } ,
150+ { text : "入门介绍" , link : "/zh/guide/introduction" } ,
151+ { text : "视频教程" , link : "/zh/guide/video-tutorials" } ,
152+ // 核心概念需要新建文件后添加链接
153+ // { text: "核心概念", link: "/zh/getting-started/core-concepts" },
154+ ] ,
90155 } ,
91156 {
92- text : "指南 " ,
157+ text : "云版本 " ,
93158 items : [
94- { text : "快速上手" , link : "/zh/guide/crash-course" } ,
159+ {
160+ text : "功能介绍" ,
161+ items : [
162+ { text : "功能介绍概览" , link : "/zh/cloud/feature-intro/" } , // 指向 zh/cloud/feature-intro/index.md
163+ { text : "问问 AI" , link : "/zh/cloud/feature-intro/ask-ai" } ,
164+ {
165+ text : "画布和节点" ,
166+ link : "/zh/cloud/feature-intro/canvas-nodes.md" ,
167+ } ,
168+ {
169+ text : "创作工具栏" ,
170+ link : "/zh/cloud/feature-intro/creation-toolbar" ,
171+ } ,
172+ { text : "全局搜索" , link : "/zh/cloud/feature-intro/global-search" } ,
173+ { text : "知识库" , link : "/zh/cloud/feature-intro/knowledge-base" } ,
174+ { text : "模板" , link : "/zh/cloud/feature-intro/templates" } ,
175+ {
176+ text : "右上角界面概览" ,
177+ link : "/zh/cloud/feature-intro/ui-overview" ,
178+ } ,
179+ ] ,
180+ } ,
181+ { text : "Chrome 插件" , link : "/zh/cloud/chrome-extension" } ,
182+ ] ,
183+ } ,
184+ {
185+ text : "社区版本" ,
186+ items : [
187+ { text : "社区版本概览" , link : "/zh/community-version/" } ,
95188 {
96189 text : "私有部署" ,
97- link : "/zh/guide/self-deploy/index" ,
98- items : [ { text : "Ollama" , link : "/zh/guide/self-deploy/ollama" } ] ,
190+ items : [
191+ { text : "部署指南" , link : "/zh/community-version/self-deploy/" } ,
192+ {
193+ text : "Ollama 集成" ,
194+ link : "/zh/community-version/self-deploy/ollama" ,
195+ } ,
196+ {
197+ text : "配置指南" ,
198+ link : "/zh/community-version/self-deploy/configuration" ,
199+ } ,
200+ ] ,
201+ } ,
202+ { text : "常见问题" , link : "/zh/community-version/faq" } ,
203+ ] ,
204+ } ,
205+ {
206+ text : "场景分享" ,
207+ items : [
208+ { text : "场景分享" , link : "/zh/scenarios/" } ,
209+ {
210+ text : "15分钟快速制作一份技术架构PPT" ,
211+ link : "/zh/scenarios/create-tech-ppt" ,
99212 } ,
100- { text : "配置" , link : "/zh/guide/configuration" } ,
101- { text : "Chrome 插件" , link : "/zh/guide/chrome-extension" } ,
102- { text : "视频教程" , link : "/zh/guide/video-tutorials" } ,
103213 ] ,
104214 } ,
105215 {
@@ -145,6 +255,9 @@ export default defineConfig({
145255 // Remove .html extensions from URLs
146256 cleanUrls : true ,
147257
258+ // Ignore dead links in README.md and other files
259+ ignoreDeadLinks : true ,
260+
148261 // Configure head
149262 head : [
150263 [ "link" , { rel : "icon" , href : "/logo/logo.svg" } ] ,
0 commit comments