-
Notifications
You must be signed in to change notification settings - Fork 400
Closed
Description
I am using Pattern Lab Node v5.15.1 on Linux, with Node v16, using a Twig Edition.
Expected Behavior
If I add components/buttons/_buttons.md with the content:
---
hidden: true
---
That the "Buttons" group does not appear in the output of the documentation.
Relevant part of the patternlab documentation: https://patternlab.io/docs/hiding-patterns-in-the-navigation/#heading-hiding-pattern-sub-groups
Actual Behavior
The option seems to be ignored for a whole folder. At least for the Twig edition.
Hiding single files works as documented.
Steps to Reproduce
- Create a sub group structure e.g. "components/buttons".
- Add a test twig file to that folder, e.g. "components/buttons/test.twig" with some content.
- This appears in the documentation under the menu "components" as "buttons" then "test".
- Now add
components/buttons/_buttons.mdwith the content above (as in the expected behaviour. - The components -> buttons group should now no longer appear in the documentation menu. For me, it still does
Simplified example.
Reactions are currently unavailable