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
When attempting to internationalize Sphinx documentation that contains ipynb files using the make -e SPHINXOPTS="-D language='de'" html command, the following error occurs:
I have never used Sphinx internationalization myself, but I remember an issue a few years ago (#154) which seems to have been solved with #156. After that, I haven't heard about any problems, but maybe nobody has used it since then?
Anyway, I tried to reproduce, but the dependencies of the example project made it too cumbersome for me.
Can you please provide a minimal reproducible example?
@mgeier
Thanks for your response. I did some debugging and it seems that there is an issue with the internationalization logic in Sphinx. The MD and RST files are ok , but processing the internationalization logic for the IPYNB files which are in JSON format generates error.I will contact the Sphinx team and let them know.
nbsphinx is a great project, thank you.
Describe the bug
When attempting to internationalize Sphinx documentation that contains ipynb files using the
make -e SPHINXOPTS="-D language='de'" html
command, the following error occurs:How to Reproduce
git clone https://github.com/hwchase17/langchain.git
cd langchain/docs
locale_dirs = ['locale/'] # path is example but recommended.
make gettext
sphinx-intl update -p _build/gettext -l de
make -e SPHINXOPTS="-D language='de'" html
Environment Information
Sphinx extensions
The text was updated successfully, but these errors were encountered: