Closed
Description
I enabled this extension for a single variable on my project, pyngrok_version
. All I changed was adding the extension, adding this to conf.py
:
rst_prolog = """
.. |pyngrok_version| replace:: {pyngrok_version}
""".format(pyngrok_version=version)
And then in my troubleshooting.rst
file, I have this line now where the substitution should occur:
.. code-block:: shell
:substitutions:
...
PYNGROK VERSION:
|pyngrok_version|
And that works great, the version 7.1.5
now appears there and will auto-update! Unfortunately, with no other configuration change (here is the commit), my API docs all look like this now:


All types now appear to also have this substitution applied. They used to look like like:

I disabled this on my main
branch so latest
would be stable again, so you can see how the API docs are supposed to look here. Then I enabled a hidden branch on ReadTheDocs so you can see them broken here.