This is an example of sphinx image copying problems, which are affecting scikit-learn and perhaps other projects.
This uses an extension to generate and save a matplotlib image. The first time make
is typed, everything is fine. Each subsequent time make
is typed, a new copy of the image is made in _build/html/_images
. In projects like scikit-learn where hundereds of images are generated, this leads to very large builds.
Typing make clean
and starting over fixes things, but this is a hack that shouldn't be required, especially on projects where rebuilding the doc from scratch takes a significant amount of time.
Example:
$: make $: ls _build/html/_images myplot.png $: make $: ls _build/html/_images myplot1.png myplot.png