I want to display some collections in the navigation menu, don't want to display all collections in nav. So how can we exclude unwanted collections from the navigation menu. I have referred the following doc and found the solution for display pages but its not working for my collection please help me with this.

Referred Link: https://docs.statamic.com/tags/nav#hidden-pages