Move plugin docs to plugin folders
Summary: Moved plugin documentation and related assets to plugin folders, fixed links and configured redirects where required. Now these docs are used for both showing docs in Flipper and generating Flipper docs website. Reviewed By: passy Differential Revision: D29465567 fbshipit-source-id: 3ec4240b215b0d5baea5154f64266a9ba7ead3a5
This commit is contained in:
committed by
Facebook GitHub Bot
parent
4ad7a70ee3
commit
039d3a4a08
3
desktop/plugins/public/sandbox/docs/overview.mdx
Normal file
3
desktop/plugins/public/sandbox/docs/overview.mdx
Normal file
@@ -0,0 +1,3 @@
|
||||
import useBaseUrl from '@docusaurus/useBaseUrl';
|
||||
|
||||
The sandbox plugin allows developers to test changes in their apps by pointing them to a sandbox environment. It provides a simple UI to set and modify the URL to a development host that acts as a sandbox directly on the desktop, which prevents you from entering potentially long and complicated URL inside your app.
|
||||
11
desktop/plugins/public/sandbox/docs/setup.mdx
Normal file
11
desktop/plugins/public/sandbox/docs/setup.mdx
Normal file
@@ -0,0 +1,11 @@
|
||||
To use the sandbox plugin, you need to add the plugin to your Flipper client instance. Currently the plugin is only supported on Android.
|
||||
|
||||
## Android
|
||||
|
||||
```java
|
||||
import com.facebook.flipper.plugins.sandbox.SandboxFlipperPlugin;
|
||||
import com.facebook.flipper.plugins.sandbox.SandboxFlipperPluginStrategy;
|
||||
|
||||
final SandboxFlipperPluginStrategy strategy = getStrategy(); // Your strategy goes here
|
||||
client.addPlugin(new SandboxFlipperPlugin(strategy));
|
||||
```
|
||||
Reference in New Issue
Block a user