executablebooks / sphinx-thebe

A Sphinx extension to convert static code into interactive code cells with Jupyter, Thebe, and Binder.
https://sphinx-thebe.readthedocs.io/en/latest/
MIT License
28 stars 15 forks source link

Add feature flag for lazy loading #35

Closed choldgraf closed 3 years ago

choldgraf commented 3 years ago

@akhmerov rightly pointed out that our current lazy loading behavior will break some downstream projects that use this as part of their builds, but don't use the directive in this extension. We're tracking that in #34

This PR puts this behavior behind a feature flag and changes the default so that it now loads by default on every page. We can re-visit changing the default behavior once we are sure that it won't be too disruptive.

choldgraf commented 3 years ago

tracking reverting the default here: https://github.com/executablebooks/sphinx-thebe/issues/36