Restore UI components page in sidebar
Summary: This was missing because it was still being generated in /docs. Reviewed By: danielbuechele Differential Revision: D15198144 fbshipit-source-id: aa9e77a1603fb63c1a7576091b70d8fa7124ab16
This commit is contained in:
committed by
Facebook Github Bot
parent
d5573644ac
commit
733d61132e
@@ -11,7 +11,7 @@ const fs = require('fs');
|
|||||||
const babylon = require('@babel/parser');
|
const babylon = require('@babel/parser');
|
||||||
const docblockParser = require('docblock-parser');
|
const docblockParser = require('docblock-parser');
|
||||||
|
|
||||||
const TARGET = __dirname + '/../docs/ui-components.md';
|
const TARGET = __dirname + '/../docs/extending/ui-components.md';
|
||||||
|
|
||||||
glob(__dirname + '/../src/ui/components/**/*.js', (err, files) => {
|
glob(__dirname + '/../src/ui/components/**/*.js', (err, files) => {
|
||||||
const content = files
|
const content = files
|
||||||
|
|||||||
@@ -54,6 +54,10 @@
|
|||||||
"extending/testing": {
|
"extending/testing": {
|
||||||
"title": "Testing"
|
"title": "Testing"
|
||||||
},
|
},
|
||||||
|
"extending/ui-components": {
|
||||||
|
"title": "UI Components",
|
||||||
|
"sidebar_label": "UI Components"
|
||||||
|
},
|
||||||
"features/crash-reporter-plugin": {
|
"features/crash-reporter-plugin": {
|
||||||
"title": "Crash Reporter"
|
"title": "Crash Reporter"
|
||||||
},
|
},
|
||||||
@@ -115,10 +119,6 @@
|
|||||||
"troubleshooting": {
|
"troubleshooting": {
|
||||||
"title": "Troubleshooting Issues",
|
"title": "Troubleshooting Issues",
|
||||||
"sidebar_label": "Troubleshooting Issues"
|
"sidebar_label": "Troubleshooting Issues"
|
||||||
},
|
|
||||||
"ui-components": {
|
|
||||||
"title": "UI Components",
|
|
||||||
"sidebar_label": "UI Components"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"links": {
|
"links": {
|
||||||
|
|||||||
Reference in New Issue
Block a user