Fix broken links on website and github readme

Summary:
The url for the getting started page was changed yesterday. (no longer getting-started.html)
This fixes some links that were broken because of it.

Reviewed By: cekkaewnumchai

Differential Revision: D20855343

fbshipit-source-id: 788efb75f3581e4fe6cecd5f69f11dd64b03e7df
This commit is contained in:
John Knox
2020-04-04 02:29:04 -07:00
committed by Facebook GitHub Bot
parent 4be1b4d491
commit f1e8297800
6 changed files with 11 additions and 15 deletions

View File

@@ -50,7 +50,7 @@ This repository includes all parts of Flipper. This includes:
# Getting started # Getting started
Please refer to our [Getting Started guide](https://fbflipper.com/docs/getting-started.html) to set up Flipper. Please refer to our [Getting Started guide](https://fbflipper.com/docs/getting-started/) to set up Flipper.
## Requirements ## Requirements

View File

@@ -360,9 +360,7 @@ function getTemplate(
{ {
label: 'Getting started', label: 'Getting started',
click: function () { click: function () {
shell.openExternal( shell.openExternal('https://fbflipper.com/docs/getting-started/');
'https://fbflipper.com/docs/getting-started.html',
);
}, },
}, },
{ {

View File

@@ -166,9 +166,7 @@ export default class WelcomeScreen extends PureComponent<Props, State> {
<Item <Item
onClick={() => onClick={() =>
shell && shell &&
shell.openExternal( shell.openExternal('https://fbflipper.com/docs/getting-started/')
'https://fbflipper.com/docs/getting-started.html',
)
}> }>
<Icon size={20} name="tools" color={brandColors.Flipper} /> <Icon size={20} name="tools" color={brandColors.Flipper} />
<FlexColumn> <FlexColumn>

View File

@@ -40,7 +40,7 @@ On a terminal, run the following:
```bash ```bash
adb shell am start -n <APP_PACKAGE>/com.facebook.flipper.android.diagnostics.FlipperDiagnosticActivity 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.html) for help. This will only work if you added `FlipperDiagnosticActivity` to your `AndroidManifest.xml`. See [getting started](getting-started/) for help.
#### iOS #### 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. 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.
@@ -91,7 +91,7 @@ debugImplementation('com.facebook.flipper:flipper:*') {
### Build errors in React Native ### 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.html) 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](/docs/getting-started/) tutorial you must do as follows:
1. Open your project in Xcode; 1. Open your project in Xcode;
1. Click in your project's name on the left side; 1. Click in your project's name on the left side;

View File

@@ -36,7 +36,7 @@ class Footer extends React.Component {
</a> </a>
<div> <div>
<h5>Docs</h5> <h5>Docs</h5>
<a href="/docs/getting-started.html">Getting Started</a> <a href="/docs/getting-started/">Getting Started</a>
<a href="/docs/extending/js-setup.html">Creating Plugins</a> <a href="/docs/extending/js-setup.html">Creating Plugins</a>
</div> </div>
<div> <div>

View File

@@ -17,10 +17,10 @@ class Index extends React.Component {
<div className="content"> <div className="content">
<h1>Extensible mobile app&nbsp;debugger</h1> <h1>Extensible mobile app&nbsp;debugger</h1>
<h2> <h2>
Flipper is a platform for debugging iOS, Android Flipper is a platform for debugging iOS, Android and React Native
and React Native apps. Visualize, inspect, and control your apps apps. Visualize, inspect, and control your apps from a simple
from a simple desktop interface. Use Flipper as is or extend it desktop interface. Use Flipper as is or extend it using the plugin
using the plugin API. API.
</h2> </h2>
<div className="row"> <div className="row">
<p <p
@@ -128,7 +128,7 @@ class Index extends React.Component {
</div> </div>
</div> </div>
<div className="wrapper landing-cta"> <div className="wrapper landing-cta">
<a href="/docs/getting-started.html" className="landing-btn primary"> <a href="/docs/getting-started/" className="landing-btn primary">
Integrate Flipper In Your App Integrate Flipper In Your App
</a> </a>
<a <a