Skip to content

Commit

Permalink
Merge pull request #557 from rulishu/rls
Browse files Browse the repository at this point in the history
fix(ios&android) 真机运行模块菜单调整
  • Loading branch information
ChenlingasMx committed Mar 17, 2023
2 parents a89bb64 + 4683721 commit 4deb3d5
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Android 真机环境安装
Android 真机运行
===

本文档将指导你通过必须的步骤在设备上运行 React Native app,为生产做准备 。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const DEMO = () => (
<Preview
{...md}
transformImageUri={transformImageUri}
path="website/src/pages/docs/environment-setup/ios-phone/README.md"
path="website/src/pages/docs/phone-run/android-phone/README.md"
/>
);
export default DEMO;
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
iOS 真机环境安装
iOS 真机运行
===

本文档将指导你通过必须的步骤在设备上运行 React Native app,为生产做准备。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ const transformImageUri = (url: string) => {
};

const DEMO = () => (
<Preview
{...md}
transformImageUri={transformImageUri}
path="website/src/pages/docs/environment-setup/android-phone/README.md"
/>
<Preview {...md} transformImageUri={transformImageUri} path="website/src/pages/docs/phone-run/ios-phone/README.md" />
);
export default DEMO;
7 changes: 4 additions & 3 deletions website/src/routes/menus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,10 @@ export const docsMenus: MenuData[] = [
{ path: '/docs/environment-setup/ios', name: 'iOS 环境安装' },
{ path: '/docs/environment-setup/android', name: 'Android(Mac) 环境安装' },
{ path: '/docs/environment-setup/android-windows', name: 'Android(Windows) 环境安装' },
{ path: '/docs/environment-setup/ios-phone', name: 'iOS 真机运行' },
{ path: '/docs/environment-setup/android-phone', name: 'Android(Mac) 真机运行' },
{ path: '/docs/environment-setup/android-windows-phone', name: 'Android(Windows) 真机运行' },
{ divider: true, name: '真机运行' },
{ path: '/docs/phone-run/ios-phone', name: 'iOS 真机运行' },
{ path: '/docs/phone-run/android-phone', name: 'Android(Mac) 真机运行' },
{ path: '/docs/phone-run/android-windows-phone', name: 'Android(Windows) 真机运行' },
{ divider: true, name: 'APP 打包' },
{ path: '/docs/unpack/ios', name: 'iOS 打包' },
{ path: '/docs/unpack/android', name: 'Android(Mac) 打包' },
Expand Down
12 changes: 6 additions & 6 deletions website/src/routes/router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,16 @@ export const routeData = [
component: lazy(() => import('../pages/docs/environment-setup/android-windows')),
},
{
path: '/docs/environment-setup/ios-phone',
component: lazy(() => import('../pages/docs/environment-setup/ios-phone')),
path: '/docs/phone-run/ios-phone',
component: lazy(() => import('../pages/docs/phone-run/ios-phone')),
},
{
path: '/docs/environment-setup/android-phone',
component: lazy(() => import('../pages/docs/environment-setup/android-phone')),
path: '/docs/phone-run/android-phone',
component: lazy(() => import('../pages/docs/phone-run/android-phone')),
},
{
path: '/docs/environment-setup/android-windows-phone',
component: lazy(() => import('../pages/docs/environment-setup/android-phone')),
path: '/docs/phone-run/android-windows-phone',
component: lazy(() => import('../pages/docs/phone-run/android-phone')),
},
{
path: '/docs/app-store/ios',
Expand Down

0 comments on commit 4deb3d5

Please sign in to comment.