nat*_*lia 3 python versioning python-sphinx
我在conf.py中更改了项目的版本号:
version = '0.0.2'
Run Code Online (Sandbox Code Playgroud)
但是当我生成一个新的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
Run Code Online (Sandbox Code Playgroud)
然后您只需要更改第一个值。
| 归档时间: |
|
| 查看次数: |
2094 次 |
| 最近记录: |