Repository navigation
fix(docs): stop tracking the generated VitePress dependency cache - #769
Merged
linghengqian merged 1 commit intoNov 14, 2026
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #769 +/- ##
=======================================
Coverage 56.62% 56.62%
=======================================
Files 116 116
Lines 8595 8595
=======================================
Hits 4867 4867
Misses 3263 3263
Partials 465 465 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #768
docs/.vitepress/cache/holds Vite's pre-bundled dependencies. It got committed with the doc site in #54, and nothing ignored it, so every localdocs:devrun rewrote those 20 files and they showed up ingit status.This removes the directory from the index and adds
/docs/.vitepress/cache/to.gitignore, next to the existing.temp/anddist/entries.Checked locally:
npm run docs:buildpasses with the cache directory gone. The Documentation workflow only runsnpm installanddocs:build, so it doesn't need these files.vitepress devregenerates the cache,git statusshows nothing underdocs/.vitepress/cache(those files are now ignored). Onmain, the same run leaves 8 of the tracked cache files modified.