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