comparison doc/conf.py @ 4077:d6837db456fd

refactoring: fix names in doc following modules hierarchy refactoring
author Goffi <goffi@goffi.org>
date Fri, 02 Jun 2023 17:38:37 +0200
parents 3b72743b92db
children c0bb4b3fdccf
comparison
equal deleted inserted replaced
4076:b620a8e882e1 4077:d6837db456fd
21 sys.path.insert(0, os.path.abspath("./_ext")) 21 sys.path.insert(0, os.path.abspath("./_ext"))
22 22
23 23
24 # -- Project information ----------------------------------------------------- 24 # -- Project information -----------------------------------------------------
25 25
26 project = 'Libervia' 26 project = 'Libervia Backend'
27 copyright = '2019-2021 Libervia' 27 copyright = '2019-2023 Libervia'
28 author = 'Libervia team' 28 author = 'Libervia team'
29 29
30 doc_dir = os.path.dirname(os.path.abspath(__file__)) 30 doc_dir = os.path.dirname(os.path.abspath(__file__))
31 version_path = os.path.join(doc_dir, '../sat/VERSION') 31 version_path = os.path.join(doc_dir, '../libervia/backend/VERSION')
32 with open(version_path) as f: 32 with open(version_path) as f:
33 version_full = f.read() 33 version_full = f.read()
34 34
35 # The short X.Y version 35 # The short X.Y version
36 version = re.match(r'[0-9.]+', version_full).group() 36 version = re.match(r'[0-9.]+', version_full).group()