jupyter / jupyter-sphinx

Sphinx extension for rendering of Jupyter interactive widgets.
https://jupyter-sphinx.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
186 stars 65 forks source link

Incorrect handling of mathjax #134

Closed akhmerov closed 4 years ago

akhmerov commented 4 years ago

While moving execution to a post-transform (#107) brought a lot of advantages, it also causes problems, and this is one of those.

As far as I understand, sphinx determines whether to include mathjax in a page before applying post-transforms. This may result in mathjax missing from the build if there are no regular math directives, see e.g. https://59-73843754-gh.circle-artifacts.com/0/html/index.html