我在conf.py中更改了我项目的版本号:
version = '0.0.2'
但是当我生成一个新的 html (make html) 时,版本总是:0.0.1。
有什么建议吗?
最佳答案
只是为了添加到讨论中。您可以简化您的工作流程,如果您的版本通常与发行版相同,您可以这样说:
# The short X.Y version.
version = '0.0.1'
# The full version, including alpha/beta/rc tags.
release = version
然后你只需要改变第一个值。
关于python - Sphinx 不改变版本号,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23470010/