lukasgeiter / mkdocs-awesome-pages-plugin

An MkDocs plugin that simplifies configuring page titles and their order
MIT License
453 stars 35 forks source link

Hide 'home' from menu? #28

Closed connerxyz closed 3 years ago

connerxyz commented 3 years ago

Is there a way to hide (i.e. docs/index.md) from showing up on the tabs?

lukasgeiter commented 3 years ago

Currently no. However I'm working on a new release which introduces a nav option that is similar to arrange but allows you to hide any pages not explicitly mentioned. Would this be sufficient or do you need a way to specify what pages to hide?

connerxyz commented 3 years ago

I believe so. As long as the default is not to always display home (even when it's not in .pages) like it is now. Thanks.

lukasgeiter commented 3 years ago

Good. Then you'll be happy to know that I've released v2.3.0 yesterday. It includes the nav attribute, which hides pages that are not specified unless there is a ... entry. See the updated README for details.