Upgrade static docs plugin

Summary:
Upgrade the static docs plugin.

You no longer need to import OssOnly and FbInternalOnly in markdown files, so removed those imports too.

Reviewed By: passy

Differential Revision: D26580059

fbshipit-source-id: 2763de2f5fbef41ec2ac7f7bdd147418badb78b6
This commit is contained in:
John Knox
2021-02-22 09:15:56 -08:00
committed by Facebook GitHub Bot
parent 328595c87f
commit 08b594db5c
16 changed files with 15 additions and 33 deletions

View File

@@ -3,7 +3,6 @@ id: desktop-plugin-structure
title: Plugin structure
---
import {FbInternalOnly, OssOnly} from 'internaldocs-fb-helpers';
import FbNpmDeps from '../fb/adding-npm-dependencies-0.mdx'
Flipper Desktop plugins have a rigid structure. We recommend to scaffold any new plugin using our scaffolding tooling.

View File

@@ -3,8 +3,6 @@ id: dev-setup
title: Development Setup
---
import {FbInternalOnly, OssOnly} from 'internaldocs-fb-helpers';
## IDE
<OssOnly>

View File

@@ -2,7 +2,6 @@
id: flipper-plugin
title: Desktop Plugin API
---
import {FbInternalOnly} from 'internaldocs-fb-helpers';
## PluginClient

View File

@@ -3,8 +3,6 @@ id: loading-custom-plugins
title: Dynamically Loading Plugins
---
import {FbInternalOnly, OssOnly} from 'internaldocs-fb-helpers';
<FbInternalOnly>
<div class="warning">

View File

@@ -3,7 +3,6 @@ id: plugin-distribution
title: Plugin Distribution
---
import {FbInternalOnly, OssOnly} from 'internaldocs-fb-helpers';
import FbPluginReleases from './fb/desktop-plugin-releases.mdx'
<OssOnly>

View File

@@ -5,7 +5,6 @@ title: Testing
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
import {FbInternalOnly, OssOnly} from 'internaldocs-fb-helpers';
import FbIosTesting from '../fb/ios-plugin-development-testing-ios-plugins-0.mdx';
import FbAndroidTesting from '../fb/android-plugin-development-testing-android-plugins-0.mdx';