lukasgeiter / mkdocs-awesome-pages-plugin

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

Disable Page or Directory #4

Closed erickjx closed 5 years ago

erickjx commented 5 years ago

Hi, i want disable pages o directory to scan and display, it is possible?

lukasgeiter commented 5 years ago

Hi! Currently that's not possible using this plugin. What would be your use-case?

erickjx commented 5 years ago

Hi, i include "_snippets" directory with some useful md files with links, examples, and others things, then i used this in common with others documents directories.

lukasgeiter commented 5 years ago

I see, I'll consider it when working on the next release.

erickjx commented 5 years ago

thanks.

mattwilmott commented 5 years ago

Yeah I'd 100% use this feature too. My use case is I have a folder with JS files in it that I wish not to be rendered directly. A simple:

hide: true

in the .pages file would suffice

lukasgeiter commented 5 years ago

Sorry for the long wait. This feature is implemented and shipped with v2.1.0.
You can now set hide: true in your .pages files to hide a directory.