Fix some broken links

Summary:
KESHAmambo pointed out some internal links are broken on the website: https://twitter.com/KESHAmambo/status/1255443093542895619

The way relative links are processed in docusaurus v1 and v2 has changed. This fixes them up.

Reviewed By: mweststrate

Differential Revision: D21301293

fbshipit-source-id: 7610e38a55bc066625373cf2eee9a3efb63aec08
This commit is contained in:
John Knox
2020-04-29 05:18:44 -07:00
committed by Facebook GitHub Bot
parent c62760b3e8
commit 281cd67ddb
13 changed files with 17 additions and 17 deletions

View File

@@ -4,7 +4,7 @@ title: Crash Reporter
---
import useBaseUrl from '@docusaurus/useBaseUrl';
→ [See setup instructions for the Crash Reporter](setup/crash-reporter-plugin)
→ [See setup instructions for the Crash Reporter](../setup/crash-reporter-plugin)
The Crash Reporter Plugin shows a notification in Flipper whenever an app crashes. You can click on the notification to see crash information like stacktrace and other metadata. For Android, you can click the "Open in Logs" button to jump to the row in the Logs plugin with the crash information.

View File

@@ -4,7 +4,7 @@ title: Databases
---
import useBaseUrl from '@docusaurus/useBaseUrl';
→ [See setup instructions for the Databases plugin](setup/databases-plugin)
→ [See setup instructions for the Databases plugin](../setup/databases-plugin)
The Databases plugin provides developers with read-write access to their databases:
- browse your tables' data

View File

@@ -4,7 +4,7 @@ title: Images
---
import useBaseUrl from '@docusaurus/useBaseUrl';
→ [See setup instructions for the images plugin](setup/images-plugin)
→ [See setup instructions for the images plugin](../setup/images-plugin)
The images plugin allows you to inspect what images were fetched, where they are
coming from and selectively clear caches. Currently, the plugin supports

View File

@@ -4,7 +4,7 @@ title: Layout Inspector
---
import useBaseUrl from '@docusaurus/useBaseUrl';
→ [See setup instructions for the Layout Inspector](setup/layout-plugin)
→ [See setup instructions for the Layout Inspector](../setup/layout-plugin)
The Layout Inspector in Flipper is useful for a ton of different debugging scenarios. First of all, you can inspect what views the hierarchy is made up of as well as what properties each view has. This is incredibly useful when debugging issues with your product.

View File

@@ -3,7 +3,7 @@ id: leak-canary-plugin
title: LeakCanary
---
→ [See setup instructions for the LeakCanary](setup/leak-canary-plugin)
→ [See setup instructions for the LeakCanary](../setup/leak-canary-plugin)
The LeakCanary plugin provides developers with Flipper support for [LeakCanary](https://github.com/square/leakcanary), an open source memory leak detection library.

View File

@@ -4,7 +4,7 @@ title: Navigation
---
import useBaseUrl from '@docusaurus/useBaseUrl';
→ [See setup instructions for the Navigation Plugin](setup/navigation-plugin)
→ [See setup instructions for the Navigation Plugin](../setup/navigation-plugin)
The Navigation Plugin allows users to quickly navigate to deep links within their mobile applications to help speed up the development cycle. The plugin is designed to integrate easily within your existing navigation framework or as a stand alone tool. Users can bookmark deep links and jump to them via the button in the tool bar.

View File

@@ -4,7 +4,7 @@ title: Network
---
import useBaseUrl from '@docusaurus/useBaseUrl';
→ [See setup instructions for the Network plugin](setup/network-plugin)
→ [See setup instructions for the Network plugin](../setup/network-plugin)
Use the Network inspector to inspect outgoing network traffic in your apps. You can easily browse all requests being made and their responses. The plugin also supports gzipped responses.

View File

@@ -3,6 +3,6 @@ id: sandbox-plugin
title: Sandbox
---
→ [See setup instructions for the Sandbox plugin](setup/sandbox-plugin)
→ [See setup instructions for the Sandbox plugin](../setup/sandbox-plugin)
The sandbox plugin allows developers to test changes in their apps by pointing them to a sandbox environment. It provides a simple UI to set and modify the URL to a development host that acts as a sandbox directly on the desktop, which prevents you from entering potentially long and complicated URL inside your app.

View File

@@ -4,7 +4,7 @@ title: Shared Preferences
---
import useBaseUrl from '@docusaurus/useBaseUrl';
→ [See setup instructions for the Shared Preferences plugin](setup/shared-preferences-plugin)
→ [See setup instructions for the Shared Preferences plugin](../setup/shared-preferences-plugin)
Easily inspect and modify the data contained within your app's shared preferences.

View File

@@ -108,7 +108,7 @@ dependencies {
## Enabling plugins
Finally, you need to add plugins to your Flipper client. Above, we have only added the Layout Inspector plugin to get you started. See [Network Plugin](setup/network-plugin) and [Layout Inspector Plugin](setup/layout-plugin) for information on how to add them, and also enable Litho or ComponentKit support. You can check the sample apps in the [GitHub repo](https://github.com/facebook/flipper) for examples of integrating other plugins.
Finally, you need to add plugins to your Flipper client. Above, we have only added the Layout Inspector plugin to get you started. See [Network Plugin](../setup/network-plugin) and [Layout Inspector Plugin](../setup/layout-plugin) for information on how to add them, and also enable Litho or ComponentKit support. You can check the sample apps in the [GitHub repo](https://github.com/facebook/flipper) for examples of integrating other plugins.
## Having trouble?

View File

@@ -223,7 +223,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
## Enabling plugins
Finally, you need to add plugins to your Flipper client. Above, we have only added the Layout Inspector plugin to get you started. See [Network Plugin](setup/network-plugin) and [Layout Inspector Plugin](setup/layout-plugin) for information on how to add them, and also enable Litho or ComponentKit support. You can check the sample apps in the [GitHub repo](https://github.com/facebook/flipper) for examples of integrating other plugins.
Finally, you need to add plugins to your Flipper client. Above, we have only added the Layout Inspector plugin to get you started. See [Network Plugin](../setup/network-plugin) and [Layout Inspector Plugin](../setup/layout-plugin) for information on how to add them, and also enable Litho or ComponentKit support. You can check the sample apps in the [GitHub repo](https://github.com/facebook/flipper) for examples of integrating other plugins.
## Having trouble?

View File

@@ -22,14 +22,14 @@ By default, the following plugins will be available:
Additional plugins can be installed through the plugin manager.
To create your own plugins and integrate with Flipper using JavaScript, check out our [writing plugins for React Native](/docs/tutorial/react-native) tutorial!
To create your own plugins and integrate with Flipper using JavaScript, check out our [writing plugins for React Native](../tutorial/react-native) tutorial!
To update the Flipper SDK in your project, you bump the version in the `ios/Podfile` and `android/gradle.properties` files of your project.
To update the Flipper SDK in your project, you bump the version in the `ios/Podfile` and `android/gradle.properties` files of your project.
## Manual Setup
If you are not using a default React Native template or cannot use the upgrade tool,
you can find instructions for how to integate Flipper into your projects in these guides:
- [React Native for Android](/docs/getting-started/react-native-android)
- [React Native for iOS](/docs/getting-started/react-native-ios)
- [React Native for Android](react-native-android)
- [React Native for iOS](react-native-ios)

View File

@@ -41,7 +41,7 @@ On a terminal, run the following:
```bash
adb shell am start -n <APP_PACKAGE>/com.facebook.flipper.android.diagnostics.FlipperDiagnosticActivity
```
This will only work if you added `FlipperDiagnosticActivity` to your `AndroidManifest.xml`. See [getting started](getting-started/) for help.
This will only work if you added `FlipperDiagnosticActivity` to your `AndroidManifest.xml`. See [getting started](getting-started/index) for help.
#### iOS
You'll need to manually add this [ViewController](https://github.com/facebook/flipper/blob/master/iOS/FlipperKit/FlipperDiagnosticsViewController.m) to your app to see the in-app diagnostics.
@@ -92,7 +92,7 @@ debugImplementation('com.facebook.flipper:flipper:*') {
### Build errors in React Native
If you experience errors such as `Undefined symbol: associated type descriptor for FloatLiteralType` or `Undefined symbol: __swift_FORCE_LOAD_$_swiftCompatibility50` after going through the [Getting Started](/docs/getting-started/) tutorial you must do as follows:
If you experience errors such as `Undefined symbol: associated type descriptor for FloatLiteralType` or `Undefined symbol: __swift_FORCE_LOAD_$_swiftCompatibility50` after going through the [Getting Started](getting-started/index) tutorial you must do as follows:
1. Open your project in Xcode;
1. Click in your project's name on the left side;