Skip to content

Commit

Permalink
[docs] fix version
Browse files Browse the repository at this point in the history
  • Loading branch information
prohde committed Apr 12, 2024
1 parent 9f3553e commit d0054fd
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,16 @@
import os
import sys
sys.path.insert(0, os.path.abspath('../'))
from DeTrusty import __version__


# -- Project information -----------------------------------------------------
project = 'DeTrusty'
copyright = '2020-2024, Philipp D. Rohde, Avellino and Mazen Bechara'
author = 'Philipp D. Rohde, Avellino, Mazen Bechara'


# The full version, including alpha/beta/rc tags
def _get_version():
with open('../VERSION', 'r', encoding='utf8') as version_file:
version = version_file.read()
return version


version = _get_version()
release = version
version = __version__
release = __version__


# -- General configuration ---------------------------------------------------
Expand Down

0 comments on commit d0054fd

Please sign in to comment.