I'm new using Sphinx to document my work. I want do add the number version and release to my documentation in PDF.
In the conf.py
file, a version variable is defined that we can use in the .rst
files like such:
|version|
But its not working for me, i don't know if I doing something wrong. Any suggestions?
To use a substitution, you need to have it defined in the file in the format:
Then use it in text:
I typically include all substitutions in a single file that is then included in each file in project with directive: