From 733d61132e473ef30416fe2ff2f158be2ecb82e9 Mon Sep 17 00:00:00 2001 From: John Knox Date: Fri, 3 May 2019 07:07:40 -0700 Subject: [PATCH] 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 --- website/generate-uidocs.js | 2 +- website/i18n/en.json | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/website/generate-uidocs.js b/website/generate-uidocs.js index 755a744fc..d75de7212 100644 --- a/website/generate-uidocs.js +++ b/website/generate-uidocs.js @@ -11,7 +11,7 @@ const fs = require('fs'); const babylon = require('@babel/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) => { const content = files diff --git a/website/i18n/en.json b/website/i18n/en.json index 26574ac2c..c0ac3ca26 100644 --- a/website/i18n/en.json +++ b/website/i18n/en.json @@ -54,6 +54,10 @@ "extending/testing": { "title": "Testing" }, + "extending/ui-components": { + "title": "UI Components", + "sidebar_label": "UI Components" + }, "features/crash-reporter-plugin": { "title": "Crash Reporter" }, @@ -115,10 +119,6 @@ "troubleshooting": { "title": "Troubleshooting Issues", "sidebar_label": "Troubleshooting Issues" - }, - "ui-components": { - "title": "UI Components", - "sidebar_label": "UI Components" } }, "links": {