Python sphinx httpdomain扩展中Sphinx替换的正确表示
我正在使用扩展来编写Sphinx文档。此扩展能够生成我定义为喜欢的页面。Python sphinx httpdomain扩展中Sphinx替换的正确表示,python-sphinx,substitution,restructuredtext,Python Sphinx,Substitution,Restructuredtext,我正在使用扩展来编写Sphinx文档。此扩展能够生成我定义为喜欢的页面。 我还定义了我在文档中使用的替换: #conf.py rst_epilog=“” ..| mongodb|u图标|原始::html """ 然而,当我在HTTPDomain扩展的指令中加入这个替换时,它被呈现为纯文本 .. http:post:: /companies/ :synopsis: Some text whatever |mongodb_icon| 如何强制此页(路由表)正确呈现替换
我还定义了我在文档中使用的替换:
#conf.py
rst_epilog=“”
..| mongodb|u图标|原始::html
"""
然而,当我在HTTPDomain扩展的指令中加入这个替换时,它被呈现为纯文本
.. http:post:: /companies/
:synopsis: Some text whatever |mongodb_icon|
如何强制此页(路由表)正确呈现替换