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: 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")} />

View File

@@ -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")} />

View File

@@ -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")} />

View File

@@ -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>

View File

@@ -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