diff --git a/nx-dev/feature-package-schema-viewer/src/lib/content.tsx b/nx-dev/feature-package-schema-viewer/src/lib/content.tsx index 33513c94a6a67..68d6e81167372 100644 --- a/nx-dev/feature-package-schema-viewer/src/lib/content.tsx +++ b/nx-dev/feature-package-schema-viewer/src/lib/content.tsx @@ -144,28 +144,31 @@ export function Content({ - {/* We remove the top description on sub property lookup */} - {!schemaViewModel.subReference && ( - <> -
-
-
-
-
-
- Schema for internal use only -
-

- Please do not extend this schema as it is part of Nx internal - usage. -

+ {!schemaViewModel.subReference && schemaViewModel.hidden && ( +
+
+
+
+
+
+ Schema for internal use only
+

+ Please do not extend this schema as it is part of Nx internal + usage. +

+
+ )} + + {/* We remove the top description on sub property lookup */} + {!schemaViewModel.subReference && ( + <>
{vm.markdown}