Skip to content

docs: use ~/.vfox as the user directory in uninstall and config guides - #714

Merged
aooohan merged 1 commit into
version-fox:mainfrom
azzliang6:docs/fix-user-dir-path
Oct 2, 2026
Merged

aooohan merged 1 commit into
version-fox:mainfrom
azzliang6:docs/fix-user-dir-path

Conversation

@azzliang6

Copy link
Copy Markdown
Contributor

The uninstall guide tells users to run rm -rf ~/.version-fox, but since 1.0.0 vfox uses ~/.vfox. It only falls back to ~/.version-fox when that legacy directory already exists (see NewPathMeta in internal/pathmeta/path_meta.go).

Changes, in both the English and Chinese docs:

  • uninstallation: use rm -rf ~/.vfox and add a short note about the pre-1.0.0 ~/.version-fox directory
  • configuration: replace $HOME/.version-fox with $HOME/.vfox for config.yaml and the cache dir, and fix the available-hook cache path to $HOME/.vfox/plugin/<plugin-name>/.available.cache, which is where sdk.Available actually writes it

multi-user-sharing.md already describes the old and new names correctly, so I left it alone.

Closes #711

@codecov

codecov Bot commented Sep 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 35.09%. Comparing base (930f5be) to head (40e779b).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #714   +/-   ##
=======================================
  Coverage   35.09%   35.09%           
=======================================
  Files          92       92           
  Lines        6514     6514           
=======================================
  Hits         2286     2286           
  Misses       3922     3922           
  Partials      306      306           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@aooohan
aooohan merged commit 5fd54df into version-fox:main Oct 2, 2026
6 checks passed
@aooohan

aooohan commented Oct 2, 2026

Copy link
Copy Markdown
Member

Thanks for the first contribution.

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

Successfully merging this pull request may close these issues.

[Feature]: https://vfox.dev/zh-hans/guides/uninstallation.html should use ~/.vfox instead of ~/.version-fox

2 participants