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
This commit is contained in:
committed by
Facebook GitHub Bot
parent
f33d4b3f9e
commit
142eb8f9ea
@@ -7,7 +7,9 @@
|
|||||||
* @format
|
* @format
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// start-import-example
|
||||||
const {fbContent, fbInternalOnly} = require('internaldocs-fb-helpers');
|
const {fbContent, fbInternalOnly} = require('internaldocs-fb-helpers');
|
||||||
|
// end-import-example
|
||||||
|
|
||||||
const repoUrl = 'https://github.com/facebook/flipper';
|
const repoUrl = 'https://github.com/facebook/flipper';
|
||||||
const siteConfig = {
|
const siteConfig = {
|
||||||
@@ -48,6 +50,7 @@ const siteConfig = {
|
|||||||
label: 'GitHub',
|
label: 'GitHub',
|
||||||
position: 'right',
|
position: 'right',
|
||||||
},
|
},
|
||||||
|
// start-internal-navbar-example
|
||||||
...fbInternalOnly([
|
...fbInternalOnly([
|
||||||
{
|
{
|
||||||
to: 'docs/fb/index',
|
to: 'docs/fb/index',
|
||||||
@@ -55,6 +58,7 @@ const siteConfig = {
|
|||||||
position: 'right',
|
position: 'right',
|
||||||
},
|
},
|
||||||
]),
|
]),
|
||||||
|
// end-internal-navbar-example
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
colorMode: {
|
colorMode: {
|
||||||
|
|||||||
@@ -63,6 +63,7 @@ module.exports = {
|
|||||||
'tutorial/js-custom',
|
'tutorial/js-custom',
|
||||||
'tutorial/js-publishing',
|
'tutorial/js-publishing',
|
||||||
],
|
],
|
||||||
|
// start-internal-sidebars-example
|
||||||
'Plugin Development': [
|
'Plugin Development': [
|
||||||
'extending/js-setup',
|
'extending/js-setup',
|
||||||
'extending/js-plugin-api',
|
'extending/js-plugin-api',
|
||||||
@@ -83,6 +84,7 @@ module.exports = {
|
|||||||
'extending/fb/sandy/flipper-plugin',
|
'extending/fb/sandy/flipper-plugin',
|
||||||
]),
|
]),
|
||||||
],
|
],
|
||||||
|
// end-internal-sidebars-example
|
||||||
'Other Platforms': [
|
'Other Platforms': [
|
||||||
'extending/new-clients',
|
'extending/new-clients',
|
||||||
'extending/establishing-a-connection',
|
'extending/establishing-a-connection',
|
||||||
|
|||||||
Reference in New Issue
Block a user