A code block isn't parsed. If you want Sphinx to process it, you need to
use a parsed-literal. This also comes with all the downsides of being
parsed, escaping, markup, etc.
I don't know about the http directive.
Depending on how much you need to do, you may want to look at the jinja
extensi
Done, Thanks!
https://github.com/sphinx-doc/sphinx/commit/7bda952e4a
On Wed, Sep 13, 2017 at 6:20 AM wrote:
> Hi there!
>
> I am the Documentation Lead Developer of Sylius (
> https://github.com/Sylius/Sylius). Our documentation is built in Sphinx
> with our custom colour theme. It can be found
Is it possible to use some kind of variable mechanism in code blocks?
I.e. i have such line in `conf.py`:
my_config_value = 42
rst_epilog = '.. |my_conf_val| replace:: %d' % my_config_value
And when i use it in some regular text like so:
My config value is |my_conf_val|!
Sphinx nicely repla