You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sphinx automatically pickles and caches the configuration, speeding up processing if there are no changes. Unfortunately, pickled function references in cautodoc_transformations are bound to change. This leads to re-reading of the source documents:
One idea is to use Sphinx events for the transformations, so that you could actually write independent Sphinx extensions for the transformations. app.add_event('cautodoc-transform') and app.emit_firstresult('cautodoc-transform', comment, transform) in Hawkmoth side, and app.connect('cautodoc-transform', transformation_function) in the extension implementing the transformation.
It's a bit sad I didn't think of this before implementing the current transformations, leading to another round of deprecations and changes.
Sphinx automatically pickles and caches the configuration, speeding up processing if there are no changes. Unfortunately, pickled function references in
cautodoc_transformations
are bound to change. This leads to re-reading of the source documents:This is quite an unfortunate unintentional consequence of the transformation mechanism.
The text was updated successfully, but these errors were encountered: