Skip to content
Snippets Groups Projects
Commit f25bf878 authored by Cyril Moineau's avatar Cyril Moineau
Browse files

[Docs] Update docs version to use version.txt.

parent dc7a204b
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,7 @@
#
import os
import sys
import pathlib
sys.path.insert(0, os.path.abspath('../python'))
......@@ -23,8 +24,12 @@ project = u'Eclipse Aidge'
copyright = u'2023, CEA LIST'
author = u'CEA LIST'
aidge_root = pathlib.Path().absolute()
version_file = open(aidge_root / "../../version.txt", "r").read().strip()
# The short X.Y version
version = u'0.1' # TODO : use version file (to setup later ...)
version = version_file
# The full version, including alpha/beta/rc tags
release = u''
# Name variable to use in the project
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment