Rename FB Internal to Under the Hood

Summary:
I think there's a need for an "implementation details" section of the site. Especially as we're moving the rest of our wiki content there.

I see it as a good thing, because now we have a place for implementation details relevant to OSS contributors too, it's not all fb-specific.

Reviewed By: nikoant

Differential Revision: D25614909

fbshipit-source-id: 5ec081e6450a9ad1c30785ae4cca74b6fa0d2630
This commit is contained in:
John Knox
2020-12-17 08:31:03 -08:00
committed by Facebook GitHub Bot
parent df99ba3606
commit 77ffe1d47b
3 changed files with 35 additions and 29 deletions

8
docs/internals/index.mdx Normal file
View File

@@ -0,0 +1,8 @@
---
id: index
title: Internals
sidebar_label: Internals
---
This part of the site is for those interested in **how** Flipper works, to help those wanting to modify the source code of the application itself.

View File

@@ -56,15 +56,11 @@ const siteConfig = {
label: 'GitHub',
position: 'right',
},
// start-internal-navbar-example
...fbInternalOnly([
{
to: 'docs/fb/index',
label: 'FB Internal',
position: 'right',
},
]),
// end-internal-navbar-example
{
to: 'docs/internals/index',
label: 'Under the Hood',
position: 'right',
},
],
},
colorMode: {

View File

@@ -115,27 +115,29 @@ module.exports = {
'extending/layout-inspector',
],
},
'fb-internal': {
'FB Internal': fbInternalOnly([
'fb/index',
internals: {
Internals: [
'internals/index',
'extending/public-releases',
'fb/release-infra',
'fb/LauncherConfig',
'fb/hacking-on-launcher',
'fb/Flipper-fbsource-Pinning',
'fb/Flipper-Release-Cycle',
'fb/Add-Support-Group-to-Flipper-Support-Form',
'fb/Help-Updating-Flipper',
'extending/testing-rn',
'fb/Alerts',
'fb/bundling',
'fb/Certificate-Exchange-Diagram',
'fb/Electron-Upgrade',
'fb/flipper-analytics',
'fb/Navigation-Plugin-Development-Guide',
'fb/Oncall-Runbook',
'fb/sandcastle',
'fb/Star-Ratings',
]),
...fbInternalOnly([
'fb/release-infra',
'fb/LauncherConfig',
'fb/hacking-on-launcher',
'fb/Flipper-fbsource-Pinning',
'fb/Flipper-Release-Cycle',
'fb/Add-Support-Group-to-Flipper-Support-Form',
'fb/Help-Updating-Flipper',
'fb/Alerts',
'fb/bundling',
'fb/Certificate-Exchange-Diagram',
'fb/Electron-Upgrade',
'fb/flipper-analytics',
'fb/Navigation-Plugin-Development-Guide',
'fb/Oncall-Runbook',
'fb/sandcastle',
'fb/Star-Ratings',
]),
],
},
};