diff --git a/docs/extending/desktop-plugin-structure.mdx b/docs/extending/desktop-plugin-structure.mdx index 60753f1ca..383283b35 100644 --- a/docs/extending/desktop-plugin-structure.mdx +++ b/docs/extending/desktop-plugin-structure.mdx @@ -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. diff --git a/docs/extending/dev-setup.mdx b/docs/extending/dev-setup.mdx index 6b9120008..dde4ad4f1 100644 --- a/docs/extending/dev-setup.mdx +++ b/docs/extending/dev-setup.mdx @@ -3,8 +3,6 @@ id: dev-setup title: Development Setup --- -import {FbInternalOnly, OssOnly} from 'internaldocs-fb-helpers'; - ## IDE diff --git a/docs/extending/flipper-plugin.mdx b/docs/extending/flipper-plugin.mdx index 0d26c5343..5556bcc65 100644 --- a/docs/extending/flipper-plugin.mdx +++ b/docs/extending/flipper-plugin.mdx @@ -2,7 +2,6 @@ id: flipper-plugin title: Desktop Plugin API --- -import {FbInternalOnly} from 'internaldocs-fb-helpers'; ## PluginClient diff --git a/docs/extending/loading-custom-plugins.mdx b/docs/extending/loading-custom-plugins.mdx index d4d637e0e..4d2d47e53 100644 --- a/docs/extending/loading-custom-plugins.mdx +++ b/docs/extending/loading-custom-plugins.mdx @@ -3,8 +3,6 @@ id: loading-custom-plugins title: Dynamically Loading Plugins --- -import {FbInternalOnly, OssOnly} from 'internaldocs-fb-helpers'; -
diff --git a/docs/extending/plugin-distribution.mdx b/docs/extending/plugin-distribution.mdx index 12d6a77cc..1b5054ba6 100644 --- a/docs/extending/plugin-distribution.mdx +++ b/docs/extending/plugin-distribution.mdx @@ -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' diff --git a/docs/extending/testing.mdx b/docs/extending/testing.mdx index 97d45cc85..f98200367 100644 --- a/docs/extending/testing.mdx +++ b/docs/extending/testing.mdx @@ -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'; diff --git a/docs/getting-started/index.mdx b/docs/getting-started/index.mdx index 0d3f35076..a32fd8c87 100644 --- a/docs/getting-started/index.mdx +++ b/docs/getting-started/index.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'; diff --git a/docs/setup/navigation-plugin.mdx b/docs/setup/navigation-plugin.mdx index 32a8e1538..6a7e0940e 100644 --- a/docs/setup/navigation-plugin.mdx +++ b/docs/setup/navigation-plugin.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'; diff --git a/docs/troubleshooting.mdx b/docs/troubleshooting.mdx index c613b1cbd..bd76cb7b0 100644 --- a/docs/troubleshooting.mdx +++ b/docs/troubleshooting.mdx @@ -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. diff --git a/docs/tutorial/android.mdx b/docs/tutorial/android.mdx index 0d0d50e12..e0c932dc2 100644 --- a/docs/tutorial/android.mdx +++ b/docs/tutorial/android.mdx @@ -3,7 +3,6 @@ id: android title: Building an Android Plugin --- import useBaseUrl from '@docusaurus/useBaseUrl'; -import {FbInternalOnly} from 'internaldocs-fb-helpers'; Android Tutorial App diff --git a/docs/tutorial/intro.mdx b/docs/tutorial/intro.mdx index 3e9401ccb..d78f257ad 100644 --- a/docs/tutorial/intro.mdx +++ b/docs/tutorial/intro.mdx @@ -3,7 +3,6 @@ id: intro title: Intro --- import useBaseUrl from '@docusaurus/useBaseUrl'; -import {FbInternalOnly} from 'internaldocs-fb-helpers'; Android App Tutorial diff --git a/docs/tutorial/ios.mdx b/docs/tutorial/ios.mdx index 9974de664..1affdc4b1 100644 --- a/docs/tutorial/ios.mdx +++ b/docs/tutorial/ios.mdx @@ -3,7 +3,6 @@ id: ios title: Building an iOS Plugin --- import useBaseUrl from '@docusaurus/useBaseUrl'; -import {FbInternalOnly} from 'internaldocs-fb-helpers'; iOS Tutorial App diff --git a/docs/tutorial/js-publishing.mdx b/docs/tutorial/js-publishing.mdx index 60f3e335b..33ac48804 100644 --- a/docs/tutorial/js-publishing.mdx +++ b/docs/tutorial/js-publishing.mdx @@ -5,7 +5,6 @@ sidebar_label: Publishing --- import useBaseUrl from '@docusaurus/useBaseUrl'; import Link from '@docusaurus/Link'; -import {FbInternalOnly, OssOnly} from 'internaldocs-fb-helpers'; diff --git a/docs/tutorial/js-setup.mdx b/docs/tutorial/js-setup.mdx index 10fe16188..4bee77620 100644 --- a/docs/tutorial/js-setup.mdx +++ b/docs/tutorial/js-setup.mdx @@ -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 diff --git a/website/package.json b/website/package.json index a47fa6cdb..fe61f31ee 100644 --- a/website/package.json +++ b/website/package.json @@ -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", diff --git a/website/yarn.lock b/website/yarn.lock index 8478fc5bb..98c87dfc5 100644 --- a/website/yarn.lock +++ b/website/yarn.lock @@ -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"