Skip to content

Commit

Permalink
Merge pull request #534 from ThomasWaldmann/readthedocs2
Browse files Browse the repository at this point in the history
sphinx: fix version string computation
  • Loading branch information
ThomasWaldmann committed Aug 28, 2023
2 parents 175818f + 7246e0f commit 2011c4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
# |version| and |release|, also used in various other places throughout the
# built documents.
#
from nsupdate import version as nsupdate_version
from nsupdate import version_tuple as nsupdate_version
# The short X.Y version.
version = '%d.%d' % nsupdate_version[:2]
# The full version, including alpha/beta/rc tags.
Expand Down
2 changes: 1 addition & 1 deletion src/nsupdate/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import re

from ._version import version
from ._version import version, version_tuple


class Version(tuple): # pragma: no cover
Expand Down

0 comments on commit 2011c4a

Please sign in to comment.