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