diff --git a/docs/features/leak-canary-plugin.mdx b/docs/features/leak-canary-plugin.mdx index 2dea5c65e..81cabe774 100644 --- a/docs/features/leak-canary-plugin.mdx +++ b/docs/features/leak-canary-plugin.mdx @@ -4,7 +4,7 @@ title: LeakCanary --- import useBaseUrl from '@docusaurus/useBaseUrl'; -→ [See setup instructions for the LeakCanary](../setup/leak-canary-plugin.mdx) +→ See setup instructions for [LeakCanary 1](../setup/leak-canary-plugin.mdx) or [LeakCanary 2](../setup/leak-canary-2-plugin.mdx) The LeakCanary plugin provides developers with Flipper support for [LeakCanary](https://github.com/square/leakcanary), an open source memory leak detection library. diff --git a/docs/setup/leak-canary-2-plugin.mdx b/docs/setup/leak-canary-2-plugin.mdx index 0370d9bef..7c20b8a36 100644 --- a/docs/setup/leak-canary-2-plugin.mdx +++ b/docs/setup/leak-canary-2-plugin.mdx @@ -1,7 +1,7 @@ --- -id: leak-canary-plugin -title: LeakCanary Setup -sidebar_label: LeakCanary +id: leak-canary-2-plugin +title: LeakCanary 2 Setup +sidebar_label: LeakCanary 2 --- Ensure that you already have an explicit dependency in your application's @@ -46,4 +46,4 @@ import com.facebook.flipper.plugins.leakcanary2.LeakCanary2FlipperPlugin } ``` -That's it! \ No newline at end of file +That's it! diff --git a/website/sidebars.js b/website/sidebars.js index 8160a9ea0..a26b770e3 100644 --- a/website/sidebars.js +++ b/website/sidebars.js @@ -88,6 +88,7 @@ module.exports = { 'setup/sandbox-plugin', 'setup/shared-preferences-plugin', 'setup/leak-canary-plugin', + 'setup/leak-canary-2-plugin', 'setup/crash-reporter-plugin', ], Advanced: ['custom-ports', 'stetho'],