fix 404 pages
Reviewed By: jknoxville, passy Differential Revision: D37614048 fbshipit-source-id: 58593b45193382ccdcc8a7eeb77335e663e8eb95
This commit is contained in:
committed by
Facebook GitHub Bot
parent
569283a1a7
commit
013e964287
@@ -24,7 +24,7 @@ On a terminal, run the following:
|
|||||||
adb shell am start -n <APP_PACKAGE>/com.facebook.flipper.android.diagnostics.FlipperDiagnosticActivity
|
adb shell am start -n <APP_PACKAGE>/com.facebook.flipper.android.diagnostics.FlipperDiagnosticActivity
|
||||||
```
|
```
|
||||||
|
|
||||||
This will only work if you added `FlipperDiagnosticActivity` to your `AndroidManifest.xml`. See [getting started](./getting-started/android-native.mdx#diagnostics) for help.
|
This will only work if you added `FlipperDiagnosticActivity` to your `AndroidManifest.xml`. See [getting started](../android-native.mdx#diagnostics) for help.
|
||||||
|
|
||||||
## Exception from call site #4 bootstrap method
|
## Exception from call site #4 bootstrap method
|
||||||
|
|
||||||
|
|||||||
@@ -7,9 +7,7 @@
|
|||||||
* @format
|
* @format
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// start-import-example
|
const {fbContent, fbInternalOnly} = require('docusaurus-plugin-internaldocs-fb/internal');
|
||||||
const {fbContent, fbInternalOnly} = require('internaldocs-fb-helpers');
|
|
||||||
// end-import-example
|
|
||||||
|
|
||||||
const repoUrl = 'https://github.com/facebook/flipper';
|
const repoUrl = 'https://github.com/facebook/flipper';
|
||||||
const siteUrl = fbContent({
|
const siteUrl = fbContent({
|
||||||
@@ -47,7 +45,7 @@ const siteConfig = {
|
|||||||
},
|
},
|
||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
to: 'docs/features/index',
|
to: 'docs/features',
|
||||||
label: 'Features',
|
label: 'Features',
|
||||||
position: 'right',
|
position: 'right',
|
||||||
},
|
},
|
||||||
@@ -62,7 +60,7 @@ const siteConfig = {
|
|||||||
position: 'right',
|
position: 'right',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
to: 'docs/internals/index',
|
to: 'docs/internals',
|
||||||
label: 'Under the Hood',
|
label: 'Under the Hood',
|
||||||
position: 'right',
|
position: 'right',
|
||||||
},
|
},
|
||||||
@@ -102,7 +100,7 @@ const siteConfig = {
|
|||||||
items: [
|
items: [
|
||||||
{
|
{
|
||||||
label: 'Core Plugins',
|
label: 'Core Plugins',
|
||||||
to: 'docs/features/index',
|
to: 'docs/features',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Community Plugins',
|
label: 'Community Plugins',
|
||||||
@@ -270,7 +268,7 @@ const siteConfig = {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
to: '/docs/getting-started',
|
to: '/docs/getting-started',
|
||||||
from: ['/docs/fb/index'],
|
from: ['/docs/fb'],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
from: ['/docs/features/network-plugin'],
|
from: ['/docs/features/network-plugin'],
|
||||||
@@ -371,7 +369,16 @@ const siteConfig = {
|
|||||||
to: '/docs/features/plugins/mobile-config',
|
to: '/docs/features/plugins/mobile-config',
|
||||||
},
|
},
|
||||||
]),
|
]),
|
||||||
],
|
].map(x => ({
|
||||||
|
...x,
|
||||||
|
from: x.from.reduce(
|
||||||
|
(acc, href) => {
|
||||||
|
acc.push(href, `${href}/index`);
|
||||||
|
return acc;
|
||||||
|
},
|
||||||
|
[],
|
||||||
|
)}),
|
||||||
|
),
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user