summaryrefslogtreecommitdiffstats
path: root/iphone/doc/conf.py
blob: 950defb46625a5931b32019117054fafde56d353 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
import sys, os
from plistlib import readPlist

# General configuration

extensions = []
templates_path = ['ext']
source_suffix = '.rst'
master_doc = 'index'
exclude_patterns = ['.#*']

project = u'ZBar iPhone SDK'
copyright = u'2010-2012, Jeff Brown et al'

today_fmt = '%Y-%m-%d'
info = readPlist('../res/ZBarSDK-Info.plist')
version = 'X.Y'
if info:
    version = info['CFBundleVersion']
release = version

#add_module_names = False

pygments_style = 'sphinx'
highlight_language = 'objc'
primary_domain = 'cpp'

# Options for HTML output

html_theme = 'default'
html_theme_options = {
    'bgcolor': 'white',
    'textcolor': 'black',
    'linkcolor': '#247',
    'headbgcolor': '#edeff0',
    'headtextcolor': '#247',
    'headlinkcolor': '#c11',
    'sidebarbgcolor': '#247',
    'sidebartextcolor': 'white',
    'sidebarlinkcolor': '#cde',
    'relbarbgcolor': '#247',
    'relbartextcolor': '#ccc',
    'relbarlinkcolor': 'white',
    'footerbgcolor': 'white',
    'footertextcolor': 'black',
    'codebgcolor': '#dfe',
    'codetextcolor': 'black',
}

html_short_title = 'ZBarSDK ' + version
html_title = 'ZBar iPhone SDK Documentation'
html_static_path = ['static']
html_favicon = '../../zbar.ico'
html_style = 'style.css'
html_use_modindex = False
html_use_index = False
html_copy_source = False
html_show_sourcelink = False
htmlhelp_basename = 'doc'

# Options for LaTeX output

latex_paper_size = 'letter'
latex_font_size = '10pt'

# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass [howto/manual])
latex_documents = [
  ('index', 'ZBarSDK.tex', u'ZBar iPhone SDK Documentation',
   u'Jeff Brown', 'manual'),
]

#latex_logo = ''
#latex_use_parts = False
#latex_preamble = ''
#latex_appendices = []
#latex_use_modindex = False