Force trailing slash for flipper website

Summary: Use docusaurus new config option to force trailing slashes for all routes and fail build when extensions are not specified in markdown links to prevent flapping urls that lead to 404 in certain situations.

Reviewed By: jknoxville

Differential Revision: D32533292

fbshipit-source-id: a2d5fdff396b3bb4319893634dd637275ea9f598
This commit is contained in:
Anton Kastritskiy
2021-11-18 09:29:04 -08:00
committed by Facebook GitHub Bot
parent dbe9106762
commit 7d4a6437ef
15 changed files with 32 additions and 31 deletions

View File

@@ -10,7 +10,7 @@ Flipper is built to be a universal pluggable platform for development tools. Cur
### Overview
Flipper consists of a desktop interface built with javascript on top of Electron so that it can be packaged to run on any operating system.
This desktop app connects over a [tcp connection](establishing-a-connection) to applications running on simulators and connected devices. An application running on a device or simulator is what we refer to as a client.
This desktop app connects over a [tcp connection](establishing-a-connection.mdx) to applications running on simulators and connected devices. An application running on a device or simulator is what we refer to as a client.
The connection is bi-directional, allowing the desktop to query information from the client as well as the client to push updates directly to the desktop.
@@ -19,4 +19,4 @@ There are two kinds of plugins in Flipper, client plugins and desktop plugins. C
### Architecture - React Native
Simplified visualization of Flipper architecture, when used with React Native.
<img alt="Flipper communication diagram" src={useBaseUrl("img/flipper-communication-diagram.png")} />
<img alt="Flipper communication diagram" src={useBaseUrl("img/flipper-communication-diagram.png")} />