Skip to content

Commit

Permalink
Add doc markers to code
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jknoxville authored and facebook-github-bot committed Sep 7, 2020
1 parent f33d4b3 commit 142eb8f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -48,13 +50,15 @@ const siteConfig = {
label: 'GitHub',
position: 'right',
},
// start-internal-navbar-example
...fbInternalOnly([
{
to: 'docs/fb/index',
label: 'FB Internal',
position: 'right',
},
]),
// end-internal-navbar-example
],
},
colorMode: {
Expand Down
2 changes: 2 additions & 0 deletions website/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -83,6 +84,7 @@ module.exports = {
'extending/fb/sandy/flipper-plugin',
]),
],
// end-internal-sidebars-example
'Other Platforms': [
'extending/new-clients',
'extending/establishing-a-connection',
Expand Down

0 comments on commit 142eb8f

Please sign in to comment.