I am using sphinx and I would like to show the version of my project from conf.py on my main page for documentation.
Asked
Active
Viewed 1,277 times
2 Answers
0
I actually never use Python Sphinx, but I remember seeing a similar question on SO. After searching through, I found the Q+A here
So you could output the config value directly into your index.rst master doc.
user1252280
- 373
- 1
- 7
- 22
-
I tried that but it didnt seem to show on generated HTML page. I am using forked version of read the docs theme. I instead found a different method and much more simpler. I just use `:Version: |version|` in my rst. – kaosar Jun 13 '16 at 22:48