Closed
Description
It seems that sphinx-gallery includes the source code of its plots, and rewrites the source code files with each run. Then, for instance, Sphinx's Environment recognises a changed modification time on 'auto_examples/ensemble/plot_voting_decision_regions.py' which leads to 'auto_examples/ensemble/plot_voting_decision_regions' being marked as changed, even if the original source code was unchanged.
We should be sure to copy the code only if it's changed, or else copy but keep the original code's modification timestamp.