@@ -58,6 +58,9 @@ export default defineConfig({
5858 'tiny-robot/docs/src/:path*' : 'tiny-robot/:path*' ,
5959 'next-sdk/docs/:path*' : 'next-sdk/:path*' ,
6060 'tiny-vue/examples/sites/demos/pc/webdoc/:path*' : 'tiny-vue/guide/:path*' ,
61+ 'tiny-engine/docs/:section(getting-started|basic-features|advanced-features|tutorials)/:path*' : 'tiny-engine/engines/:path*' ,
62+ 'tiny-engine/docs/:section(practical-cases|api|extension-capabilities-tutorial|development-getting-started|changelog|solutions|extension-capabilities-overview)/:path*' : 'tiny-engine/dev/:path*' ,
63+ 'tiny-engine/docs/:section(ecosystem-center|about-applications|about-materials|about-designer)/:path*' : 'tiny-engine/portal/:path*' ,
6164 } ,
6265 themeConfig : {
6366 // https://vitepress.dev/reference/default-theme-config
@@ -69,6 +72,11 @@ export default defineConfig({
6972 { text : '工具' , link : '/tiny-robot/tools/ai-client' , activeMatch : '/tools/' } ,
7073 { text : '演示' , link : '/tiny-robot/examples/assistant' , activeMatch : '/examples/' } ,
7174 ] ,
75+ engineNav : [
76+ { text : '使用指南' , link : '/tiny-engine/engines/introduction' , activeMatch : '/engines/' } ,
77+ { text : '平台开发指南' , link : '/tiny-engine/dev/dev-intro' , activeMatch : '/dev/' } ,
78+ { text : '网站文档' , link : '/tiny-engine/portal/ecosystem-intro' , activeMatch : '/portal/' } ,
79+ ] ,
7280 sidebar : {
7381 '/tiny-robot/guide/' : [
7482 {
@@ -169,8 +177,248 @@ export default defineConfig({
169177 ]
170178 } ,
171179 ] ,
172-
173-
180+ '/tiny-engine/engines/' : [
181+ {
182+ text : "新手指引" ,
183+ collapsed : false ,
184+ base : "/tiny-engine/engines/" ,
185+ items : [
186+ { text : "简介" , link : "introduction" } ,
187+ { text : "快速上手" , link : "quick-start" }
188+ ]
189+ } ,
190+ {
191+ text : "基础功能" ,
192+ collapsed : false ,
193+ base : "/tiny-engine/engines/" ,
194+ items : [
195+ { text : "初识设计器" , link : "intro-to-designer" } ,
196+ { text : "设计前端应用流程" , link : "frontend-application-flow" } ,
197+ { text : "设计器界面模块简介" , link : "designer-ui-modules" } ,
198+ { text : "页面管理" , link : "page-management" } ,
199+ { text : "使用组件" , link : "using-components" } ,
200+ { text : "样式设置" , link : "style-settings" } ,
201+ { text : "使用状态管理和变量绑定" , link : "state-management-and-variable-binding" } ,
202+ { text : "行内样式绑定状态变量" , link : "inline-style-variable-binding" } ,
203+ { text : "查看大纲树" , link : "outline-tree" } ,
204+ { text : "国际化" , link : "internationalization" } ,
205+ { text : "页面和区块预览" , link : "page-and-block-preview" }
206+ ]
207+ } ,
208+ {
209+ text : "进阶功能" ,
210+ collapsed : false ,
211+ base : "/tiny-engine/engines/" ,
212+ items : [
213+ { text : "区块管理" , link : "block-management" } ,
214+ { text : "使用JS面板和事件绑定" , link : "js-panel-and-event-binding" } ,
215+ { text : "使用工具类方法 utils" , link : "using-utils-methods" } ,
216+ { text : "高级面板设置" , link : "advanced-panel-settings" } ,
217+ { text : "如何使用插槽" , link : "how-to-use-slots" } ,
218+ { text : "循环渲染" , link : "loop-rendering" } ,
219+ { text : "条件渲染" , link : "conditional-rendering" } ,
220+ { text : "集成ChatGPT搭建简单页面能力" , link : "integrating-chatgpt-for-simple-pages" } ,
221+ { text : "新版AI插件使用" , link : "new-ai-plugin-usage" } ,
222+ { text : "数据源和Collection—远程字段" , link : "data-source-and-collection-remote-fields" } ,
223+ { text : "数据源和Collection—mock数据" , link : "data-source-and-collection-mock-data" } ,
224+ { text : "数据源和Collection—使用数据源" , link : "data-source-and-collection-usage" } ,
225+ {
226+ text : "路由功能" ,
227+ collapsed : false ,
228+ base : "/tiny-engine/engines/route-capabilities/" ,
229+ items : [
230+ { text : "页面支持嵌套路由" , link : "page-support-nested-route" } ,
231+ { text : "路由bar一键清除预览页面路径" , link : "route-bar-clear-preview-page" } ,
232+ { text : "路由bar高亮显示预览页面路径" , link : "route-bar-current-page-highlight" } ,
233+ { text : "RouterView组件支持预览子界面" , link : "route-view-support-preview-subpage" }
234+ ]
235+ } ,
236+ { text : "主题切换功能" , link : "theme-switch" } ,
237+ { text : "画布快捷操作" , link : "canvas-shortcuts" }
238+ ]
239+ } ,
240+ {
241+ text : "教程" ,
242+ collapsed : false ,
243+ base : "/tiny-engine/engines/" ,
244+ items : [
245+ { text : "从零搭建一个页面" , link : "build-a-page-from-scratch" } ,
246+ ]
247+ }
248+ ] ,
249+ '/tiny-engine/dev/' : [
250+ {
251+ text : "开始" ,
252+ collapsed : false ,
253+ base : "/tiny-engine/dev/" ,
254+ items : [
255+ { text : "简介" , link : "dev-intro.md" } ,
256+ { text : "快速上手" , link : "dev-quick-start.md" } ,
257+ { text : "前后端启动联调(Java服务端)" , link : "debugging-of-java-backend.md" }
258+ ]
259+ } ,
260+ {
261+ text : "更新日志" ,
262+ collapsed : false ,
263+ base : "/tiny-engine/dev/" ,
264+ items : [
265+ { text : "更新日志" , link : "changelog.md" } ,
266+ { text : "v2.7升级指南" , link : "v2.7-upgrade-guide.md" }
267+ ]
268+ } ,
269+ {
270+ text : "解决方案" ,
271+ collapsed : false ,
272+ base : "/tiny-engine/dev/" ,
273+ items : [
274+ { text : "前端及Java服务端docker部署" , link : "front-backend-docker-deployment.md" } ,
275+ { text : "Java服务端部署" , link : "server-deployment-solution-java.md" } ,
276+ { text : "Node.js服务端部署" , link : "server-deployment-solution.md" } ,
277+ { text : "区块发布方案(Node.js服务端)" , link : "block-release-solution.md" } ,
278+ { text : "区块局域网发布方案(Node.js服务端)" , link : "block-lan-release-solution.md" } ,
279+ { text : "设计器中引入第三方组件库" , link : "third-party-library-in-designer.md" } ,
280+ { text : "物料同步方案" , link : "material-sync-solution.md" } ,
281+ { text : "本地化CDN方案" , link : "import-map-local.md" } ,
282+ { text : "全新区块构建方案" , link : "block-construction-solution.md" } ,
283+ { text : "全新画布通信方案" , link : "canvas-communication-solution.md" }
284+ ]
285+ } ,
286+ {
287+ text : "扩展能力介绍" ,
288+ collapsed : false ,
289+ base : "/tiny-engine/dev/" ,
290+ items : [
291+ { text : "新架构介绍" , link : "new-architecture.md" } ,
292+ { text : "注册表" , link : "registry.md" } ,
293+ { text : "注册表(新版)" , link : "new-registry.md" } ,
294+ { text : "注册表高级特性" , link : "new-registry-advanced.md" } ,
295+ { text : "元服务和元应用" , link : "meta-services-and-meta-apps.md" }
296+ ]
297+ } ,
298+ {
299+ text : "扩展能力使用教程" ,
300+ collapsed : false ,
301+ base : "/tiny-engine/dev/" ,
302+ items : [
303+ { text : "如何开发插件" , link : "how-to-develop-plugins.md" } ,
304+ {
305+ text : "出码功能" ,
306+ collapsed : false ,
307+ base : "/tiny-engine/dev/code-output-function/" ,
308+ items : [
309+ { text : "出码功能简介与使用" , link : "code-output-overview-and-usage.md" } ,
310+ { text : "如何自定义出码" , link : "how-to-customize-code-output.md" } ,
311+ { text : "如何自定义出码插件" , link : "how-to-customize-code-output-plugins.md" } ,
312+ { text : "自定义页面出码插件" , link : "custom-page-code-output-plugin.md" } ,
313+ { text : "官方出码能力API" , link : "official-code-output-api.md" }
314+ ]
315+ } ,
316+ { text : "定制插件UI" , link : "customize-plugin-ui.md" } ,
317+ { text : "定制元服务逻辑" , link : "customize-meta-service-logic.md" } ,
318+ { text : "开发设置器组件" , link : "develop-configurator-components.md" } ,
319+ { text : "AI插件使用前配置" , link : "ai-plugin-configuration.md" } ,
320+ { text : "如何自定义主题" , link : "how-to-custom-theme.md" }
321+ ]
322+ } ,
323+ {
324+ text : "API" ,
325+ collapsed : false ,
326+ base : "/tiny-engine/dev/" ,
327+ items : [
328+ { text : "API总览" , link : "api-overview.md" } ,
329+ {
330+ text : "前端API" ,
331+ collapsed : false ,
332+ base : "/tiny-engine/dev/frontend-api/" ,
333+ items : [
334+ { text : "主包API" , link : "main-package-api.md" } ,
335+ { text : "画布API" , link : "canvas-api.md" } ,
336+ { text : "全局布局API" , link : "global-layout-api.md" } ,
337+ { text : "物料API" , link : "material-api.md" } ,
338+ { text : "设置面板API" , link : "settings-panel-api.md" } ,
339+ { text : "预览API" , link : "preview-api.md" }
340+ ]
341+ } ,
342+ {
343+ text : "后端API" ,
344+ collapsed : false ,
345+ base : "/tiny-engine/dev/backend-api/" ,
346+ items : [
347+ { text : "AI功能接口" , link : "ai-function-api.md" } ,
348+ { text : "应用管理" , link : "app-management.md" } ,
349+ { text : "区块分类" , link : "block-categories.md" } ,
350+ { text : "应用工具类管理" , link : "app-utility-management.md" } ,
351+ { text : "区块管理" , link : "block-management-api.md" } ,
352+ { text : "数据源管理" , link : "data-source-management.md" } ,
353+ { text : "DSL代码生成" , link : "dsl-code-generation.md" } ,
354+ { text : "物料中心" , link : "material-center.md" } ,
355+ { text : "页面管理" , link : "page-management-api.md" } ,
356+ { text : "APP服务" , link : "app-services.md" }
357+ ]
358+ }
359+ ]
360+ } ,
361+ {
362+ text : "实战案例" ,
363+ collapsed : false ,
364+ base : "/tiny-engine/dev/" ,
365+ items : [
366+ { text : "PDM元数据审批电子流" , link : "pdm-metadata-approval-workflow.md" } ,
367+ { text : "图元编排设计器" , link : "graphical-element-arrangement-designer.md" } ,
368+ { text : "SMB轻量应用服务" , link : "smb-lightweight-application-service.md" }
369+ ]
370+ }
371+ ] ,
372+ '/tiny-engine/portal/' : [
373+ {
374+ text : "生态中心" ,
375+ collapsed : false ,
376+ base : "/tiny-engine/portal/" ,
377+ items : [
378+ { text : "介绍" , link : "ecosystem-intro.md" } ,
379+ { text : "如何导入组件库" , link : "how-to-import-library.md" } ,
380+ { text : "如何发布区块" , link : "how-to-publish-block.md" } ,
381+ { text : "发布其他生态" , link : "publish-other-ecosystems.md" }
382+ ]
383+ } ,
384+ {
385+ text : "关于应用" ,
386+ collapsed : false ,
387+ base : "/tiny-engine/portal/" ,
388+ items : [
389+ {
390+ text : "创建应用(创建空白应用、从模板创建应用)" ,
391+ link : "create-application-blank-or-template.md"
392+ } ,
393+ { text : "开发应用" , link : "develop-application.md" }
394+ ]
395+ } ,
396+ {
397+ text : "关于物料" ,
398+ collapsed : false ,
399+ base : "/tiny-engine/portal/" ,
400+ items : [
401+ { text : "介绍" , link : "materials-intro.md" } ,
402+ { text : "创建物料资产包" , link : "create-material-asset-package.md" } ,
403+ { text : "添加组件库和区块" , link : "add-library-and-blocks.md" } ,
404+ { text : "构建物料资产包" , link : "build-material-asset-package.md" }
405+ ]
406+ } ,
407+ {
408+ text : "关于设计器" ,
409+ collapsed : false ,
410+ base : "/tiny-engine/portal/" ,
411+ items : [
412+ { text : "介绍" , link : "designer-intro.md" } ,
413+ { text : "创建设计器" , link : "create-designer.md" } ,
414+ {
415+ text : "定制物料资产包、主题、DSL、工具栏和插件栏" ,
416+ link : "customize-material-package-themes-dsl-toolbar-plugins.md"
417+ } ,
418+ { text : "定制设计器" , link : "customize-designer.md" }
419+ ]
420+ }
421+ ] ,
174422 } ,
175423 search : {
176424 provider : 'local' ,
0 commit comments