Skip to content

Commit

Permalink
Fixing version (#277)
Browse files Browse the repository at this point in the history
  • Loading branch information
ItayGabbay committed Dec 20, 2021
1 parent 4a2fa7c commit 6dada8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@

sys.path.insert(0, str(PROJECT_DIR.absolute()))


import deepchecks.version
with open(os.path.join(PROJECT_DIR, 'VERSION')) as version_file:
VER = version_file.read().strip()


# -- Project information -----------------------------------------------------
Expand All @@ -32,7 +32,7 @@
copyright = '2021, Deepchecks'
author = 'Deepchecks'
is_readthedocs = os.environ.get("READTHEDOCS")
version = os.environ.get("READTHEDOCS_VERSION") or deepchecks.version.__version__
version = os.environ.get("READTHEDOCS_VERSION") or VER
language = os.environ.get("READTHEDOCS_LANGUAGE")

GIT = {
Expand Down

0 comments on commit 6dada8c

Please sign in to comment.