Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cache folder): Change cache path to ~/.cache/babeldoc #98

Merged
merged 2 commits into from
Feb 17, 2025

Conversation

xxnuo
Copy link
Contributor

@xxnuo xxnuo commented Feb 16, 2025

No description provided.

@awwaawwa
Copy link
Member

The current version shares cache with pdf2zh, so this path cannot be changed.

The cache of pdf2zh and babeldoc are both written by me, and the database definitions are consistent, so they can be shared directly.

Thank you for your contribution!

@awwaawwa awwaawwa closed this Feb 17, 2025
@awwaawwa
Copy link
Member

awwaawwa commented Feb 17, 2025

I have created a issue to track this issue. This issue is expected to be fixed after pdf2zh 2.0 is released.

pdf2zh 2.0 is being tracked at Byaidu/PDFMathTranslate#586 and https://github.com/Byaidu/PDFMathTranslate/milestone/2.

@awwaawwa
Copy link
Member

After thinking about it, it seems there won't be much impact if we move it now. Let's just move it.

@awwaawwa awwaawwa reopened this Feb 17, 2025
@awwaawwa awwaawwa changed the title Update cache folder setting feat(cache folder): Change cache path to ~/.cache/babeldoc Feb 17, 2025
@awwaawwa awwaawwa merged commit cbf4d57 into funstory-ai:main Feb 17, 2025
@awwaawwa
Copy link
Member

Thank you for your contribution. According to https://github.com/funstory-ai/BabelDOC/blob/main/docs/CONTRIBUTOR_REWARD.md , you can apply for a monthly membership redemption code for Immersive Translate.

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.

bug(cache): Cache database should be placed in ~/.cache/babeldoc instead of ~/.cache/pdf2zh
2 participants