質問

I changed the version number of my project in conf.py:

version = '0.0.2'

But when I generate a new html (make html), the version is always: 0.0.1.

Any suggestions?

役に立ちましたか?

解決

Just to add to the discussion. You could simplify your workflow and if your version usually is the same as the release, you could put it this way:

# The short X.Y version.
version = '0.0.1'
# The full version, including alpha/beta/rc tags.
release = version

Then you will only need to change the first value.

他のヒント

You should have to update the release = '' in the conf.py. Version is the short x.y version internally. Release is the full version that is added during the sphinx build to the project.

In your conf.py just change.

# The full version, including alpha/beta/rc tags.
release = '0.0.2'

Then rerun make html.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top