This means that the documentation correctly uses the version from the command line if it is overridden.
\r
t2tBuildConf = env.Textfile(userDocsDir.File("build.t2tConf"), [\r
# We need to do this one as PostProc so it gets converted for the title.\r
- r"%!PostProc: NVDA_VERSION {}".format(versionInfo.version),\r
+ r"%!PostProc: NVDA_VERSION {}".format(version),\r
r"%!PreProc: NVDA_URL {}".format(versionInfo.url),\r
r"%!PreProc: NVDA_COPYRIGHT_YEARS {}".format(versionInfo.copyrightYears),\r
])\r