2023-06-20 11:48:02 +08:00
|
|
|
|
const nav = [
|
|
|
|
|
{
|
|
|
|
|
title: 'Welcome',
|
|
|
|
|
'title.zh-CN': '欢迎',
|
|
|
|
|
link: '/welcome/introduction',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: 'User manual',
|
|
|
|
|
'title.zh-CN': '使用手册',
|
|
|
|
|
link: '/manual/quick-start/the-first-app',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: 'Plugin Development',
|
|
|
|
|
'title.zh-CN': '插件开发',
|
|
|
|
|
link: '/development',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: 'API reference',
|
|
|
|
|
'title.zh-CN': 'API 参考',
|
|
|
|
|
link: '/api',
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: 'Schema components',
|
|
|
|
|
'title.zh-CN': 'Schema 组件库',
|
|
|
|
|
link: '/components',
|
|
|
|
|
},
|
|
|
|
|
];
|
|
|
|
|
const sidebar = {
|
2022-10-07 12:11:21 +08:00
|
|
|
|
'/welcome': [
|
2022-09-19 09:23:01 +08:00
|
|
|
|
{
|
2022-10-07 12:11:21 +08:00
|
|
|
|
title: 'Welcome',
|
|
|
|
|
'title.zh-CN': '欢迎',
|
2022-12-23 09:42:44 +08:00
|
|
|
|
'title.tr-TR': 'Hoşgeldiniz',
|
2022-10-07 12:11:21 +08:00
|
|
|
|
type: 'group',
|
|
|
|
|
children: [
|
2023-06-20 11:48:02 +08:00
|
|
|
|
'/welcome/introduction',
|
2022-10-07 12:11:21 +08:00
|
|
|
|
'/welcome/introduction/features',
|
|
|
|
|
'/welcome/introduction/when',
|
2022-10-31 11:52:17 +08:00
|
|
|
|
// '/welcome/introduction/learning-guide',
|
2022-10-07 12:11:21 +08:00
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: 'Getting started',
|
|
|
|
|
'title.zh-CN': '快速开始',
|
2022-12-23 09:42:44 +08:00
|
|
|
|
'title.tr-TR': 'Başlangıç',
|
2022-10-07 12:11:21 +08:00
|
|
|
|
type: 'group',
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
title: 'Installation',
|
|
|
|
|
'title.zh-CN': '安装',
|
2022-12-23 09:42:44 +08:00
|
|
|
|
'title.TR-TR': 'Kurulum',
|
2022-10-07 12:11:21 +08:00
|
|
|
|
children: [
|
2023-06-20 11:48:02 +08:00
|
|
|
|
'/welcome/getting-started/installation',
|
2022-10-07 12:11:21 +08:00
|
|
|
|
'/welcome/getting-started/installation/docker-compose',
|
|
|
|
|
'/welcome/getting-started/installation/create-nocobase-app',
|
|
|
|
|
'/welcome/getting-started/installation/git-clone',
|
|
|
|
|
],
|
|
|
|
|
},
|
2022-10-31 11:52:17 +08:00
|
|
|
|
{
|
|
|
|
|
title: 'Upgrading',
|
|
|
|
|
'title.zh-CN': '升级',
|
2022-12-23 09:42:44 +08:00
|
|
|
|
'title.TR-TR': 'Güncelleme',
|
2022-10-31 11:52:17 +08:00
|
|
|
|
children: [
|
2023-06-20 11:48:02 +08:00
|
|
|
|
'/welcome/getting-started/upgrading',
|
2022-10-31 11:52:17 +08:00
|
|
|
|
'/welcome/getting-started/upgrading/docker-compose',
|
|
|
|
|
'/welcome/getting-started/upgrading/create-nocobase-app',
|
|
|
|
|
'/welcome/getting-started/upgrading/git-clone',
|
|
|
|
|
],
|
|
|
|
|
},
|
2022-10-07 12:11:21 +08:00
|
|
|
|
],
|
|
|
|
|
},
|
2022-10-31 22:41:24 +08:00
|
|
|
|
{
|
2023-02-17 09:58:52 +08:00
|
|
|
|
title: 'Roadmap & Releases',
|
|
|
|
|
'title.zh-CN': '路线图 & 发布',
|
2022-12-23 09:42:44 +08:00
|
|
|
|
'title.TR-TR': 'Sürüm',
|
2022-10-31 22:41:24 +08:00
|
|
|
|
type: 'group',
|
2023-05-25 22:21:52 +08:00
|
|
|
|
children: [
|
|
|
|
|
'/welcome/release/roadmap',
|
|
|
|
|
{
|
|
|
|
|
type: 'item',
|
|
|
|
|
title: 'Changelog',
|
|
|
|
|
'title.zh-CN': '更新日志',
|
|
|
|
|
link: 'https://github.com/nocobase/nocobase/blob/main/CHANGELOG.md',
|
|
|
|
|
},
|
|
|
|
|
// '/welcome/release/index',
|
2023-06-20 11:48:02 +08:00
|
|
|
|
// '/welcome/release/v08-changelog',
|
2023-08-02 00:07:52 +08:00
|
|
|
|
'/welcome/release/v12-changelog',
|
2023-07-07 14:35:22 +08:00
|
|
|
|
'/welcome/release/v11-changelog',
|
2023-08-02 00:07:52 +08:00
|
|
|
|
'/welcome/release/v10-changelog',
|
2023-05-25 22:21:52 +08:00
|
|
|
|
],
|
2022-10-31 22:41:24 +08:00
|
|
|
|
},
|
2022-10-07 12:11:21 +08:00
|
|
|
|
{
|
|
|
|
|
title: 'Community',
|
|
|
|
|
'title.zh-CN': '社区',
|
2022-12-23 09:42:44 +08:00
|
|
|
|
'title.TR-TR': 'Topluluk',
|
2022-10-07 12:11:21 +08:00
|
|
|
|
type: 'group',
|
2022-09-19 09:23:01 +08:00
|
|
|
|
children: [
|
2022-10-07 12:11:21 +08:00
|
|
|
|
'/welcome/community/contributing',
|
2022-10-31 11:52:17 +08:00
|
|
|
|
// '/welcome/community/faq',
|
2022-10-07 12:11:21 +08:00
|
|
|
|
'/welcome/community/translations',
|
2022-11-12 17:12:50 +08:00
|
|
|
|
|
2022-10-07 12:11:21 +08:00
|
|
|
|
'/welcome/community/thanks',
|
2022-09-19 09:23:01 +08:00
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
'/manual': [
|
2022-10-31 11:52:17 +08:00
|
|
|
|
{
|
|
|
|
|
title: 'Quick Start',
|
|
|
|
|
'title.zh-CN': '快速上手',
|
2022-12-23 09:42:44 +08:00
|
|
|
|
'title.TR-TR': 'Hızlı Başlangıç',
|
2022-10-31 11:52:17 +08:00
|
|
|
|
type: 'group',
|
|
|
|
|
children: [
|
|
|
|
|
'/manual/quick-start/the-first-app',
|
|
|
|
|
'/manual/quick-start/functional-zoning',
|
|
|
|
|
'/manual/quick-start/ui-editor-mode',
|
|
|
|
|
'/manual/quick-start/plugins',
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: 'Core Concepts',
|
|
|
|
|
'title.zh-CN': '核心概念',
|
2022-12-23 09:42:44 +08:00
|
|
|
|
'title.TR-TR': 'Temel Kavramlar',
|
2022-10-31 11:52:17 +08:00
|
|
|
|
type: 'group',
|
|
|
|
|
children: [
|
|
|
|
|
'/manual/core-concepts/a-b-c',
|
|
|
|
|
'/manual/core-concepts/collections',
|
|
|
|
|
'/manual/core-concepts/blocks',
|
|
|
|
|
'/manual/core-concepts/actions',
|
|
|
|
|
'/manual/core-concepts/menus',
|
|
|
|
|
'/manual/core-concepts/containers',
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: 'Blocks Guide',
|
|
|
|
|
'title.zh-CN': '区块指南',
|
2022-12-23 09:42:44 +08:00
|
|
|
|
'title.TR-TR': 'Blok Rehberi',
|
2022-10-31 11:52:17 +08:00
|
|
|
|
type: 'group',
|
2022-11-12 17:12:50 +08:00
|
|
|
|
children: ['/manual/blocks-guide/charts'],
|
2022-10-31 11:52:17 +08:00
|
|
|
|
},
|
2022-09-19 09:23:01 +08:00
|
|
|
|
],
|
|
|
|
|
'/development': [
|
|
|
|
|
{
|
|
|
|
|
title: 'Getting started',
|
|
|
|
|
'title.zh-CN': '快速开始',
|
2022-12-23 09:42:44 +08:00
|
|
|
|
'title.TR-TR': 'Başlarken',
|
2022-09-19 09:23:01 +08:00
|
|
|
|
type: 'group',
|
2022-10-31 11:52:17 +08:00
|
|
|
|
children: [
|
2023-06-20 11:48:02 +08:00
|
|
|
|
'/development',
|
2022-10-31 11:52:17 +08:00
|
|
|
|
'/development/your-fisrt-plugin',
|
2022-10-31 22:41:24 +08:00
|
|
|
|
'/development/app-ds',
|
|
|
|
|
'/development/plugin-ds',
|
|
|
|
|
'/development/life-cycle',
|
|
|
|
|
// '/development/learning-guide',
|
2022-10-31 11:52:17 +08:00
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
2022-10-31 22:41:24 +08:00
|
|
|
|
title: 'Server',
|
|
|
|
|
'title.zh-CN': '服务端',
|
2022-12-23 09:42:44 +08:00
|
|
|
|
'title.TR-TR': 'Sunucu',
|
2022-10-31 11:52:17 +08:00
|
|
|
|
type: 'group',
|
|
|
|
|
children: [
|
2023-06-20 11:48:02 +08:00
|
|
|
|
'/development/server',
|
2022-11-02 11:33:07 +08:00
|
|
|
|
{
|
|
|
|
|
title: 'Collections & Fields',
|
|
|
|
|
'title.zh-CN': '数据表和字段',
|
2022-12-23 09:42:44 +08:00
|
|
|
|
'title.TR-TR': 'Koleksiyonlar & Alanlar',
|
2022-11-02 11:33:07 +08:00
|
|
|
|
children: [
|
2023-06-20 11:48:02 +08:00
|
|
|
|
'/development/server/collections',
|
2022-11-02 11:33:07 +08:00
|
|
|
|
'/development/server/collections/options',
|
|
|
|
|
'/development/server/collections/configure',
|
|
|
|
|
'/development/server/collections/association-fields',
|
|
|
|
|
'/development/server/collections/field-extension',
|
|
|
|
|
'/development/server/collections/collection-template',
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
// '/development/server/collections-fields',
|
2022-10-31 22:41:24 +08:00
|
|
|
|
'/development/server/resources-actions',
|
|
|
|
|
'/development/server/middleware',
|
|
|
|
|
'/development/server/commands',
|
|
|
|
|
'/development/server/events',
|
|
|
|
|
'/development/server/i18n',
|
|
|
|
|
'/development/server/migration',
|
|
|
|
|
'/development/server/test',
|
2022-10-31 11:52:17 +08:00
|
|
|
|
],
|
2022-09-19 09:23:01 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
2022-10-31 22:41:24 +08:00
|
|
|
|
title: 'Client',
|
|
|
|
|
'title.zh-CN': '客户端',
|
2022-12-23 09:42:44 +08:00
|
|
|
|
'title.TR-TR': 'Ziyaretçi(Client)',
|
2022-09-19 09:23:01 +08:00
|
|
|
|
type: 'group',
|
|
|
|
|
children: [
|
2023-06-20 11:48:02 +08:00
|
|
|
|
'/development/client',
|
2022-09-19 09:23:01 +08:00
|
|
|
|
{
|
2023-06-30 18:01:22 +08:00
|
|
|
|
title: 'UI designer',
|
2022-12-23 10:27:37 +08:00
|
|
|
|
'title.zh-CN': 'UI 设计器',
|
2022-12-23 09:42:44 +08:00
|
|
|
|
'title.TR-TR': 'Kullanıcı Arayüz Tasarımcısı',
|
2022-09-19 09:23:01 +08:00
|
|
|
|
children: [
|
2023-06-20 11:48:02 +08:00
|
|
|
|
// '/development/client/ui-schema-designer',
|
2022-10-31 22:41:24 +08:00
|
|
|
|
'/development/client/ui-schema-designer/what-is-ui-schema',
|
|
|
|
|
'/development/client/ui-schema-designer/extending-schema-components',
|
|
|
|
|
// '/development/client/ui-schema-designer/insert-adjacent',
|
|
|
|
|
'/development/client/ui-schema-designer/designable',
|
|
|
|
|
'/development/client/ui-schema-designer/component-library',
|
|
|
|
|
// '/development/client/ui-schema-designer/collection-manager',
|
|
|
|
|
// '/development/client/ui-schema-designer/acl',
|
|
|
|
|
'/development/client/ui-schema-designer/x-designer',
|
|
|
|
|
'/development/client/ui-schema-designer/x-initializer',
|
2022-09-19 09:23:01 +08:00
|
|
|
|
],
|
|
|
|
|
},
|
2022-10-31 22:41:24 +08:00
|
|
|
|
'/development/client/ui-router',
|
|
|
|
|
'/development/client/settings-center',
|
|
|
|
|
'/development/client/i18n',
|
|
|
|
|
'/development/client/test',
|
2022-09-19 09:23:01 +08:00
|
|
|
|
],
|
|
|
|
|
},
|
2022-10-31 22:41:24 +08:00
|
|
|
|
],
|
|
|
|
|
'/api': [
|
2023-06-20 11:48:02 +08:00
|
|
|
|
'/api',
|
2022-10-31 22:41:24 +08:00
|
|
|
|
'/api/env',
|
2022-09-19 09:23:01 +08:00
|
|
|
|
{
|
2022-09-29 21:17:55 +08:00
|
|
|
|
title: 'HTTP API',
|
2022-10-31 22:41:24 +08:00
|
|
|
|
type: 'subMenu',
|
2023-06-20 11:48:02 +08:00
|
|
|
|
children: ['/api/http', '/api/http/rest-api'],
|
2022-09-19 09:23:01 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '@nocobase/server',
|
|
|
|
|
type: 'subMenu',
|
2022-10-06 11:38:01 +08:00
|
|
|
|
children: [
|
2022-11-12 17:12:50 +08:00
|
|
|
|
'/api/server/application',
|
|
|
|
|
// '/api/server/plugin-manager',
|
2022-10-06 11:38:01 +08:00
|
|
|
|
'/api/server/plugin',
|
|
|
|
|
],
|
2022-09-19 09:23:01 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '@nocobase/database',
|
|
|
|
|
type: 'subMenu',
|
|
|
|
|
children: [
|
2023-06-20 11:48:02 +08:00
|
|
|
|
'/api/database',
|
2022-09-19 09:23:01 +08:00
|
|
|
|
'/api/database/collection',
|
|
|
|
|
'/api/database/field',
|
|
|
|
|
'/api/database/repository',
|
2022-10-06 10:29:53 +08:00
|
|
|
|
'/api/database/relation-repository/has-one-repository',
|
|
|
|
|
'/api/database/relation-repository/has-many-repository',
|
|
|
|
|
'/api/database/relation-repository/belongs-to-repository',
|
|
|
|
|
'/api/database/relation-repository/belongs-to-many-repository',
|
2022-09-19 09:23:01 +08:00
|
|
|
|
'/api/database/operators',
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '@nocobase/resourcer',
|
|
|
|
|
type: 'subMenu',
|
2023-06-20 11:48:02 +08:00
|
|
|
|
children: ['/api/resourcer', '/api/resourcer/resource', '/api/resourcer/action', '/api/resourcer/middleware'],
|
2022-09-19 09:23:01 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
2022-10-06 10:29:53 +08:00
|
|
|
|
title: '@nocobase/acl',
|
|
|
|
|
type: 'subMenu',
|
2023-06-20 11:48:02 +08:00
|
|
|
|
children: ['/api/acl/acl', '/api/acl/acl-role', '/api/acl/acl-resource'],
|
2022-09-19 09:23:01 +08:00
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '@nocobase/client',
|
|
|
|
|
type: 'subMenu',
|
|
|
|
|
children: [
|
2023-06-20 11:48:02 +08:00
|
|
|
|
// '/api/client',
|
2022-09-19 09:23:01 +08:00
|
|
|
|
'/api/client/application',
|
2023-07-07 14:35:22 +08:00
|
|
|
|
'/api/client/router',
|
2022-09-19 09:23:01 +08:00
|
|
|
|
{
|
|
|
|
|
title: 'SchemaDesigner',
|
|
|
|
|
'title.zh-CN': 'SchemaDesigner',
|
2022-12-23 09:42:44 +08:00
|
|
|
|
'title.TR-TR': 'Şema Tasarımcısı',
|
2023-02-17 09:58:52 +08:00
|
|
|
|
|
2022-09-19 09:23:01 +08:00
|
|
|
|
children: [
|
|
|
|
|
'/api/client/schema-designer/schema-component',
|
|
|
|
|
'/api/client/schema-designer/schema-initializer',
|
|
|
|
|
'/api/client/schema-designer/schema-settings',
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: 'Extensions',
|
|
|
|
|
'title.zh-CN': 'Extensions',
|
2022-12-23 09:42:44 +08:00
|
|
|
|
'title.TR-TR': 'Eklentiler',
|
2022-09-19 09:23:01 +08:00
|
|
|
|
children: [
|
2022-10-06 11:38:01 +08:00
|
|
|
|
// '/api/client/extensions/schema-component',
|
2022-09-19 09:23:01 +08:00
|
|
|
|
'/api/client/extensions/collection-manager',
|
|
|
|
|
'/api/client/extensions/block-provider',
|
|
|
|
|
'/api/client/extensions/acl',
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
2022-09-29 21:04:58 +08:00
|
|
|
|
title: '@nocobase/cli',
|
2023-06-20 17:11:18 +08:00
|
|
|
|
link: '/api/cli',
|
2022-09-19 09:23:01 +08:00
|
|
|
|
},
|
2022-10-06 10:29:53 +08:00
|
|
|
|
{
|
|
|
|
|
title: '@nocobase/actions',
|
2023-06-20 17:11:18 +08:00
|
|
|
|
link: '/api/actions',
|
2022-10-06 10:29:53 +08:00
|
|
|
|
},
|
2022-09-19 09:23:01 +08:00
|
|
|
|
{
|
|
|
|
|
title: '@nocobase/sdk',
|
2023-06-20 17:11:18 +08:00
|
|
|
|
link: '/api/sdk',
|
2022-09-19 09:23:01 +08:00
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
};
|
2023-06-20 11:48:02 +08:00
|
|
|
|
export { nav, sidebar };
|