summaryrefslogtreecommitdiffstats
path: root/iphone/doc/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'iphone/doc/conf.py')
-rw-r--r--iphone/doc/conf.py77
1 files changed, 77 insertions, 0 deletions
diff --git a/iphone/doc/conf.py b/iphone/doc/conf.py
new file mode 100644
index 0000000..950defb
--- /dev/null
+++ b/iphone/doc/conf.py
@@ -0,0 +1,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