8000 Unnecessary regeneration of example pages · Issue #395 · sphinx-gallery/sphinx-gallery · GitHub
[go: up one dir, main page]

Skip to content
Unnecessary regeneration of example pages #395
Closed
@jnothman

Description

@jnothman

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0