From d08aa5d33e14cefd94c97d3630e4464f98919912 Mon Sep 17 00:00:00 2001 From: Michel Weststrate Date: Tue, 15 Dec 2020 08:21:10 -0800 Subject: [PATCH] Removed void intro page to the tutorial Summary: The 'extending flipper' introduction page didn't contain anything meaty, so collapsed it into the tutorial introduction, cleaning up the top level navigation. Reviewed By: passy Differential Revision: D25531718 fbshipit-source-id: ca0f98186e889e13cb97be8818db3588738e5039 --- docs/extending/index.mdx | 4 ++-- docs/tutorial/intro.mdx | 4 ++++ website/docusaurus.config.js | 2 +- website/sidebars.js | 1 - 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/docs/extending/index.mdx b/docs/extending/index.mdx index 5cabfc063..ad43c4d4a 100644 --- a/docs/extending/index.mdx +++ b/docs/extending/index.mdx @@ -3,6 +3,6 @@ id: index title: Clients and Plugins --- -Flipper was designed with extensibility in mind from the start, to enable engineers to quickly build quality, easy-to-use tools for their own needs and applications. +import {Redirect} from '@docusaurus/router'; -In addition to building plugins for the existing platforms, you can also extend the capabilities of Flipper to other platforms by conforming to the `FlipperClient` API. After this, you can make use of the existing desktop plugins by writing client plugins that conform to the same API. + diff --git a/docs/tutorial/intro.mdx b/docs/tutorial/intro.mdx index 9c776cce1..f679dd3f3 100644 --- a/docs/tutorial/intro.mdx +++ b/docs/tutorial/intro.mdx @@ -6,6 +6,10 @@ import useBaseUrl from '@docusaurus/useBaseUrl'; Android App Tutorial + +Flipper was designed with extensibility in mind from the start to enable engineers to quickly build quality, easy-to-use tools for their own needs and applications. +In addition to building plugins for the existing platforms, you can also extend the capabilities of Flipper to other platforms by conforming to the `FlipperClient` API. After this, you can make use of the existing desktop plugins by writing client plugins that conform to the same API. + In this tutorial, we show you how how easy it is to build a Flipper plugin for Android and iOS that extracts data from your native application and displays it in the desktop app. diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 84c875499..e7e688676 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -41,7 +41,7 @@ const siteConfig = { position: 'right', }, { - to: 'docs/extending/index', + to: 'docs/tutorial/intro', label: 'Extending', position: 'right', }, diff --git a/website/sidebars.js b/website/sidebars.js index 183d16a02..b311eea05 100644 --- a/website/sidebars.js +++ b/website/sidebars.js @@ -52,7 +52,6 @@ module.exports = { Advanced: ['custom-ports', 'stetho'], }, extending: { - 'Extending Flipper': ['extending/index'], Tutorial: [ 'tutorial/intro', 'tutorial/ios',