Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/asp.net/34.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python sphinx httpdomain扩展中Sphinx替换的正确表示_Python Sphinx_Substitution_Restructuredtext - Fatal编程技术网

Python sphinx httpdomain扩展中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| 如何强制此页(路由表)正确呈现替换

我正在使用扩展来编写Sphinx文档。此扩展能够生成我定义为喜欢的页面。
我还定义了我在文档中使用的替换:

#conf.py
rst_epilog=“”
..| mongodb|u图标|原始::html
"""
然而,当我在HTTPDomain扩展的指令中加入这个替换时,它被呈现为纯文本

.. http:post:: /companies/
   :synopsis: Some text whatever |mongodb_icon|
如何强制此页(路由表)正确呈现替换