From 142eb8f9eaa028fc69c7f357e6312fd789927d6c Mon Sep 17 00:00:00 2001 From: John Knox Date: Mon, 7 Sep 2020 06:38:24 -0700 Subject: [PATCH] Add doc markers to code Summary: Referencing these from the wiki should be better than copy-pasting so we know they are up-to-date Reviewed By: passy Differential Revision: D23564251 fbshipit-source-id: ad90fcaa88c3c638212a277ce49a5faa41cd07df --- website/docusaurus.config.js | 4 ++++ website/sidebars.js | 2 ++ 2 files changed, 6 insertions(+) diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 3c99eb3a1..785a10876 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -7,7 +7,9 @@ * @format */ +// start-import-example const {fbContent, fbInternalOnly} = require('internaldocs-fb-helpers'); +// end-import-example const repoUrl = 'https://github.com/facebook/flipper'; const siteConfig = { @@ -48,6 +50,7 @@ const siteConfig = { label: 'GitHub', position: 'right', }, + // start-internal-navbar-example ...fbInternalOnly([ { to: 'docs/fb/index', @@ -55,6 +58,7 @@ const siteConfig = { position: 'right', }, ]), + // end-internal-navbar-example ], }, colorMode: { diff --git a/website/sidebars.js b/website/sidebars.js index ef86abe29..6b51f5a6d 100644 --- a/website/sidebars.js +++ b/website/sidebars.js @@ -63,6 +63,7 @@ module.exports = { 'tutorial/js-custom', 'tutorial/js-publishing', ], + // start-internal-sidebars-example 'Plugin Development': [ 'extending/js-setup', 'extending/js-plugin-api', @@ -83,6 +84,7 @@ module.exports = { 'extending/fb/sandy/flipper-plugin', ]), ], + // end-internal-sidebars-example 'Other Platforms': [ 'extending/new-clients', 'extending/establishing-a-connection',