Fix: doc/bindings/python: make the doc buildable
[babeltrace.git] / doc / bindings / python / source / conf.py
CommitLineData
4f5f37d9
PP
1#!/usr/bin/env python3
2# -*- coding: utf-8 -*-
3import babeltrace
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'
17project = 'Babeltrace Python bindings'
d6681ce0 18copyright = '2017, EfficiOS Inc.'
4f5f37d9
PP
19version = babeltrace.__version__
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.037499 seconds and 4 git commands to generate.