Skip to content

Commit a0141fb

Browse files
committed
website(docs): Add app-store/development
1 parent fc33425 commit a0141fb

File tree

9 files changed

+71
-2
lines changed

9 files changed

+71
-2
lines changed

website/src/component/Footer/index.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ const data = [
7474
href : 'https://github.com/jaywcjlove/mocker-api',
7575
title: 'Mocker API'
7676
},
77+
{
78+
href : 'https://www.pgyer.com/',
79+
title: 'App 应用内测分发托管'
80+
},
7781
]
7882
},
7983
{
@@ -91,6 +95,10 @@ const data = [
9195
href : 'https://jskatas.org/',
9296
title: 'JavaScript Katas'
9397
},
98+
{
99+
href : 'https://www.typescriptlang.org/',
100+
title: 'TypeScript'
101+
},
94102
{
95103
href : 'https://es6.ruanyifeng.com/',
96104
title: 'ES6 入门教程'
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
发布 Android 应用商店
2+
---
3+
4+
正在编辑中....
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import Markdown, { importAll } from '../../../../component/Markdown';
2+
3+
export default class Page extends Markdown {
4+
path = "/website/src/pages/docs/app-store/android/README.md";
5+
getMarkdown = async () => {
6+
const md = await import('./README.md');
7+
// 支持 markdown 中,相对于当前 index.tsx 相对路径引入图片资源
8+
importAll((require as any).context('./', true, /\.(png|gif|jpg)$/), this.imageFiles);
9+
return md.default || md;
10+
}
11+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
发布 iOS 应用商店
2+
---
3+
4+
正在编辑中....
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import Markdown, { importAll } from '../../../../component/Markdown';
2+
3+
export default class Page extends Markdown {
4+
path = "/website/src/pages/docs/app-store/android/README.md";
5+
getMarkdown = async () => {
6+
const md = await import('./README.md');
7+
// 支持 markdown 中,相对于当前 index.tsx 相对路径引入图片资源
8+
importAll((require as any).context('./', true, /\.(png|gif|jpg)$/), this.imageFiles);
9+
return md.default || md;
10+
}
11+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
参与组件/文档开发
2+
---
3+
4+
这里介绍,当前组件库开发和文档编写,方便您快速介入到项目开发中。
5+
6+
正在编辑中....
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import Markdown, { importAll } from '../../../component/Markdown';
2+
3+
export default class Page extends Markdown {
4+
path = "/website/src/pages/docs/development/README.md";
5+
getMarkdown = async () => {
6+
const md = await import('./README.md');
7+
// 支持 markdown 中,相对于当前 index.tsx 相对路径引入图片资源
8+
importAll((require as any).context('./', true, /\.(png|gif|jpg)$/), this.imageFiles);
9+
return md.default || md;
10+
}
11+
}

website/src/routes/menus.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,10 @@ export const docsMenus: MenuData[] = [
4646
{ path: '/docs/environment-setup/ios', name: 'iOS 环境安装' },
4747
{ path: '/docs/environment-setup/android', name: 'Android(Mac) 环境安装' },
4848
{ path: '/docs/environment-setup/android-windows', name: 'Android(Windows) 环境安装' },
49+
{ divider: true, name: "发布应用商店" },
50+
{ path: '/docs/app-store/ios', name: '发布 iOS 应用商店' },
51+
{ path: '/docs/app-store/android', name: '发布 Android 应用商店' },
52+
{ divider: true, name: "其它" },
53+
{ path: '/docs/development', name: '参与组件/文档开发' },
4954
{ href: 'https://github.com/uiwjs/react-native-uiw/releases', target: '_blank', name: '更新日志' },
5055
]

website/src/routes/router.tsx

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ export const getRouterData = {
3636
'/docs': {
3737
component: dynamicWrapper([], () => import('../pages/docs')),
3838
},
39+
'/docs/getting-started': {
40+
component: dynamicWrapper([], () => import('../pages/docs/getting-started')),
41+
},
3942
'/docs/environment-setup': {
4043
component: dynamicWrapper([], () => import('../pages/docs/environment-setup')),
4144
},
@@ -48,8 +51,14 @@ export const getRouterData = {
4851
'/docs/environment-setup/android-windows': {
4952
component: dynamicWrapper([], () => import('../pages/docs/environment-setup/android-windows')),
5053
},
51-
'/docs/getting-started': {
52-
component: dynamicWrapper([], () => import('../pages/docs/getting-started')),
54+
'/docs/app-store/ios': {
55+
component: dynamicWrapper([], () => import('../pages/docs/app-store/ios')),
56+
},
57+
'/docs/app-store/android': {
58+
component: dynamicWrapper([], () => import('../pages/docs/app-store/android')),
59+
},
60+
'/docs/development': {
61+
component: dynamicWrapper([], () => import('../pages/docs/development')),
5362
},
5463
// '/components': {
5564
// component: dynamicWrapper([], () => import('../layouts/ComponentsLayout')),

0 commit comments

Comments
 (0)