Python sphinx 如何使用docutils/sphinx获取以空格结尾的内联代码?
以下rST指令不支持尾随空格:Python sphinx 如何使用docutils/sphinx获取以空格结尾的内联代码?,python-sphinx,restructuredtext,docutils,Python Sphinx,Restructuredtext,Docutils,以下rST指令不支持尾随空格: :code:`foo ` 例如: >>> from docutils import core >>> whole = core.publish_parts(""":code:`x `""")['whole'] <string>:1: (WARNING/2) Inline interpreted text or phrase reference
:code:`foo `
例如:
>>> from docutils import core
>>> whole = core.publish_parts(""":code:`x `""")['whole']
<string>:1: (WARNING/2) Inline interpreted text or phrase reference start-string without end-string.
来自docutils导入核心的>>
>>>整体=核心。发布部分(“”:代码:`x`')['整体']
:1:(警告/2)内联解释文本或短语引用开始字符串,不带结束字符串。
是否有办法消除此警告?否。根据: