docusaurus-plugin-auto-sidebars icon indicating copy to clipboard operation
docusaurus-plugin-auto-sidebars copied to clipboard

Seems to import folders not in sidebars.yaml

Open cjoy opened this issue 5 years ago • 2 comments

I have a folder that I don't want to include in the sidebar, but the plugin seems to be including that as well, even if it isn't included in the sidebars.yaml file :(

Unrelated side note - I think the docs are wrong for specifying the custom path. It says docs in the readme, but when I looked at the code, you're using path.

cjoy avatar Jun 02 '20 06:06 cjoy

Hi @cjoy, I've just added the hiding option in v1.0.5.

By setting the title value to false or an empty string for those folders you want to be hidden.

- folder1: 
  - Parent Folder One 
  - subfolder1: Sub Folder One
  - subfolder2: Sub Folder Two
  - subfolder3: false # Hide it!

I hope it would be useful.

ghominejad avatar Jun 02 '20 10:06 ghominejad

does this work for the root folders?

thx

metasaver avatar Aug 20 '20 15:08 metasaver