Skip to content

Commit

Permalink
DOC
Browse files Browse the repository at this point in the history
  • Loading branch information
christianbrodbeck committed Apr 13, 2022
1 parent 3240739 commit 8e0cf36
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,9 @@ def format_url(self, e):
# |version| and |release|, also used in various other places throughout the
# built documents.
#
_version_items = eelbrain.__version__.split('.')
# The short X.Y version.
version = eelbrain.__version__.rsplit('.', 1)[0]
version = '.'.join(_version_items[:2])
# The full version, including alpha/beta/rc tags.
release = eelbrain.__version__ # '0.0.3'

Expand Down

0 comments on commit 8e0cf36

Please sign in to comment.