Python: add Sphinx doc project
[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'
18copyright = '2014, EfficiOS Inc.'
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']
41html_title = None
42html_short_title = None
43html_logo = None
44html_favicon = None
45html_static_path = ['_static']
46html_extra_path = []
47html_last_updated_fmt = '%b %d, %Y'
48html_use_smartypants = False
49html_sidebars = {}
50html_additional_pages = {}
51html_domain_indices = True
52html_use_index = True
53html_split_index = False
54html_show_sourcelink = False
55html_show_copyright = True
56htmlhelp_basename = 'BabeltracePydoc'
This page took 0.024659 seconds and 4 git commands to generate.