fix: mobile docs style (#2083)

This commit is contained in:
jack zhang 2023-06-20 17:11:18 +08:00 committed by GitHub
parent cc376673a9
commit acafe0f386
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 17 deletions

View File

@ -46,8 +46,8 @@ export default defineConfig({
github: 'https://github.com/nocobase/nocobase',
footer: 'nocobase | Copyright © 2022',
localesEnhance: [
{ id: 'zh-CN', switchPrefix: '中' },
{ id: 'en-US', switchPrefix: 'en' }
{ id: 'zh-CN', switchPrefix: '中', hostname: 'docs-cn.nocobase.com' },
{ id: 'en-US', switchPrefix: 'en', hostname: 'docs.nocobase.com' }
],
}),
// mfsu: true, // 报错

View File

@ -285,23 +285,17 @@ const sidebar = {
},
],
},
'/api/cli',
'/api/actions',
'/api/sdk',
{
title: '@nocobase/cli',
path: '/api/cli',
type: 'item',
link: '/api/cli',
},
{
title: '@nocobase/actions',
path: '/api/actions',
type: 'item',
link: '/api/actions',
},
{
title: '@nocobase/sdk',
path: '/api/sdk',
type: 'item',
link: '/api/sdk',
},
],
};

View File

@ -1,4 +1,4 @@
# NocoBase CLI
# @nocobase/cli
The NocoBase CLI is designed to help you develop, build, and deploy NocoBase applications.

View File

@ -57,7 +57,7 @@
"@vitejs/plugin-react": "^4.0.0",
"auto-changelog": "^2.4.0",
"dumi": "^2.2.0",
"dumi-theme-nocobase": "^0.2.11",
"dumi-theme-nocobase": "^0.2.12",
"ghooks": "^2.0.4",
"jsdom-worker": "^0.3.0",
"prettier": "^2.2.1",

View File

@ -11727,10 +11727,10 @@ dumi-assets-types@2.0.0-alpha.0:
resolved "https://registry.yarnpkg.com/dumi-assets-types/-/dumi-assets-types-2.0.0-alpha.0.tgz#46bf619ed1cb6d27bbe6a9cfe4be51e5e9589981"
integrity sha512-a/Y5lf0G6gwsEQ9hop/n03CcjmHsGBk384Cz/AEX6mRYrfSpUx/lQvP9HLoXkCzScl9PL1sSmLPnMkgaXDCZLA==
dumi-theme-nocobase@^0.2.11:
version "0.2.11"
resolved "https://registry.npmjs.org/dumi-theme-nocobase/-/dumi-theme-nocobase-0.2.11.tgz#690c64cd284c913d7f6428bc291c3a6cdf0f2d50"
integrity sha512-hpMJPgIYeUIXKlfxYI1LD3KL4vr6ZlFzeSXNVqAurnlLmP5zkyiGekA/Azgg5zSkeWdaYa+fbB6CPAVE9RCZ+Q==
dumi-theme-nocobase@^0.2.12:
version "0.2.12"
resolved "https://registry.yarnpkg.com/dumi-theme-nocobase/-/dumi-theme-nocobase-0.2.12.tgz#663c9bab60ae6dcfd5255b99780b4ddb7942ace7"
integrity sha512-ObjJZkKWYqeZ+JlQGOX71vI+FPD9RxASYRrFZV9vpkIALwkLfolwX+8JZTHq9VS8dG3+3tAukVY25FOagVs4ZA==
dependencies:
"@ant-design/icons" "^5.1.3"
"@babel/runtime" "^7.22.3"