You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I put this substitution in the synopsis directive of sphinxcontrib.httpdomain extension, it is rendered out on the 'routing table' page as plain text (e.g. |mongodb_icon| instead of <span class="icon-dbs-mongodb"></span>):
# in some .rst file
.. http:post:: /companies/
:synopsis: Some text whatever |mongodb_icon|
Is it possible to 'force' this page (routing table) to render out my substitutions properly?
Procedure to reproduce the problem
Install the extension pip install sphinxcontrib-httpdomain
Subject: Problem with rendering Sphinx substitutions
Problem
I am trying to use sphinxcontrib.httpdomain in my project and I defined my 'routing table' like this:
I also defined few simple substitutions which I use throughout my docs, e.g.:
When I put this substitution in the
synopsis
directive ofsphinxcontrib.httpdomain
extension, it is rendered out on the 'routing table' page as plain text (e.g.|mongodb_icon|
instead of<span class="icon-dbs-mongodb"></span>
):Is it possible to 'force' this page (routing table) to render out my substitutions properly?
Procedure to reproduce the problem
Install the extension
pip install sphinxcontrib-httpdomain
Update
config.py
.rst
fileBuild docs
make html
Visit
http-routingtable.html
page in your build.Expected results
Replace substitution (e.g.
|mongodb_icon|
) with a proper HTML code (e.g.<span class="icon-dbs-mongodb"></span>
).Environment info
The text was updated successfully, but these errors were encountered: