From a5dbfbb82d82657360c5c793141d183af527c106 Mon Sep 17 00:00:00 2001 From: John Knox Date: Mon, 20 Apr 2020 09:38:59 -0700 Subject: [PATCH] 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 --- website/generate-uidocs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/generate-uidocs.js b/website/generate-uidocs.js index dfd9b9060..94871292d 100644 --- a/website/generate-uidocs.js +++ b/website/generate-uidocs.js @@ -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'; -glob(__dirname + '/../src/ui/components/**/*.tsx', (err, files) => { +glob(__dirname + '/../desktop/app/src/ui/components/**/*.tsx', (err, files) => { const content = files .map(f => [f, fs.readFileSync(f)]) .map(([name, file]) => {