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,9 +3,8 @@ id: network-plugin
title: Network
---
import useBaseUrl from '@docusaurus/useBaseUrl';
import Link from '@docusaurus/Link';
<Link to={useBaseUrl("/docs/setup/network-plugin")}>See setup instructions for the Network plugin</Link>
[See setup instructions for the Network plugin](../setup/network-plugin.mdx)
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.