Apply black code formatter on all Python code
[babeltrace.git] / doc / bindings / python / source / conf.py
CommitLineData
4f5f37d9
PP
1#!/usr/bin/env python3
2# -*- coding: utf-8 -*-
89fd80df 3import bt2
4f5f37d9
PP
4import os
5
6
7# general configuration
8needs_sphinx = '1.2'
cfbd7cf3 9extensions = ['sphinx.ext.autodoc', 'sphinx.ext.ifconfig']
4f5f37d9
PP
10templates_path = ['_templates']
11source_suffix = '.rst'
12source_encoding = 'utf-8-sig'
13master_doc = 'index'
4e5f388f 14project = 'Babeltrace legacy Python bindings'
89fd80df
SM
15copyright = '2019, EfficiOS Inc.'
16version = bt2.__version__
4f5f37d9
PP
17release = version
18language = None
19today = ''
20today_fmt = '%B %d, %Y'
21exclude_patterns = []
22default_role = None
23add_function_parentheses = True
24add_module_names = True
25show_authors = False
26pygments_style = 'sphinx'
27modindex_common_prefix = []
28keep_warnings = False
29
30# HTML output options
31html_theme = 'default'
32
33if os.path.isdir(os.path.join('_themes', 'sphinx_rtd_theme')):
34 html_theme = 'sphinx_rtd_theme'
35
36html_theme_options = {}
37html_theme_path = ['_themes']
4f5f37d9
PP
38html_logo = None
39html_favicon = None
40html_static_path = ['_static']
41html_extra_path = []
42html_last_updated_fmt = '%b %d, %Y'
43html_use_smartypants = False
44html_sidebars = {}
45html_additional_pages = {}
46html_domain_indices = True
47html_use_index = True
48html_split_index = False
49html_show_sourcelink = False
50html_show_copyright = True
51htmlhelp_basename = 'BabeltracePydoc'
This page took 0.049369 seconds and 4 git commands to generate.