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
|
||||
|
||||
@@ -16,10 +16,9 @@
|
||||
"@docusaurus/preset-classic": "^2.0.0-alpha.66",
|
||||
"classnames": "^2.2.6",
|
||||
"docblock-parser": "^1.0.0",
|
||||
"docusaurus-plugin-internaldocs-fb": "^0.5.7",
|
||||
"docusaurus-plugin-internaldocs-fb": "^0.7.0",
|
||||
"file-cli": "^1.2.0",
|
||||
"glob": "^7.1.3",
|
||||
"internaldocs-fb-helpers": "^1.2.0",
|
||||
"mermaid": "^8.8.4",
|
||||
"react": "^16.13.1",
|
||||
"react-docgen": "^5.2.1",
|
||||
|
||||
@@ -5227,13 +5227,13 @@ doctrine@^3.0.0:
|
||||
dependencies:
|
||||
esutils "^2.0.2"
|
||||
|
||||
docusaurus-plugin-internaldocs-fb@^0.5.7:
|
||||
version "0.5.7"
|
||||
resolved "https://registry.yarnpkg.com/docusaurus-plugin-internaldocs-fb/-/docusaurus-plugin-internaldocs-fb-0.5.7.tgz#7f2a1b1bbbe1edd22d817001edc2c3a5c1e8d988"
|
||||
integrity sha512-FIDNifFK3jB10NlEaiunMV3JdcDgOvCPgxFKFPzf8oe7W5fVSeY4stIcepnXbo5umpyKFMRtLT8Bw6loJkJF3Q==
|
||||
docusaurus-plugin-internaldocs-fb@^0.7.0:
|
||||
version "0.7.0"
|
||||
resolved "https://registry.yarnpkg.com/docusaurus-plugin-internaldocs-fb/-/docusaurus-plugin-internaldocs-fb-0.7.0.tgz#3eecd8a781eacaacb6a3d060d9bfab5110c14acb"
|
||||
integrity sha512-Mi2uanibcdbq9U17VCMdwOGY1fcGyPnoOQVtwir7HMHa1hm//7vuWbcaR1qYs2MvprkgE0NgidRKL8ChnEjdBA==
|
||||
dependencies:
|
||||
internaldocs-fb-helpers "^1.1.0"
|
||||
remark-code-snippets "^0.1.1"
|
||||
internaldocs-fb-helpers "^1.4.0"
|
||||
remark-code-snippets "^0.1.4"
|
||||
remark-mdx-filter-imports "^0.1.2"
|
||||
|
||||
dom-converter@^0.2:
|
||||
@@ -6845,10 +6845,10 @@ internal-ip@^4.3.0:
|
||||
default-gateway "^4.2.0"
|
||||
ipaddr.js "^1.9.0"
|
||||
|
||||
internaldocs-fb-helpers@^1.1.0, internaldocs-fb-helpers@^1.2.0:
|
||||
version "1.2.0"
|
||||
resolved "https://registry.yarnpkg.com/internaldocs-fb-helpers/-/internaldocs-fb-helpers-1.2.0.tgz#bdaf2a503ebbaa1eb69a5caa4f827f7beccda391"
|
||||
integrity sha512-qlJ19P13nt5kVXniEQZfZPnU+RK20jGIyuchn2eDI9KoZ65EnNBOo0Mpb31y/+7FQtadd4oC8OWpwoEbsTWgXA==
|
||||
internaldocs-fb-helpers@^1.4.0:
|
||||
version "1.4.0"
|
||||
resolved "https://registry.yarnpkg.com/internaldocs-fb-helpers/-/internaldocs-fb-helpers-1.4.0.tgz#65282d741c7b16f47efbf5d1c7507b18ad67d877"
|
||||
integrity sha512-bUf1wm5spaOrf5X41w8Zew2X4I9N5wOcsD6pYW5U87eeQoHoEzYsR8n+5GjP9ZAOmvkbqIxeHx0ccl6lSHDNmg==
|
||||
|
||||
interpret@^1.0.0:
|
||||
version "1.2.0"
|
||||
@@ -10188,10 +10188,10 @@ remark-admonitions@^1.2.1:
|
||||
unified "^8.4.2"
|
||||
unist-util-visit "^2.0.1"
|
||||
|
||||
remark-code-snippets@^0.1.1:
|
||||
version "0.1.1"
|
||||
resolved "https://registry.yarnpkg.com/remark-code-snippets/-/remark-code-snippets-0.1.1.tgz#46d3b45e5c27d048141b6f79211e47e0ef53b89e"
|
||||
integrity sha512-qOupYCWAiOf+Y2W0ApcaeQVvElRc5GBSLkVjsUP4avf9WAU73+8n41yTHhSVZdAUB6hw+Z7LOPmZ9Rz6FLIiTw==
|
||||
remark-code-snippets@^0.1.4:
|
||||
version "0.1.4"
|
||||
resolved "https://registry.yarnpkg.com/remark-code-snippets/-/remark-code-snippets-0.1.4.tgz#312d42d31facf49371eddf2a5bdd1ab27db91560"
|
||||
integrity sha512-4PkDgwuZFPGt3VvcORJlKXdKR/efmqxJrdZWEZfJAYPRqW2GtgInPxLezvnj0cqeIgW5vICItZnIzvF3u7BbKw==
|
||||
dependencies:
|
||||
unist-util-visit "^2.0.1"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user