I'm brand new to Sphinx and reStructuredText.
Inside my Sphinx conf.py
I defined:
version = '0.0.2'
Inside of tutorial.rst
I want access the version
variable and display 0.0.2
in my html file. I tried:
version
|version|
:version:
.. |version|
.. :version:
I succeeded in testing the contents of the version.
.. ifconfig:: version == '0.0.2'
This prints!
This was encouraging, but not what I want.