mirror of
https://github.com/nocobase/nocobase
synced 2024-11-16 00:16:46 +00:00
docs: ui schema
This commit is contained in:
parent
d6d3cac0eb
commit
80b4a715a5
@ -1,4 +1,3 @@
|
||||
import _ from 'lodash'
|
||||
import { getUmiConfig } from '@nocobase/devtools/umiConfig';
|
||||
import { defineConfig } from 'dumi';
|
||||
import { defineThemeConfig } from 'dumi-theme-nocobase';
|
||||
@ -43,14 +42,14 @@ export default defineConfig({
|
||||
title: 'Components',
|
||||
link: '/components/action',
|
||||
},
|
||||
{
|
||||
title: 'UI Schema',
|
||||
link: '/ui-schema/schema-initializer/page-add-block',
|
||||
},
|
||||
{
|
||||
title: 'Home site',
|
||||
link: lang === 'zh-CN' ? 'https://docs-cn.nocobase.com' : 'https://docs.nocobase.com',
|
||||
}
|
||||
// {
|
||||
// title: 'UI Schema',
|
||||
// link: '/ui-schema',
|
||||
// },
|
||||
],
|
||||
sidebarEnhance: {
|
||||
'/core': [
|
||||
@ -404,7 +403,49 @@ export default defineConfig({
|
||||
},
|
||||
]
|
||||
},
|
||||
]
|
||||
],
|
||||
'/ui-schema': [
|
||||
{
|
||||
title: 'SchemaInitializer',
|
||||
type: 'group',
|
||||
children: [
|
||||
{
|
||||
title: 'page:addBlock',
|
||||
link: '/ui-schema/schema-initializer/page-add-block',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'SchemaInitializerItem',
|
||||
type: 'group',
|
||||
children: [
|
||||
{
|
||||
title: 'ActionInitializerItem',
|
||||
link: '/ui-schema/schema-initializer-item/action-initializer-item',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'SchemaSettings',
|
||||
type: 'group',
|
||||
children: [
|
||||
{
|
||||
title: 'actionSettings:addNew',
|
||||
link: '/ui-schema/schema-settings/action-settings-add-new',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: 'SchemaSettingsItem',
|
||||
type: 'group',
|
||||
children: [
|
||||
{
|
||||
title: 'EditButton',
|
||||
link: '/ui-schema/schema-settings-item/edit-button',
|
||||
},
|
||||
],
|
||||
}
|
||||
],
|
||||
// '/ui-schema': [
|
||||
// {
|
||||
// title: 'Overview',
|
||||
|
@ -0,0 +1 @@
|
||||
# page:addBlock
|
Loading…
Reference in New Issue
Block a user