is_sphinx#

is_sphinx() bool[source]#

Check if we’re in a sphinx gallery env.

Returns
bool

True if we are in a sphinx gallery context, False otherwise