spatialaudio / nbsphinx

:ledger: Sphinx source parser for Jupyter notebooks
https://nbsphinx.readthedocs.io/
MIT License
441 stars 129 forks source link

nbsphinx breaks the raw directive #800

Open adosar opened 4 weeks ago

adosar commented 4 weeks ago

I am using Sphinx to build the documentation for my package, and inside an .rst file I have the following content:

.. raw:: html
    :file: images/plotly.html

which renders an interactive Plotly figure. Eveyrthing works fine until I add 'nbsphinx' in the extensions (in conf.py).

mgeier commented 2 weeks ago

Can you please provide a minimal reproducible example?

mgeier commented 2 weeks ago

As a quick stab in the dark, you can also try to set nbsphinx_requirejs_path to the empty string.

https://nbsphinx.readthedocs.io/en/0.9.4/configuration.html#nbsphinx_requirejs_path