spatialaudio / nbsphinx

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

Syntax coloring works locally, not on RTD #482

Closed OverLordGoldDragon closed 4 years ago

OverLordGoldDragon commented 4 years ago

RTD; works locally:

image

Possible causes?

And thanks for the extension, a must-have for some uses.

mgeier commented 4 years ago

https://nbsphinx.readthedocs.io/en/0.7.1/installation.html#Pygments-Lexer-for-Syntax-Highlighting

OverLordGoldDragon commented 4 years ago

@mgeier Thanks.

For clarity: ensure IPython is included in RTD's build (via e.g. requirements.txt in .readthedocs.yml).