Skip to content

Update dependency vitepress-sidebar to v1.38.0 - #21

Merged
renovate[bot] merged 1 commit into
mainfrom
renovate/vitepress-sidebar-1.x
Aug 6, 2026
Merged

Update dependency vitepress-sidebar to v1.38.0#21
renovate[bot] merged 1 commit into
mainfrom
renovate/vitepress-sidebar-1.x

Conversation

@renovate

@renovate renovate Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
vitepress-sidebar (source) 1.37.01.38.0 age confidence

Release Notes

jooy2/vitepress-sidebar (vitepress-sidebar)

v1.38.0

Compare Source

  • Add sortMenusByCustomFunction option, which sorts the items of every folder with a function of your own, written in the form Array.prototype.sort expects. Each item being compared carries text, link, fileName, filePath, isDirectory, createDate, modifyDate and frontmatter, so an order can be decided from something the other options never read, such as a date kept in version control. The file times and the frontmatter are only read when the function accesses them. It decides the order of a whole folder by itself, so it cannot be used together with another sorting option, and a function cannot be written in JSON, so it is not available in a sidebar.config.json. (#​188)
  • withSidebar now honors the srcExclude of the VitePress configuration, so a page that is excluded from the build no longer has to be excluded a second time to keep it out of the sidebar. Its patterns are resolved from documentRootPath, exactly like VitePress resolves them from srcDir, and are applied on top of excludeByGlobPattern and the other exclusion options rather than replacing them. Excluding a dynamic route template excludes every page it generates. generateSidebar is not given the VitePress configuration, so it cannot read srcExclude. (#​181)
  • sortMenusOrderNumericallyFromLink now sorts a folder that has no link by its own path, instead of placing every such folder at one end of the list. Folders and files are ordered together by the number in their names even when the titles come from elsewhere, such as with useFolderTitleFromIndexFile and useTitleFromFileHeading. (#​183)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies label Aug 6, 2026
@renovate
renovate Bot enabled auto-merge (squash) August 6, 2026 02:13
@renovate
renovate Bot merged commit ebc7429 into main Aug 6, 2026
5 checks passed
@renovate
renovate Bot deleted the renovate/vitepress-sidebar-1.x branch August 6, 2026 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants