From 4e4b10cab65dc767094a295ecceced624509931f Mon Sep 17 00:00:00 2001 From: Mike Mai Date: Mon, 17 Dec 2018 18:10:56 -0500 Subject: [PATCH] docs: add logic to check hidden props --- apps/pattern-lab/src/_includes/utils/schema-docs.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/pattern-lab/src/_includes/utils/schema-docs.twig b/apps/pattern-lab/src/_includes/utils/schema-docs.twig index b7bd848768..af7320e502 100644 --- a/apps/pattern-lab/src/_includes/utils/schema-docs.twig +++ b/apps/pattern-lab/src/_includes/utils/schema-docs.twig @@ -105,7 +105,7 @@ - {% for key, prop in schema.properties %} + {% for key, prop in schema.properties if not schema.properties[key].hidden %} {{ key }}{% if key in requiredProps %}*{% endif %}