Skip to content

[Doc]: create sphinx configuration that skips on dependencies #24414

@story645

Description

@story645

Documentation Link

https://matplotlib.org/devdocs/devel/documenting_mpl.html#building-the-docs

Problem

Latex, graphviz, and inkscape are kind of heavy dependencies to install if you're working on documentation changes that don't depend on latex, graphviz, or inkscape - like most of the gallary and a lot of the tutorials.

Suggested improvement

Can we adopt a sphinx equivalent of skipif? Two ways of doing this are: (edit: these are both sphinx directives)

..ifconfig ..only
pro arbitrary conditions as part of the directive have to explicitly enable with -t flag
con unclear how to disable have to maintain list of tags/conditions

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