Fix UI-doc generation
Summary: I noticed the UI components page was empty, the components have been moved and the generator was still looking in the old place. Reviewed By: passy Differential Revision: D21131943 fbshipit-source-id: 3310d4f7c88ea0f1e77a13c81eb411f9b1475125
This commit is contained in:
committed by
Facebook GitHub Bot
parent
c0c96dcd3e
commit
a5dbfbb82d
@@ -22,7 +22,7 @@ Flipper has a lot of built in React components to build UIs. You can import them
|
|||||||
|
|
||||||
const TARGET = __dirname + '/../docs/extending/ui-components.md';
|
const TARGET = __dirname + '/../docs/extending/ui-components.md';
|
||||||
|
|
||||||
glob(__dirname + '/../src/ui/components/**/*.tsx', (err, files) => {
|
glob(__dirname + '/../desktop/app/src/ui/components/**/*.tsx', (err, files) => {
|
||||||
const content = files
|
const content = files
|
||||||
.map(f => [f, fs.readFileSync(f)])
|
.map(f => [f, fs.readFileSync(f)])
|
||||||
.map(([name, file]) => {
|
.map(([name, file]) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user