[docs] [issue28331] "CPython implementation detail:" is removed when contents is translated
Berker Peksag
report at bugs.python.org
Wed Oct 5 03:01:26 EDT 2016
Berker Peksag added the comment:
I couldn't find any dummy HTML in the Sphinx codebase.
Wouldn't something like work without a dummy HTML?
from sphinx.locale import versionlabels, l_
versionlabels['cpythonimpldetail'] = l_('CPython implementation detail')
Then use it in ImplementationDetail.run() method like https://github.com/sphinx-doc/sphinx/blob/master/sphinx/directives/other.py#L204
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28331>
_______________________________________
More information about the docs
mailing list