Skip to content

Commit

Permalink
load version in docs from source
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrDlouhy committed Dec 28, 2021
1 parent 024b383 commit 1520bb8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = '0.24.1'
# The short X.Y version
import admin_tools_stats
version = admin_tools_stats.__version__
# The full version, including alpha/beta/rc tags.
release = version

Expand Down

0 comments on commit 1520bb8

Please sign in to comment.