-
Notifications
You must be signed in to change notification settings - Fork 168
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
Change default cache directory? Remove default cache directory from .gitignore? #412
Comments
Nevermind, I just realized that I think the problem is that the default cache directory is So perhaps I should change this issue to the question, should we change the default cache directory and/or should we include the cache file in git by default. Also this issue should probably be transferred to the |
Is this similar to what you're looking for manubot/manubot#258? The pull request linked in that issue added a new type of caching. |
Is there documentation for Either way I'm not too picky about the format the cache is in like that person was. I honestly didn't know about the cache directory option which is why I made the issue. That should solve the problem. |
There is some documentation of |
To follow up, for large manuscripts I believe the best way to cache references is to copy the output
|
The
It's not entirely clear to me how we would enable |
For as long as I've used Manubot I know it's had a cache of some sort, but I don't know how it works under the hood. Does it just keep it in memory? In some OS-level cache folder?
Anyway, it would be useful for very large manuscripts or other large citation jobs if Manubot could check and create something like a
.manubot-cache
file. I think it'd be most convenient if it were able to be checked and created in the current working directory, or wherever Manubot was called from. That way, the file could be tracked with git, and in scenarios like gh-actions, Manubot could read it to skip generating citations.Lab Website Template basically implemented its own version of this method of caching.
The text was updated successfully, but these errors were encountered: