Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

左侧菜单栏能否支持通过多级目录生成分组? #13

Closed
Yookoo opened this issue Jul 8, 2020 · 2 comments
Closed

左侧菜单栏能否支持通过多级目录生成分组? #13

Yookoo opened this issue Jul 8, 2020 · 2 comments

Comments

@Yookoo
Copy link

Yookoo commented Jul 8, 2020

---
autoGroup-1: 分组名称
# autoGroup+10: 分组名称
---

通过在文件中添加分组标签虽然也可以达到分组的效果,但是太多文件被放在同一个文件夹下,查找起来很麻烦,能否通过,将文件在不同的文件夹下,通过文件夹的名称作为组名,自动生成分组的效果。
目前的情况是,如果guide下还有文件夹就不能作为左侧菜单显示,例如:

-guide
- +--linux
       +-- linux.md

这样linux就无法被生成左侧的菜单。

@shanyuhai123
Copy link
Owner

如果以增加子文件夹来划分那就产生了新的问题:不同的目录在多少深度(几层子文件夹)时才划分为分组,配置起来感觉也并不直观。

这一块如果很多可以考虑下 官网 nav 的分组功能。

@Yookoo
Copy link
Author

Yookoo commented Jul 8, 2020

好的,我看一下,谢谢解答。

@Yookoo Yookoo closed this as completed Jul 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants