Open
Description
I discovered this in my repos and found it in yours too, which isn't surprising because I've basically copied your docs building process... :)
When Sphinx builds your docs, it makes a cache file named .doctrees/environment.pickle
that's ~5 MB in size and committed to your history when you re-build the docs. This cache file is not needed in your git history and only adds to the cloned repo size.
Here's some examples for your atomate2 repo:
12c86022b55f 5.0MiB .doctrees/environment.pickle
df99d6cf47ab 5.0MiB .doctrees/environment.pickle
017e8f108ab6 5.2MiB .doctrees/environment.pickle
c58ef06ef889 5.2MiB .doctrees/environment.pickle
3fc372356e04 5.2MiB .doctrees/environment.pickle
4693e7b8b4f1 5.3MiB .doctrees/environment.pickle
df223b93979c 5.3MiB .doctrees/environment.pickle
330457357bcc 5.3MiB .doctrees/environment.pickle
eb2f9fc502e9 5.4MiB .doctrees/environment.pickle
6a4f7368be42 5.4MiB _build/.doctrees/environment.pickle
I'd recommend adding *.doctrees*
to your .gitignore
and (optionally) using BFG Repo-Cleaner to clean them from your history. Some details of this pickle file are here.
Metadata
Metadata
Assignees
Labels
No labels