diff --git a/docs/internals/index.mdx b/docs/internals/index.mdx new file mode 100644 index 000000000..bdb15691c --- /dev/null +++ b/docs/internals/index.mdx @@ -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. + diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 28c896880..018389787 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -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: { diff --git a/website/sidebars.js b/website/sidebars.js index 973861c07..0ad16e91c 100644 --- a/website/sidebars.js +++ b/website/sidebars.js @@ -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', + ]), + ], }, };