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:
John Knox
2020-12-18 09:20:19 -08:00
committed by Facebook GitHub Bot
parent 2f9d4280c1
commit 3bf9bcc275
6 changed files with 35 additions and 13 deletions

View File

@@ -1,7 +1,7 @@
---
id: android-native
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 Link from '@docusaurus/Link';

View File

@@ -1,7 +1,7 @@
---
id: ios-native
title: Adding Flipper to iOS apps
sidebar_label: Adding Flipper to iOS apps
sidebar_label: Generic iOS apps
---
import useBaseUrl from '@docusaurus/useBaseUrl';
import Link from '@docusaurus/Link';

View File

@@ -1,7 +1,7 @@
---
id: react-native-android
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 Link from '@docusaurus/Link';

View File

@@ -1,7 +1,7 @@
---
id: react-native-ios
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 Link from '@docusaurus/Link';

View File

@@ -1,7 +1,7 @@
---
id: react-native
title: Set up your React Native App
sidebar_label: React Native
sidebar_label: Automatic Setup
---
import useBaseUrl from '@docusaurus/useBaseUrl';
import Link from '@docusaurus/Link';

View File

@@ -7,7 +7,7 @@
* @format
*/
const {fbInternalOnly} = require('internaldocs-fb-helpers');
const {fbInternalOnly, fbContent} = require('internaldocs-fb-helpers');
module.exports = {
features: {
@@ -38,13 +38,35 @@ module.exports = {
setup: {
'Getting Started': [
'getting-started/index',
...fbInternalOnly(['fb/Add-flipper-to-android-app']),
{
'Adding Flipper to your app': [
...fbContent({
external: [
'getting-started/android-native',
...fbInternalOnly(['fb/Adding-flipper-to-ios-app']),
'getting-started/ios-native',
],
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',
{
'Other Platforms': [