Skip to content

Commit

Permalink
hardcode version in docs for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Phlya committed Feb 27, 2023
1 parent 0cf4983 commit d9937f6
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@
author = "Ilya Flyamer"

# The short X.Y version
version = ""
version = "1.0beta"
# The full version, including alpha/beta/rc tags
def get_version(path):
with open(path, "r") as f:
_, version = f.read().strip().split("=")
version = version.strip().strip('"')
return version
# def get_version(path):
# with open(path, "r") as f:
# _, version = f.read().strip().split("=")
# version = version.strip().strip('"')
# return version


release = get_version("../_version.py")
# release = get_version("../_version.py")

# -- General configuration ---------------------------------------------------

Expand Down

0 comments on commit d9937f6

Please sign in to comment.