jbms / sphinx-immaterial

Adaptation of the popular mkdocs-material material design theme to the sphinx documentation system
https://jbms.github.io/sphinx-immaterial/
Other
191 stars 29 forks source link

Fix #196 exception in MyST/markdown-it-py #197

Closed matthias-colt closed 1 year ago

matthias-colt commented 1 year ago

For the markdown_it module used by myst_parser the text must be passed as explicit string.

This PR ensures the title_text from self.default_title in custom_admonitions.py is converted from <class 'sphinx.locale._TranslationProxy'> to string.

This PR fixed #196.