tachybase_todo/docs/config.ts
jack zhang 705b7449f0
feat: new plugin manager, supports adding plugins through UI (#2430)
* refactor: plugin manager page

* fix: bug

* feat: addByNpm api

* fix: improve the addByNpm

* feat: improve applicationPlugins:list api

* fix: re-download npm package when restart app

* fix: plugin delete api

* feat: plugin detail api

* feat: zipUrl add api

* fix: upload api bug

* fix: plugin detail info

* feat: upgrade api

* fix: upload api

* feat: handle plugin load error

* feat: support authToken

* feat: muti lang

* fix: build error

* fix: self review

* Update plugin-manager.ts

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: bugs

* fix: detail click and remove isOfficial

* fix: upgrade no refresh

* fix: file size and type check

* fix: bug

* fix: upgrade error

* fix: bug

* fix: bug

* fix: plugin card layout

* fix: handling exceptional cases

* fix: tgz file support

* fix: macos compress file

* fix: bug

* fix: bug

* fix: bug

* fix: bug

* fix: add upgrade npm type

* fix: bugs

* fix: bug

* fix: change plugins static expose url

* fix: api prefix

* fix: bug

* fix: add nginx `/static/plugin/` path

* fix: bugs and pr docker build no dts

* fix: bug

* fix: build tools bug

* fix: improve code

* fix: build bug

* feat: improve plugin info

* fix: ui bug

* fix: plugin document bug

* feat: improve code

* feat: improve code

* feat: process dev deps check

* feat: improve code

* feat: process.env.IS_DEV_CMD

* fix: do not delete the plugin package

* feat: plugin symlink

* fix: tsx watch --ignore=./storage/plugins/**

* fix: test error

* fix: improve code

* fix: improve code

* fix: emitStartedEvent

* fix: improve code

* fix: type error

* fix: test error

* test: console.log

* fix: createStoragePluginSymLink

* fix: clientStaticMiddleware rename to clientStaticUtils

* feat: build tools support plugins folder

* fix: 350px

* fix: error

* feat: client dev support plugin folder

* fix: clear cli options

* fix: typeError: Converting circular structure to JSON

* fix: plugin name

* chore: restart application after command

* feat: upgrade error & docs

* Update v14-changelog.md

* Update v14-changelog.md

* Update v14-changelog.md

* fix: gateway test

* refactor(plugin-workflow): add ready state for gracefully tearing down

* Revert "chore: restart application after command"

This reverts commit 5015274f8e4e06e506e15754b672330330e8c7f8.

* chore: stop application whe restart

* T 1218 change plugin folder (#2629)

* feat: change folder name

* feat: change `pm create` command

* feat:  revert plugin name change

* fix: delete samples

* feat: change plugins folder

* fix: pm create

* feat: update docs

* fix: link package error

* fix: docs

* fix: create command

* fix: pm add error

* fix: create  add build

* fix: pm creatre + add

* feat: add tar command

* fix: docs

* fix: bug

* fix: docs

---------

Co-authored-by: chenos <chenlinxh@gmail.com>

* feat: docs

* Update your-fisrt-plugin.md

* Update your-fisrt-plugin.md

* chore: application reload

* chore: test

* fix: pm add error

* chore: preset install skip exists plugin

* fix: createIfNotExists

---------

Co-authored-by: chenos <chenlinxh@gmail.com>
Co-authored-by: chareice <chareice@live.com>
Co-authored-by: Zhou <zhou.working@gmail.com>
Co-authored-by: mytharcher <mytharcher@gmail.com>
2023-09-12 22:39:23 +08:00

307 lines
8.7 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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 = {
'/welcome': [
{
title: 'Welcome',
'title.zh-CN': '欢迎',
'title.tr-TR': 'Hoşgeldiniz',
type: 'group',
children: [
'/welcome/introduction',
'/welcome/introduction/features',
'/welcome/introduction/when',
// '/welcome/introduction/learning-guide',
],
},
{
title: 'Getting started',
'title.zh-CN': '快速开始',
'title.tr-TR': 'Başlangıç',
type: 'group',
children: [
{
title: 'Installation',
'title.zh-CN': '安装',
'title.TR-TR': 'Kurulum',
children: [
'/welcome/getting-started/installation',
'/welcome/getting-started/installation/docker-compose',
'/welcome/getting-started/installation/create-nocobase-app',
'/welcome/getting-started/installation/git-clone',
],
},
{
title: 'Upgrading',
'title.zh-CN': '升级',
'title.TR-TR': 'Güncelleme',
children: [
'/welcome/getting-started/upgrading',
'/welcome/getting-started/upgrading/docker-compose',
'/welcome/getting-started/upgrading/create-nocobase-app',
'/welcome/getting-started/upgrading/git-clone',
],
},
],
},
{
title: 'Roadmap & Releases',
'title.zh-CN': '路线图 & 发布',
'title.TR-TR': 'Sürüm',
type: 'group',
children: [
'/welcome/release/roadmap',
{
type: 'item',
title: 'Changelog',
'title.zh-CN': '更新日志',
link: 'https://github.com/nocobase/nocobase/blob/main/CHANGELOG.md',
},
// '/welcome/release/index',
// '/welcome/release/v08-changelog',
'/welcome/release/v14-changelog',
'/welcome/release/v13-changelog',
'/welcome/release/v12-changelog',
'/welcome/release/v11-changelog',
'/welcome/release/v10-changelog',
],
},
{
title: 'Community',
'title.zh-CN': '社区',
'title.TR-TR': 'Topluluk',
type: 'group',
children: [
'/welcome/community/contributing',
// '/welcome/community/faq',
'/welcome/community/translations',
'/welcome/community/thanks',
],
},
],
'/manual': [
{
title: 'Quick Start',
'title.zh-CN': '快速上手',
'title.TR-TR': 'Hızlı Başlangıç',
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': '核心概念',
'title.TR-TR': 'Temel Kavramlar',
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': '区块指南',
'title.TR-TR': 'Blok Rehberi',
type: 'group',
children: ['/manual/blocks-guide/charts'],
},
],
'/development': [
{
title: 'Getting started',
'title.zh-CN': '快速开始',
'title.TR-TR': 'Başlarken',
type: 'group',
children: [
'/development',
'/development/your-fisrt-plugin',
'/development/app-ds',
'/development/plugin-ds',
'/development/life-cycle',
// '/development/learning-guide',
],
},
{
title: 'Server',
'title.zh-CN': '服务端',
'title.TR-TR': 'Sunucu',
type: 'group',
children: [
'/development/server',
{
title: 'Collections & Fields',
'title.zh-CN': '数据表和字段',
'title.TR-TR': 'Koleksiyonlar & Alanlar',
children: [
'/development/server/collections',
'/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',
'/development/server/resources-actions',
'/development/server/middleware',
'/development/server/commands',
'/development/server/events',
'/development/server/i18n',
'/development/server/migration',
'/development/server/test',
],
},
{
title: 'Client',
'title.zh-CN': '客户端',
'title.TR-TR': 'Ziyaretçi(Client)',
type: 'group',
children: [
'/development/client',
{
title: 'UI designer',
'title.zh-CN': 'UI 设计器',
'title.TR-TR': 'Kullanıcı Arayüz Tasarımcısı',
children: [
// '/development/client/ui-schema-designer',
'/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',
],
},
'/development/client/ui-router',
'/development/client/settings-center',
'/development/client/i18n',
'/development/client/test',
],
},
],
'/api': [
'/api',
'/api/env',
{
title: 'HTTP API',
type: 'subMenu',
children: ['/api/http', '/api/http/rest-api'],
},
{
title: '@nocobase/server',
type: 'subMenu',
children: [
'/api/server/application',
// '/api/server/plugin-manager',
'/api/server/plugin',
],
},
{
title: '@nocobase/database',
type: 'subMenu',
children: [
'/api/database',
'/api/database/collection',
'/api/database/field',
'/api/database/repository',
'/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',
'/api/database/operators',
],
},
{
title: '@nocobase/resourcer',
type: 'subMenu',
children: ['/api/resourcer', '/api/resourcer/resource', '/api/resourcer/action', '/api/resourcer/middleware'],
},
{
title: '@nocobase/acl',
type: 'subMenu',
children: ['/api/acl/acl', '/api/acl/acl-role', '/api/acl/acl-resource'],
},
{
title: '@nocobase/client',
type: 'subMenu',
children: [
// '/api/client',
'/api/client/application',
'/api/client/router',
{
title: 'SchemaDesigner',
'title.zh-CN': 'SchemaDesigner',
'title.TR-TR': 'Şema Tasarımcısı',
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',
'title.TR-TR': 'Eklentiler',
children: [
// '/api/client/extensions/schema-component',
'/api/client/extensions/collection-manager',
'/api/client/extensions/block-provider',
'/api/client/extensions/acl',
],
},
],
},
{
title: '@nocobase/cli',
link: '/api/cli',
},
{
title: '@nocobase/actions',
link: '/api/actions',
},
{
title: '@nocobase/sdk',
link: '/api/sdk',
},
],
};
export { nav, sidebar };