Convert Link tags to md syntax

Summary:
Previously we used <Link/> everywhere with useBaseUrl to avoid link destinations depending on the current url of the page.

This isn't necessary if you instead link to the **file name**, rather than the **url path**.
Then the links are resolved at build time, and work across imported markdown files etc.

This diff just does the pages under Features, because other ones will get conflicts. I'll do those later.

Reviewed By: nikoant

Differential Revision: D25589707

fbshipit-source-id: 35ca986e19fc2af1054b81d7253eeb3827947ab8
This commit is contained in:
John Knox
2020-12-16 10:35:34 -08:00
committed by Facebook GitHub Bot
parent e1edd62c30
commit 00356f96c5
12 changed files with 14 additions and 27 deletions

View File

@@ -3,14 +3,13 @@ id: react-native
title: React Native Support
---
import useBaseUrl from '@docusaurus/useBaseUrl';
import Link from '@docusaurus/Link';
<img alt="React Native + React DevTools" src={useBaseUrl("img/react-native-react.png")} />
The React Native and Developer tooling teams at Facebook work in close collaboration to make sure Flipper offers top-notch value out of the box for React Native development.
Integration between React Native and Flipper is enabled out of the box in React Native version 0.62 and higher.
<Link to={useBaseUrl("/docs/getting-started/index#setup-your-react-native-app")}>See setup instructions for React Native</Link>
[See setup instructions for React Native](../getting-started/index.mdx#setup-your-react-native-app)
<center>
<iframe width="560" height="315" src="https://www.youtube.com/embed/WltZTn3ODW4" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
@@ -52,8 +51,8 @@ _Example Flipper plugin: playing a game of Tic Tac Toe using Flipper and some em
If you would love to build a specific (or generic) extension for Flipper check out the following pointers! Plugins for Flipper can be distributed through NPM so sharing them is trivial.
* <Link to={useBaseUrl("/docs/tutorial/react-native")}>Creating a React Native Flipper Plugin</Link>
* <Link to={useBaseUrl("/docs/tutorial/js-setup")}>Create a Flipper Desktop Plugin</Link>
* [Creating a React Native Flipper Plugin](../tutorial/react-native.mdx)
* [Create a Flipper Desktop Plugin](../tutorial/js-setup.mdx)
### Community React Native plugins for Flipper