Skip to content

[Doc]: plot_format adaption invalidates sphinx cache #22671

@timhoffm

Description

@timhoffm

Documentation Link

No response

Problem

76d4a3e introduced a reduction of the plot formats (if 'html' docs: only 'png'; if 'latex' docs: only 'pdf'). The implementation does the config change delayed via the hook app.connect('builder-inited', reduce_plot_formats). Unfortunately this makes sphinx always believe that the config changed:

updating environment: [config changed ('plot_formats')] 1757 added, 4 changed, 0 removed

This is basically irrelevant for CI, where we always build docs from scratch, but it increases the build time for local incremental builds significantly, and thus makes local doc building and thus documentation work quite annoying.

Suggested improvement

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions