blob: 5dbcdab893ee5b206161c1b71e6a5585d244d912 [file] [log] [blame]
Alex Gaynorc62e91f2013-08-06 19:25:52 -07001# -*- coding: utf-8 -*-
2#
3# Cryptography documentation build configuration file, created by
4# sphinx-quickstart on Tue Aug 6 19:19:14 2013.
5#
Alex Gaynord21da672013-08-07 08:12:16 -07006# This file is execfile()d with the current directory set to its containing dir
Alex Gaynorc62e91f2013-08-06 19:25:52 -07007#
8# Note that not all possible configuration values are present in this
9# autogenerated file.
10#
11# All configuration values have a default; values that are commented out
12# serve to show the default.
13
Alex Gaynoraf82d5e2013-10-29 17:07:24 -070014import os
15import sys
16
Alex Gaynor27283cf2013-11-08 10:49:22 -080017try:
18 import sphinx_rtd_theme
19except ImportError:
20 sphinx_rtd_theme = None
21
22
Alex Gaynorc62e91f2013-08-06 19:25:52 -070023# If extensions (or modules to document with autodoc) are in another directory,
24# add these directories to sys.path here. If the directory is relative to the
25# documentation root, use os.path.abspath to make it absolute, like shown here.
Alex Gaynoraf82d5e2013-10-29 17:07:24 -070026sys.path.insert(0, os.path.abspath('.'))
Alex Gaynorc62e91f2013-08-06 19:25:52 -070027
Alex Gaynord21da672013-08-07 08:12:16 -070028# -- General configuration ----------------------------------------------------
Alex Gaynorc62e91f2013-08-06 19:25:52 -070029
30# If your documentation needs a minimal Sphinx version, state it here.
31#needs_sphinx = '1.0'
32
Alex Gaynord21da672013-08-07 08:12:16 -070033# Add any Sphinx extension module names here, as strings. They can be
34# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
35extensions = [
36 'sphinx.ext.autodoc',
Donald Stufft235fa712013-08-11 17:47:17 -040037 'sphinx.ext.doctest',
Alex Gaynord21da672013-08-07 08:12:16 -070038 'sphinx.ext.intersphinx',
39 'sphinx.ext.viewcode',
Alex Gaynoraf82d5e2013-10-29 17:07:24 -070040 'cryptography-docs',
Alex Gaynord21da672013-08-07 08:12:16 -070041]
Alex Gaynorc62e91f2013-08-06 19:25:52 -070042
43# Add any paths that contain templates here, relative to this directory.
44templates_path = ['_templates']
45
46# The suffix of source filenames.
47source_suffix = '.rst'
48
49# The encoding of source files.
50#source_encoding = 'utf-8-sig'
51
52# The master toctree document.
53master_doc = 'index'
54
55# General information about the project.
Alex Gaynorc113c3b2013-08-07 08:36:20 -070056project = 'Cryptography'
Alex Gaynordd1f5c52014-01-01 06:23:31 -080057copyright = '2013-2014, Individual Contributors'
Alex Gaynorc62e91f2013-08-06 19:25:52 -070058
59# The version info for the project you're documenting, acts as replacement for
60# |version| and |release|, also used in various other places throughout the
61# built documents.
62#
63# The short X.Y version.
64version = '0.1dev'
65# The full version, including alpha/beta/rc tags.
66release = '0.1dev'
67
68# The language for content autogenerated by Sphinx. Refer to documentation
69# for a list of supported languages.
70#language = None
71
72# There are two options for replacing |today|: either, you set today to some
73# non-false value, then it is used:
74#today = ''
75# Else, today_fmt is used as the format for a strftime call.
76#today_fmt = '%B %d, %Y'
77
78# List of patterns, relative to source directory, that match files and
79# directories to ignore when looking for source files.
80exclude_patterns = ['_build']
81
Alex Gaynord21da672013-08-07 08:12:16 -070082# The reST default role (used for this markup: `text`) to use for all documents
Alex Gaynorc62e91f2013-08-06 19:25:52 -070083#default_role = None
84
85# If true, '()' will be appended to :func: etc. cross-reference text.
86#add_function_parentheses = True
87
88# If true, the current module name will be prepended to all description
89# unit titles (such as .. function::).
90#add_module_names = True
91
92# If true, sectionauthor and moduleauthor directives will be shown in the
93# output. They are ignored by default.
94#show_authors = False
95
96# The name of the Pygments (syntax highlighting) style to use.
97pygments_style = 'sphinx'
98
99# A list of ignored prefixes for module index sorting.
100#modindex_common_prefix = []
101
102
Alex Gaynord21da672013-08-07 08:12:16 -0700103# -- Options for HTML output --------------------------------------------------
Alex Gaynorc62e91f2013-08-06 19:25:52 -0700104
105# The theme to use for HTML and HTML Help pages. See the documentation for
106# a list of builtin themes.
Alex Gaynor27283cf2013-11-08 10:49:22 -0800107
108if sphinx_rtd_theme:
109 html_theme = "sphinx_rtd_theme"
110 html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
111else:
112 html_theme = "default"
Alex Gaynorc62e91f2013-08-06 19:25:52 -0700113
114# Theme options are theme-specific and customize the look and feel of a theme
115# further. For a list of options available for each theme, see the
116# documentation.
117#html_theme_options = {}
118
Alex Gaynorc62e91f2013-08-06 19:25:52 -0700119# The name for this set of Sphinx documents. If None, it defaults to
120# "<project> v<release> documentation".
121#html_title = None
122
123# A shorter title for the navigation bar. Default is the same as html_title.
124#html_short_title = None
125
126# The name of an image file (relative to this directory) to place at the top
127# of the sidebar.
128#html_logo = None
129
130# The name of an image file (within the static path) to use as favicon of the
131# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
132# pixels large.
133#html_favicon = None
134
135# Add any paths that contain custom static files (such as style sheets) here,
136# relative to this directory. They are copied after the builtin static files,
137# so a file named "default.css" will overwrite the builtin "default.css".
138html_static_path = ['_static']
139
140# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
141# using the given strftime format.
142#html_last_updated_fmt = '%b %d, %Y'
143
144# If true, SmartyPants will be used to convert quotes and dashes to
145# typographically correct entities.
146#html_use_smartypants = True
147
148# Custom sidebar templates, maps document names to template names.
149#html_sidebars = {}
150
151# Additional templates that should be rendered to pages, maps page names to
152# template names.
153#html_additional_pages = {}
154
155# If false, no module index is generated.
156#html_domain_indices = True
157
158# If false, no index is generated.
159#html_use_index = True
160
161# If true, the index is split into individual pages for each letter.
162#html_split_index = False
163
164# If true, links to the reST sources are added to the pages.
165#html_show_sourcelink = True
166
167# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
168#html_show_sphinx = True
169
170# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
171#html_show_copyright = True
172
173# If true, an OpenSearch description file will be output, and all pages will
174# contain a <link> tag referring to it. The value of this option must be the
175# base URL from which the finished HTML is served.
176#html_use_opensearch = ''
177
178# This is the file name suffix for HTML files (e.g. ".xhtml").
179#html_file_suffix = None
180
181# Output file base name for HTML help builder.
182htmlhelp_basename = 'Cryptographydoc'
183
184
Alex Gaynord21da672013-08-07 08:12:16 -0700185# -- Options for LaTeX output -------------------------------------------------
Alex Gaynorc62e91f2013-08-06 19:25:52 -0700186
187latex_elements = {
Alex Gaynord21da672013-08-07 08:12:16 -0700188 # The paper size ('letterpaper' or 'a4paper').
189 #'papersize': 'letterpaper',
Alex Gaynorc62e91f2013-08-06 19:25:52 -0700190
Alex Gaynord21da672013-08-07 08:12:16 -0700191 # The font size ('10pt', '11pt' or '12pt').
192 #'pointsize': '10pt',
Alex Gaynorc62e91f2013-08-06 19:25:52 -0700193
Alex Gaynord21da672013-08-07 08:12:16 -0700194 # Additional stuff for the LaTeX preamble.
195 #'preamble': '',
Alex Gaynorc62e91f2013-08-06 19:25:52 -0700196}
197
198# Grouping the document tree into LaTeX files. List of tuples
Alex Gaynord21da672013-08-07 08:12:16 -0700199# (source start file, target name, title, author, documentclass [howto/manual])
Alex Gaynorc62e91f2013-08-06 19:25:52 -0700200latex_documents = [
Alex Gaynorc113c3b2013-08-07 08:36:20 -0700201 ('index', 'Cryptography.tex', 'Cryptography Documentation',
202 'Individual Contributors', 'manual'),
Alex Gaynorc62e91f2013-08-06 19:25:52 -0700203]
204
205# The name of an image file (relative to this directory) to place at the top of
206# the title page.
207#latex_logo = None
208
209# For "manual" documents, if this is true, then toplevel headings are parts,
210# not chapters.
211#latex_use_parts = False
212
213# If true, show page references after internal links.
214#latex_show_pagerefs = False
215
216# If true, show URL addresses after external links.
217#latex_show_urls = False
218
219# Documents to append as an appendix to all manuals.
220#latex_appendices = []
221
222# If false, no module index is generated.
223#latex_domain_indices = True
224
225
Alex Gaynord21da672013-08-07 08:12:16 -0700226# -- Options for manual page output -------------------------------------------
Alex Gaynorc62e91f2013-08-06 19:25:52 -0700227
228# One entry per manual page. List of tuples
229# (source start file, name, description, authors, manual section).
230man_pages = [
Alex Gaynorc113c3b2013-08-07 08:36:20 -0700231 ('index', 'cryptography', 'Cryptography Documentation',
232 ['Individual Contributors'], 1)
Alex Gaynorc62e91f2013-08-06 19:25:52 -0700233]
234
235# If true, show URL addresses after external links.
236#man_show_urls = False
237
238
Alex Gaynord21da672013-08-07 08:12:16 -0700239# -- Options for Texinfo output -----------------------------------------------
Alex Gaynorc62e91f2013-08-06 19:25:52 -0700240
241# Grouping the document tree into Texinfo files. List of tuples
242# (source start file, target name, title, author,
243# dir menu entry, description, category)
244texinfo_documents = [
Alex Gaynorc113c3b2013-08-07 08:36:20 -0700245 ('index', 'Cryptography', 'Cryptography Documentation',
246 'Individual Contributors', 'Cryptography',
Alex Gaynord21da672013-08-07 08:12:16 -0700247 'One line description of project.',
248 'Miscellaneous'),
Alex Gaynorc62e91f2013-08-06 19:25:52 -0700249]
250
251# Documents to append as an appendix to all manuals.
252#texinfo_appendices = []
253
254# If false, no module index is generated.
255#texinfo_domain_indices = True
256
257# How to display URL addresses: 'footnote', 'no', or 'inline'.
258#texinfo_show_urls = 'footnote'
259
Alex Gaynorc62e91f2013-08-06 19:25:52 -0700260# Example configuration for intersphinx: refer to the Python standard library.
261intersphinx_mapping = {'http://docs.python.org/': None}