Add initial Python bindings documentation
[babeltrace.git] / doc / bindings / python / source / conf.py
diff --git a/doc/bindings/python/source/conf.py b/doc/bindings/python/source/conf.py
new file mode 100644 (file)
index 0000000..859ae57
--- /dev/null
@@ -0,0 +1,22 @@
+# SPDX-License-Identifier: MIT
+#
+# Copyright (c) 2020 Philippe Proulx <pproulx@efficios.com>
+
+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'
This page took 0.022877 seconds and 4 git commands to generate.