Mercurial > libervia-web
comparison doc/conf.py @ 1518:eb00d593801d
refactoring: rename `libervia` to `libervia.web` + update imports following backend changes
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 02 Jun 2023 16:49:28 +0200 |
parents | e1ccba0d2b71 |
children | c2569408fa35 |
comparison
equal
deleted
inserted
replaced
1517:b8ed9726525b | 1518:eb00d593801d |
---|---|
19 import re | 19 import re |
20 | 20 |
21 | 21 |
22 # -- Project information ----------------------------------------------------- | 22 # -- Project information ----------------------------------------------------- |
23 | 23 |
24 project = u'Libervia (Salut à Toi)' | 24 project = u'Libervia Web' |
25 copyright = u'2019-2021 Jérôme Poisson' | 25 copyright = u'2019-2023 Jérôme Poisson' |
26 author = u'Jérôme Poisson' | 26 author = u'Jérôme Poisson' |
27 | 27 |
28 doc_dir = os.path.dirname(os.path.abspath(__file__)) | 28 doc_dir = os.path.dirname(os.path.abspath(__file__)) |
29 version_path = os.path.join(doc_dir, '../libervia/VERSION') | 29 version_path = os.path.join(doc_dir, '../libervia/web/VERSION') |
30 with open(version_path) as f: | 30 with open(version_path) as f: |
31 version_full = f.read() | 31 version_full = f.read() |
32 | 32 |
33 # The short X.Y version | 33 # The short X.Y version |
34 version = re.match(r'[0-9.]+', version_full).group() | 34 version = re.match(r'[0-9.]+', version_full).group() |