From 4459b2f2c8a41f1e38ec41205090a1c3056e99fe Mon Sep 17 00:00:00 2001 From: Martin Jesper Low Madsen Date: Fri, 31 Jan 2020 14:39:25 +0100 Subject: [PATCH] [Docs] Disable style documentation for @global identifiers --- docs/src/modules/utils/generateMarkdown.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/modules/utils/generateMarkdown.js b/docs/src/modules/utils/generateMarkdown.js index 538a25cff9a15d..0b01791a96ceee 100644 --- a/docs/src/modules/utils/generateMarkdown.js +++ b/docs/src/modules/utils/generateMarkdown.js @@ -336,7 +336,7 @@ function generateClasses(reactAPI) { text = `| Rule name | Global class | Description | |:-----|:-------------|:------------|\n`; - text += reactAPI.styles.classes + text += reactAPI.styles.classes.filter(cls => cls !== '@global') .map(styleRule => { const description = reactAPI.styles.descriptions[styleRule];