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:
committed by
Facebook GitHub Bot
parent
328595c87f
commit
08b594db5c
@@ -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.
|
||||
|
||||
@@ -3,8 +3,6 @@ id: dev-setup
|
||||
title: Development Setup
|
||||
---
|
||||
|
||||
import {FbInternalOnly, OssOnly} from 'internaldocs-fb-helpers';
|
||||
|
||||
## IDE
|
||||
|
||||
<OssOnly>
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
id: flipper-plugin
|
||||
title: Desktop Plugin API
|
||||
---
|
||||
import {FbInternalOnly} from 'internaldocs-fb-helpers';
|
||||
|
||||
## PluginClient
|
||||
|
||||
|
||||
@@ -3,8 +3,6 @@ id: loading-custom-plugins
|
||||
title: Dynamically Loading Plugins
|
||||
---
|
||||
|
||||
import {FbInternalOnly, OssOnly} from 'internaldocs-fb-helpers';
|
||||
|
||||
<FbInternalOnly>
|
||||
|
||||
<div class="warning">
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@ id: index
|
||||
title: Desktop App
|
||||
---
|
||||
import useBaseUrl from '@docusaurus/useBaseUrl';
|
||||
import {FbInternalOnly, OssOnly} from 'internaldocs-fb-helpers';
|
||||
|
||||
import FbInstallation from './fb/installation.mdx';
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@ title: Navigation Plugin Setup
|
||||
sidebar_label: Navigation
|
||||
---
|
||||
|
||||
import {FbInternalOnly} from 'internaldocs-fb-helpers';
|
||||
import FbNavigationPluginSetup from '../fb/Navigation-Plugin.mdx';
|
||||
|
||||
<FbInternalOnly>
|
||||
|
||||
@@ -7,8 +7,6 @@ import useBaseUrl from '@docusaurus/useBaseUrl';
|
||||
|
||||
import InternalTroubleshooting from './fb/internal-troubleshooting.mdx';
|
||||
|
||||
import {FbInternalOnly, OssOnly} from 'internaldocs-fb-helpers';
|
||||
|
||||
We hope that flipper works well out of the box, but the software is a work in progress and problems will occur. Below are some known issues and steps you can take to try to resolve them.
|
||||
|
||||
<FbInternalOnly>
|
||||
|
||||
@@ -3,7 +3,6 @@ id: android
|
||||
title: Building an Android Plugin
|
||||
---
|
||||
import useBaseUrl from '@docusaurus/useBaseUrl';
|
||||
import {FbInternalOnly} from 'internaldocs-fb-helpers';
|
||||
|
||||
<img alt="Android Tutorial App" src={useBaseUrl("img/android-tutorial-app.png")} />
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@ id: intro
|
||||
title: Intro
|
||||
---
|
||||
import useBaseUrl from '@docusaurus/useBaseUrl';
|
||||
import {FbInternalOnly} from 'internaldocs-fb-helpers';
|
||||
|
||||
<img alt="Android App Tutorial" src={useBaseUrl("img/android-tutorial.png")} />
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@ id: ios
|
||||
title: Building an iOS Plugin
|
||||
---
|
||||
import useBaseUrl from '@docusaurus/useBaseUrl';
|
||||
import {FbInternalOnly} from 'internaldocs-fb-helpers';
|
||||
|
||||
<img alt="iOS Tutorial App" src={useBaseUrl("img/ios-tutorial-app.png")} />
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@ sidebar_label: Publishing
|
||||
---
|
||||
import useBaseUrl from '@docusaurus/useBaseUrl';
|
||||
import Link from '@docusaurus/Link';
|
||||
import {FbInternalOnly, OssOnly} from 'internaldocs-fb-helpers';
|
||||
|
||||
<FbInternalOnly>
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@ title: Building a Desktop Plugin
|
||||
sidebar_label: Building a Desktop Plugin
|
||||
---
|
||||
import useBaseUrl from '@docusaurus/useBaseUrl';
|
||||
import {FbInternalOnly, OssOnly} from 'internaldocs-fb-helpers';
|
||||
|
||||
Now that we have the native side covered, let's display the data we're sending
|
||||
on the desktop side. You can check out the full workflow of building Flipper desktop
|
||||
|
||||
Reference in New Issue
Block a user