vitepress-sidebar icon indicating copy to clipboard operation
vitepress-sidebar copied to clipboard

`sortMenusOrderNumericallyFromLinkwork` doesn't work on folder with no link

Open trdthg opened this issue 5 months ago • 2 comments

Hi! Currently, I use useFolderTitleFromIndexFile and useTitleFromFileHeading

I want to implement the following sorting:

1-xxx(folder)
  - index.md
  - xxx.md
2-xxx.md(file)
3-xxx(folder)
  - index.md
  - xxx.md

Is there something like sortBy[File|Folder]Name option works for both file and folder?

By the way, I don't want to use filename as the title, or use Frontmatter

trdthg avatar Sep 26 '24 09:09 trdthg