From 77ffe1d47b066d9f69d5bfff28b55205d8c02058 Mon Sep 17 00:00:00 2001 From: John Knox Date: Thu, 17 Dec 2020 08:31:03 -0800 Subject: [PATCH] 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 --- docs/internals/index.mdx | 8 +++++++ website/docusaurus.config.js | 14 +++++------- website/sidebars.js | 42 +++++++++++++++++++----------------- 3 files changed, 35 insertions(+), 29 deletions(-) create mode 100644 docs/internals/index.mdx 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', + ]), + ], }, };