Reorganise the sdk installation sidebar
Summary: Give the sdk installation pages a bit more structure. To me it's much clearer now what they are. Happy to hear differing opinions so we get it right :) Reviewed By: passy Differential Revision: D25638164 fbshipit-source-id: 86b7fecd8aba0068336b15a308f4a9433817c68e
This commit is contained in:
committed by
Facebook GitHub Bot
parent
2f9d4280c1
commit
3bf9bcc275
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
id: android-native
|
id: android-native
|
||||||
title: Adding Flipper to Android apps with Gradle
|
title: Adding Flipper to Android apps with Gradle
|
||||||
sidebar_label: Adding Flipper to Android apps with Gradle
|
sidebar_label: Android with Gradle
|
||||||
---
|
---
|
||||||
import useBaseUrl from '@docusaurus/useBaseUrl';
|
import useBaseUrl from '@docusaurus/useBaseUrl';
|
||||||
import Link from '@docusaurus/Link';
|
import Link from '@docusaurus/Link';
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
id: ios-native
|
id: ios-native
|
||||||
title: Adding Flipper to iOS apps
|
title: Adding Flipper to iOS apps
|
||||||
sidebar_label: Adding Flipper to iOS apps
|
sidebar_label: Generic iOS apps
|
||||||
---
|
---
|
||||||
import useBaseUrl from '@docusaurus/useBaseUrl';
|
import useBaseUrl from '@docusaurus/useBaseUrl';
|
||||||
import Link from '@docusaurus/Link';
|
import Link from '@docusaurus/Link';
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
id: react-native-android
|
id: react-native-android
|
||||||
title: Manually set up your React Native Android App
|
title: Manually set up your React Native Android App
|
||||||
sidebar_label: React Native for Android
|
sidebar_label: Manual Android Setup
|
||||||
---
|
---
|
||||||
import useBaseUrl from '@docusaurus/useBaseUrl';
|
import useBaseUrl from '@docusaurus/useBaseUrl';
|
||||||
import Link from '@docusaurus/Link';
|
import Link from '@docusaurus/Link';
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
id: react-native-ios
|
id: react-native-ios
|
||||||
title: Manually set up your React Native iOS App
|
title: Manually set up your React Native iOS App
|
||||||
sidebar_label: React Native for iOS
|
sidebar_label: Manual iOS Setup
|
||||||
---
|
---
|
||||||
import useBaseUrl from '@docusaurus/useBaseUrl';
|
import useBaseUrl from '@docusaurus/useBaseUrl';
|
||||||
import Link from '@docusaurus/Link';
|
import Link from '@docusaurus/Link';
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
id: react-native
|
id: react-native
|
||||||
title: Set up your React Native App
|
title: Set up your React Native App
|
||||||
sidebar_label: React Native
|
sidebar_label: Automatic Setup
|
||||||
---
|
---
|
||||||
import useBaseUrl from '@docusaurus/useBaseUrl';
|
import useBaseUrl from '@docusaurus/useBaseUrl';
|
||||||
import Link from '@docusaurus/Link';
|
import Link from '@docusaurus/Link';
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
* @format
|
* @format
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const {fbInternalOnly} = require('internaldocs-fb-helpers');
|
const {fbInternalOnly, fbContent} = require('internaldocs-fb-helpers');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
features: {
|
features: {
|
||||||
@@ -38,13 +38,35 @@ module.exports = {
|
|||||||
setup: {
|
setup: {
|
||||||
'Getting Started': [
|
'Getting Started': [
|
||||||
'getting-started/index',
|
'getting-started/index',
|
||||||
...fbInternalOnly(['fb/Add-flipper-to-android-app']),
|
{
|
||||||
'getting-started/android-native',
|
'Adding Flipper to your app': [
|
||||||
...fbInternalOnly(['fb/Adding-flipper-to-ios-app']),
|
...fbContent({
|
||||||
'getting-started/ios-native',
|
external: [
|
||||||
'getting-started/react-native',
|
'getting-started/android-native',
|
||||||
'getting-started/react-native-android',
|
'getting-started/ios-native',
|
||||||
'getting-started/react-native-ios',
|
],
|
||||||
|
internal: [
|
||||||
|
{
|
||||||
|
Android: [
|
||||||
|
'fb/Add-flipper-to-android-app',
|
||||||
|
'getting-started/android-native',
|
||||||
|
],
|
||||||
|
iOS: [
|
||||||
|
'fb/Adding-flipper-to-ios-app',
|
||||||
|
'getting-started/ios-native',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
}),
|
||||||
|
{
|
||||||
|
'React Native': [
|
||||||
|
'getting-started/react-native',
|
||||||
|
'getting-started/react-native-android',
|
||||||
|
'getting-started/react-native-ios',
|
||||||
|
],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
'troubleshooting',
|
'troubleshooting',
|
||||||
{
|
{
|
||||||
'Other Platforms': [
|
'Other Platforms': [
|
||||||
|
|||||||
Reference in New Issue
Block a user