Description
As pointed out by @larsoner (#448 (comment)_):
I think I have narrowed it down to these to conf.py
entries:
'subsection_order': gallery_order.sectionorder,
'within_subsection_order': gallery_order.subsectionorder,
I'm guessing that it's because Sphinx can't tell if these config values have changed or not, so decides to re-write everything. With those two lines as they are in mpl
master:
... what we could do is allow these entries to be strings and do some importlib
magic with them, rather than allowing them to be classes directly. That should allow sphinx
to treat them as static, rather than unknowns. In this case making changes to your classes will not be reflected in the build, but this should be (much) rarer than the case of changing a
4D99
single example, and also can be worked around with a simple make clean
(or removing the quotes from the name) when you want to do this.
Originally posted by @larsoner in #448 (comment)