Python 如何制作--&引用;出现在狮身人面像中,而不是-&引用;

Python 如何制作--&引用;出现在狮身人面像中,而不是-&引用;,python,python-sphinx,Python,Python Sphinx,我对狮身人面像有一个小小的美学问题,我想“-”出现在文档中,但它总是以“-”的形式出现 示例来源: remove_user (--id|--username|--email) <user_id> <source_account> --------------- **To remove a User (and any devices associated with them) from a specific account, the following command ca

我对狮身人面像有一个小小的美学问题,我想“-”出现在文档中,但它总是以“-”的形式出现

示例来源:

remove_user (--id|--username|--email) <user_id> <source_account>
---------------
**To remove a User (and any devices associated with them) from a specific account, the following command can be used:**

* pcli.py remove_user (--id|--username|--email) <user_id> <source_account>
remove_user(--id |--username |--email)
---------------
**要从特定帐户中删除用户(及其关联的任何设备),可以使用以下命令:**
*pcli.py删除用户(--id |--用户名|--电子邮件)
外观:


基本上这是由于默认情况下启用了
html\u use\u smartypants
选项(请参阅)。在您的情况下,您可能希望将其关闭

conf.py
中,找到该行

#html\u use\u smartypants=True

并将其更改为

html\u use\u smartypants=False

编辑:

已弃用,应改为使用。

请参见: