【发布时间】:2020-08-10 10:18:06
【问题描述】:
以下 rST 指令不支持尾随空格:
: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.
有没有办法消除这个警告?
【问题讨论】:
标签: python-sphinx restructuredtext docutils