perf: call `module.enableCompileCache()`
Co-authored-by: green <green@sapphi.red>6 hours ago70de34c
perf: hoist expensive operations in useLayout3 days agoe5ab067
chore: re-introduce 27c4151 (#4680)4 days ago2803b7e
Revert "chore: bump deps, drop node 18 from ci"
This reverts commit 27c4151c723054b9a124d7dd72ab488edaec5852.4 days ago910d6b4
chore: bump deps, drop node 18 from ci
vitepress will most likely keep supporting node 18 at least till rest of the month, but it'll be better if you upgrade sooner than later5 days ago27c4151
feat(theme)!: add `isHome` frontmatter option (#4673)
BREAKING CHANGE: `useLocalNav` and `useSidebar` are removed in favor of `useLayout`. To migrate, just do find and replace. Sidebar controls are no longer exported, but I didn't find any usage on GitHub. If there is demand, we can export respective composables later. `DefaultTheme.DocSidebar` and `DefaultTheme.DocLocalNav` types are also removed.
---------
Co-authored-by: Divyansh Singh <40380293+brc-dd@users.noreply.github.com>
Co-authored-by: userquin <userquin@gmail.com>5 days ago544cd81
chore(deps): bump vite from 6.2.4 to 6.2.5 (#4676)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.2.4 to 6.2.5.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v6.2.5/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.2.5/packages/vite)
---
updated-dependencies:
- dependency-name: vite
dependency-version: 6.2.5
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>last weekea5cbfc
chore(deps): bump vite from 6.2.3 to 6.2.4 (#4664)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 6.2.3 to 6.2.4.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v6.2.4/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.2.4/packages/vite)
---
updated-dependencies:
- dependency-name: vite
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>last week35f36a9
feat(theme): make "Take me home" button's link customizable (#4658)2 weeks ago0267dca
fix!: don't remove shiki styles from `pre` and remove unnecessary transformers (#4652)
BREAKING CHANGE: `vp-adaptive-theme` class is no longer added to code blocks when there is single theme. Theme authors supporting single code theme can use `.shiki:not(.shiki-themes)` as selector. Alternatively, it might be better to use the bg/fg variables set on the `.shiki` block to keep things generic.
BREAKING CHANGE: `vp-code` class is no longer added to code blocks. Use `.shiki` or `pre.shiki` or `[class*='language-'] pre` instead.
People not customizing their themes are not affected. But if you see weird stuff, you know what to change.2 weeks agodb58af5