Commit | Line | Data |
---|---|---|
1 | # SPDX-License-Identifier: MIT | |
2 | # | |
3 | # Copyright (c) 2020 Philippe Proulx <pproulx@efficios.com> | |
4 | ||
5 | import bt2 | |
6 | import re | |
7 | ||
8 | # project | |
9 | project = "Babeltrace 2 Python bindings" | |
10 | copyright = "2020, EfficiOS, Inc" | |
11 | author = "EfficiOS, Inc" | |
12 | release = bt2.__version__ | |
13 | version = re.match(r"^\d+\.\d+", release).group(0) | |
14 | ||
15 | # index | |
16 | master_doc = "index" | |
17 | ||
18 | # extensions | |
19 | extensions = ["bt2sphinxurl"] | |
20 | ||
21 | # theme | |
22 | html_theme = "alabaster" |