Closed matthias-colt closed 1 year ago
For the markdown_it module used by myst_parser the text must be passed as explicit string.
markdown_it
myst_parser
This PR ensures the title_text from self.default_title in custom_admonitions.py is converted from <class 'sphinx.locale._TranslationProxy'> to string.
title_text
self.default_title
custom_admonitions.py
<class 'sphinx.locale._TranslationProxy'>
This PR fixed #196.
For the
markdown_it
module used bymyst_parser
the text must be passed as explicit string.This PR ensures the
title_text
fromself.default_title
incustom_admonitions.py
is converted from<class 'sphinx.locale._TranslationProxy'>
to string.This PR fixed #196.