X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=doc%2Fbindings%2Fpython%2Fsource%2Fconf.py;fp=doc%2Fbindings%2Fpython%2Fsource%2Fconf.py;h=859ae57a078d385abc2a5ca5480ea2889e599571;hp=0000000000000000000000000000000000000000;hb=ba64dfcccb1f1bd7a259dc5d563ba422b8375582;hpb=aa7407227594c8e5ebff8e1944a902760f2c9a17 diff --git a/doc/bindings/python/source/conf.py b/doc/bindings/python/source/conf.py new file mode 100644 index 00000000..859ae57a --- /dev/null +++ b/doc/bindings/python/source/conf.py @@ -0,0 +1,22 @@ +# SPDX-License-Identifier: MIT +# +# Copyright (c) 2020 Philippe Proulx + +import bt2 +import re + +# project +project = 'Babeltrace 2 Python bindings' +copyright = '2020, EfficiOS, Inc' +author = 'EfficiOS, Inc' +release = bt2.__version__ +version = re.match(r'^\d+\.\d+', release).group(0) + +# index +master_doc = 'index' + +# extensions +extensions = ['bt2sphinxurl'] + +# theme +html_theme = 'alabaster'