blob: f2d44138dc39a4fef6d265cc5c5331961188a39b [file] [log] [blame]
Jeff Thompsonfa306642013-06-17 15:06:57 -07001# -*- coding: utf-8 -*-
2
3import sys, os
4
5# If extensions (or modules to document with autodoc) are in another directory,
6# add these directories to sys.path here. If the directory is relative to the
7# documentation root, use os.path.abspath to make it absolute, like shown here.
8#sys.path.insert(0, os.path.abspath('.'))
9
10# -- General configuration -----------------------------------------------------
11
12# If your documentation needs a minimal Sphinx version, state it here.
13#needs_sphinx = '1.0'
14
15# Add any Sphinx extension module names here, as strings. They can be extensions
16# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
17extensions = [ "sphinx.ext.autodoc", "sphinx.ext.mathjax", "sphinxcontrib.doxylink", "sphinxcontrib.aafig", "sphinxcontrib.googleanalytics", "sphinxcontrib.bibtex" ]
18
19# Add any paths that contain templates here, relative to this directory.
20templates_path = ['_templates']
21
22# The suffix of source filenames.
23source_suffix = '.rst'
24
25# The encoding of source files.
26#source_encoding = 'utf-8-sig'
27
28# The master toctree document.
29master_doc = 'index'
30
31# General information about the project.
32project = u''
33copyright = u'2012-2013 (c) Alexander Afanasyev, Zhenkai Zhu'
34
35# The version info for the project you're documenting, acts as replacement for
36# |version| and |release|, also used in various other places throughout the
37# built documents.
38#
39# The short X.Y version.
40version = '0.4'
41# The full version, including alpha/beta/rc tags.
42release = 'NDN.cxx'
43
44# The language for content autogenerated by Sphinx. Refer to documentation
45# for a list of supported languages.
46#language = None
47
48# There are two options for replacing |today|: either, you set today to some
49# non-false value, then it is used:
50#today = ''
51# Else, today_fmt is used as the format for a strftime call.
52#today_fmt = '%B %d, %Y'
53
54# List of patterns, relative to source directory, that match files and
55# directories to ignore when looking for source files.
56exclude_patterns = []
57
58# The reST default role (used for this markup: `text`) to use for all documents.
59#default_role = None
60
61# If true, '()' will be appended to :func: etc. cross-reference text.
62#add_function_parentheses = True
63
64# If true, the current module name will be prepended to all description
65# unit titles (such as .. function::).
66#add_module_names = True
67
68# If true, sectionauthor and moduleauthor directives will be shown in the
69# output. They are ignored by default.
70#show_authors = False
71
72# The name of the Pygments (syntax highlighting) style to use.
73pygments_style = 'sphinx'
74
75# A list of ignored prefixes for module index sorting.
76#modindex_common_prefix = []
77
78
79# -- Options for HTML output ---------------------------------------------------
80
81# The theme to use for HTML and HTML Help pages. See the documentation for
82# a list of builtin themes.
83html_theme = 'ndn.cxx_theme'
84
85# Theme options are theme-specific and customize the look and feel of a theme
86# further. For a list of options available for each theme, see the
87# documentation.
88#html_theme_options = {}
89
90# Add any paths that contain custom themes here, relative to this directory.
91html_theme_path = ["../"]
92
93# The name for this set of Sphinx documents. If None, it defaults to
94# "<project> v<release> documentation".
95#html_title = None
96
97# A shorter title for the navigation bar. Default is the same as html_title.
98#html_short_title = None
99
100# The name of an image file (relative to this directory) to place at the top
101# of the sidebar.
102#html_logo = None
103
104# The name of an image file (within the static path) to use as favicon of the
105# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
106# pixels large.
107#html_favicon = None
108
109# Add any paths that contain custom static files (such as style sheets) here,
110# relative to this directory. They are copied after the builtin static files,
111# so a file named "default.css" will overwrite the builtin "default.css".
112html_static_path = ['_static']
113
114# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
115# using the given strftime format.
116#html_last_updated_fmt = '%b %d, %Y'
117
118# If true, SmartyPants will be used to convert quotes and dashes to
119# typographically correct entities.
120#html_use_smartypants = True
121
122# Custom sidebar templates, maps document names to template names.
123#html_sidebars = {}
124
125# Additional templates that should be rendered to pages, maps page names to
126# template names.
127#html_additional_pages = {}
128
129# If false, no module index is generated.
130html_domain_indices = False
131
132# If false, no index is generated.
133html_use_index = False
134
135# If true, the index is split into individual pages for each letter.
136#html_split_index = False
137
138# If true, links to the reST sources are added to the pages.
139#html_show_sourcelink = True
140
141# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
142#html_show_sphinx = True
143
144# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
145#html_show_copyright = True
146
147# If true, an OpenSearch description file will be output, and all pages will
148# contain a <link> tag referring to it. The value of this option must be the
149# base URL from which the finished HTML is served.
150#html_use_opensearch = ''
151
152# This is the file name suffix for HTML files (e.g. ".xhtml").
153html_file_suffix = ".html"
154
155# Output file base name for HTML help builder.
156htmlhelp_basename = 'ndn.cxx'
157
158
159# -- Options for LaTeX output --------------------------------------------------
160
161latex_elements = {
162# The paper size ('letterpaper' or 'a4paper').
163#'papersize': 'letterpaper',
164
165# The font size ('10pt', '11pt' or '12pt').
166#'pointsize': '10pt',
167
168# Additional stuff for the LaTeX preamble.
169#'preamble': '',
170}
171
172# Grouping the document tree into LaTeX files. List of tuples
173# (source start file, target name, title, author, documentclass [howto/manual]).
174latex_documents = [
175 ('index', 'ndn.cxx.tex', u'NDN.cxx (C++ NDN API)',
176 u'Alexander Afanasyev and Zhenkai Zhu', 'manual'),
177]
178
179# The name of an image file (relative to this directory) to place at the top of
180# the title page.
181#latex_logo = None
182
183# For "manual" documents, if this is true, then toplevel headings are parts,
184# not chapters.
185#latex_use_parts = False
186
187# If true, show page references after internal links.
188#latex_show_pagerefs = False
189
190# If true, show URL addresses after external links.
191#latex_show_urls = False
192
193# Documents to append as an appendix to all manuals.
194#latex_appendices = []
195
196# If false, no module index is generated.
197latex_domain_indices = False
198
199
200# -- Options for manual page output --------------------------------------------
201
202# One entry per manual page. List of tuples
203# (source start file, name, description, authors, manual section).
204man_pages = [
205 ('index', 'ndn.cxx', u'NDN.cxx (C++ NDN API)',
206 [u'Alexander Afanasyev and Zhenkai Zhu'], 1)
207]
208
209# If true, show URL addresses after external links.
210#man_show_urls = False
211
212
213# -- Options for Texinfo output ------------------------------------------------
214
215# Grouping the document tree into Texinfo files. List of tuples
216# (source start file, target name, title, author,
217# dir menu entry, description, category)
218texinfo_documents = [
219 ('index', 'ndn.cxx', u'NDN.cxx (C++ NDN API)',
220 u'Alexander Afanasyev and Zhenkai Zhu', 'ndn.cxx', 'One line description of project.',
221 'Miscellaneous'),
222]
223
224# Documents to append as an appendix to all manuals.
225#texinfo_appendices = []
226
227# If false, no module index is generated.
228texinfo_domain_indices = False
229
230# How to display URL addresses: 'footnote', 'no', or 'inline'.
231#texinfo_show_urls = 'footnote'
232
233doxylink = {
234 'ndn' : ('build/doc/ndn.cxx.tag', 'doxygen/'),
235}
236
237googleanalytics_id = "UA-21372502-9"
238
239googleanalytics_enabled = True
240
241# aafig_format = dict(latex='pdf', html='png', text=None)
242
243# aafig_default_options = dict(Fixed=True)