Files
flipper/website/sidebars.js
Michel Weststrate c902a27bce Add Sandy to internal documentation
Summary:
Scaffolded some internal Sandy notes and made them only internally available.

Since most of the pipeline was already set up by jknoxville, it is unclear to me if something needs to be done to set up the auto redirect from fbflipper.com

Reviewed By: jknoxville

Differential Revision: D22233534

fbshipit-source-id: 4bdf5535f5745e7e4d335647759c6cf1b7cc73c6
2020-07-01 09:12:36 -07:00

109 lines
2.8 KiB
JavaScript

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
*/
/**
Adds content only if building internal FB version of documentations
e.g. ...FBInternalOnly({'sected-id'})
*/
function FBInternalOnly(elements) {
return process.env.FB_INTERNAL ? elements : [];
}
function NotInFBInternal(elements) {
return process.env.FB_INTERNAL ? [] : elements;
}
module.exports = {
"features": {
"Features": [
"features/index",
"features/logs-plugin",
"features/layout-plugin",
"features/navigation-plugin",
"features/network-plugin",
"features/databases-plugin",
"features/images-plugin",
"features/sandbox-plugin",
"features/shared-preferences-plugin",
"features/leak-canary-plugin",
"features/crash-reporter-plugin",
"features/share-flipper-data",
"features/react-native"
]
},
"setup": {
"Getting Started": [
"getting-started/index",
"getting-started/android-native",
"getting-started/ios-native",
"getting-started/react-native",
"getting-started/react-native-android",
"getting-started/react-native-ios",
"troubleshooting"
],
"Plugin Setup": [
"setup/layout-plugin",
"setup/navigation-plugin",
"setup/network-plugin",
"setup/databases-plugin",
"setup/images-plugin",
"setup/sandbox-plugin",
"setup/shared-preferences-plugin",
"setup/leak-canary-plugin",
"setup/crash-reporter-plugin"
],
"Advanced": [
"custom-ports",
"stetho"
]
},
"extending": {
"Extending Flipper": [
"extending/index"
],
"Tutorial": [
"tutorial/intro",
"tutorial/ios",
"tutorial/android",
"tutorial/react-native",
"tutorial/js-setup",
"tutorial/js-table",
"tutorial/js-custom",
"tutorial/js-publishing"
],
"Plugin Development": [
"extending/js-setup",
"extending/js-plugin-api",
"extending/create-table-plugin",
"extending/ui-components",
"extending/styling-components",
"extending/search-and-filter",
"extending/create-plugin",
"extending/client-plugin-lifecycle",
"extending/send-data",
"extending/error-handling",
"extending/testing",
"extending/debugging",
...FBInternalOnly([ // TODO: Remove once sandy is public T69061061
"extending/fb/sandy/sandy-plugins"
])
],
"Other Platforms": [
"extending/new-clients",
"extending/establishing-a-connection",
"extending/supporting-layout"
],
"Internals": [
"extending/arch",
"extending/layout-inspector",
"extending/testing-rn"
]
}
}