Expose impemented floating IP methods
[kamaki] / docs / conf.py
1 # -*- coding: utf-8 -*-
2 #
3 # Kamaki documentation build configuration file, created by
4 # sphinx-quickstart on Tue Nov 29 15:15:50 2011.
5 #
6 # This file is execfile()d with the current directory set to its containing
7 # dir.
8 #
9 # Note that not all possible configuration values are present in this
10 # auto-generated file.
11 #
12 # All configuration values have a default; values that are commented out
13 # serve to show the default.
14
15 # If extensions (or modules to document with autodoc) are in another directory,
16 # add these directories to sys.path here. If the directory is relative to the
17 # documentation root, use os.path.abspath to make it absolute, like shown here.
18
19 from sys import path, stderr
20 import os
21
22 try:
23     from objpool.http import PooledHTTPConnection
24     PooledHTTPConnection
25 except ImportError:
26     stderr.write("`objpool` package is required to build kamaki docs.\n")
27     # raise
28
29 path.insert(0, os.path.join(os.path.abspath(os.path.dirname(__file__)), '..'))
30
31 # -- General configuration ---------------------------------------------------
32
33 # If your documentation needs a minimal Sphinx version, state it here.
34 #needs_sphinx = '1.0'
35
36 # Add any Sphinx extension module names here, as strings. They can be
37 #extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
38 extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode']
39
40 # Add any paths that contain templates here, relative to this directory.
41 templates_path = ['_templates']
42
43 # The suffix of source filenames.
44 source_suffix = '.rst'
45
46 # The encoding of source files.
47 #source_encoding = 'utf-8-sig'
48
49 # The master toctree document.
50 master_doc = 'index'
51
52 # General information about the project.
53 project = u'Kamaki'
54 copyright = u'2013, GRNET'
55
56 # The version info for the project you're documenting, acts as replacement for
57 # |version| and |release|, also used in various other places throughout the
58 # built documents.
59 #
60 # The short X.Y version.
61 version = '0.8'
62 # The full version, including alpha/beta/rc tags.
63 try:
64     import kamaki
65     release = kamaki.__version__
66 except ImportError:
67     release = version
68
69 # The language for content autogenerated by Sphinx. Refer to documentation
70 # for a list of supported languages.
71 #language = None
72
73 # There are two options for replacing |today|: either, you set today to some
74 # non-false value, then it is used:
75 #today = ''
76 # Else, today_fmt is used as the format for a strftime call.
77 #today_fmt = '%B %d, %Y'
78
79 # List of patterns, relative to source directory, that match files and
80 # directories to ignore when looking for source files.
81 exclude_patterns = ['_build']
82
83 # The reST default role (used for this markup: `text`) to use for all
84 # documents.
85 #default_role = None
86
87 # If true, '()' will be appended to :func: etc. cross-reference text.
88 #add_function_parentheses = True
89
90 # If true, the current module name will be prepended to all description
91 # unit titles (such as .. function::).
92 #add_module_names = True
93
94 # If true, sectionauthor and moduleauthor directives will be shown in the
95 # output. They are ignored by default.
96 #show_authors = False
97
98 # The name of the Pygments (syntax highlighting) style to use.
99 pygments_style = 'sphinx'
100
101 # A list of ignored prefixes for module index sorting.
102 #modindex_common_prefix = []
103
104
105 # -- Options for HTML output -------------------------------------------------
106
107 # The theme to use for HTML and HTML Help pages.  See the documentation for
108 # a list of builtin themes.
109 #html_theme = 'nature'
110 html_theme = 'default'
111 html_theme_options = {
112     'collapsiblesidebar': 'true',
113     'footerbgcolor':    '#55b577',
114     'footertextcolor':  '#000000',
115     'sidebarbgcolor':   '#ffffff',
116     'sidebarbtncolor':  '#f2f2f2',
117     'sidebartextcolor': '#000000',
118     'sidebarlinkcolor': '#328e4a',
119     'relbarbgcolor':    '#55b577',
120     'relbartextcolor':  '#ffffff',
121     'relbarlinkcolor':  '#ffffff',
122     'bgcolor':          '#ffffff',
123     'textcolor':        '#000000',
124     'headbgcolor':      '#ffffff',
125     'headtextcolor':    '#000000',
126     'headlinkcolor':    '#c60f0f',
127     'linkcolor':        '#328e4a',
128     'visitedlinkcolor': '#63409b',
129     'codebgcolor':      '#eeffcc',
130     'codetextcolor':    '#333333'
131 }
132
133
134 # Theme options are theme-specific and customize the look and feel of a theme
135 # further.  For a list of options available for each theme, see the
136 # documentation.
137 #html_theme_options = {}
138
139 # Add any paths that contain custom themes here, relative to this directory.
140 #html_theme_path = []
141
142 # The name for this set of Sphinx documents.  If None, it defaults to
143 # "<project> v<release> documentation".
144 #html_title = None
145
146 # A shorter title for the navigation bar.  Default is the same as html_title.
147 #html_short_title = None
148
149 # The name of an image file (relative to this directory) to place at the top
150 # of the sidebar.
151 #html_logo = None
152
153 # The name of an image file (within the static path) to use as favicon of the
154 # docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
155 # pixels large.
156 #html_favicon = None
157
158 # Add any paths that contain custom static files (such as style sheets) here,
159 # relative to this directory. They are copied after the builtin static files,
160 # so a file named "default.css" will overwrite the builtin "default.css".
161 html_static_path = ['_static']
162
163 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
164 # using the given strftime format.
165 #html_last_updated_fmt = '%b %d, %Y'
166
167 # If true, SmartyPants will be used to convert quotes and dashes to
168 # typographically correct entities.
169 #html_use_smartypants = True
170
171 # Custom sidebar templates, maps document names to template names.
172 #html_sidebars = {}
173
174 # Additional templates that should be rendered to pages, maps page names to
175 # template names.
176 #html_additional_pages = {}
177
178 # If false, no module index is generated.
179 #html_domain_indices = True
180
181 # If false, no index is generated.
182 #html_use_index = True
183
184 # If true, the index is split into individual pages for each letter.
185 #html_split_index = False
186
187 # If true, links to the reST sources are added to the pages.
188 #html_show_sourcelink = True
189
190 # If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
191 #html_show_sphinx = True
192
193 # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
194 #html_show_copyright = True
195
196 # If true, an OpenSearch description file will be output, and all pages will
197 # contain a <link> tag referring to it.  The value of this option must be the
198 # base URL from which the finished HTML is served.
199 #html_use_opensearch = ''
200
201 # This is the file name suffix for HTML files (e.g. ".xhtml").
202 #html_file_suffix = None
203
204 # Output file base name for HTML help builder.
205 htmlhelp_basename = 'Kamakidoc'
206
207
208 # -- Options for LaTeX output ------------------------------------------------
209
210 latex_elements = {
211 # The paper size ('letterpaper' or 'a4paper').
212 #'papersize': 'letterpaper',
213
214 # The font size ('10pt', '11pt' or '12pt').
215 #'pointsize': '10pt',
216
217 # Additional stuff for the LaTeX preamble.
218 #'preamble': '',
219 }
220
221 # Grouping the document tree into LaTeX files. List of tuples
222 # (source start file, target name, title, author, documentclass
223 # [howto/manual]).
224 latex_documents = [
225   ('index', 'Kamaki.tex', u'Kamaki Documentation',
226    u'GRNET', 'manual'),
227 ]
228
229 # The name of an image file (relative to this directory) to place at the top of
230 # the title page.
231 #latex_logo = None
232
233 # For "manual" documents, if this is true, then toplevel headings are parts,
234 # not chapters.
235 #latex_use_parts = False
236
237 # If true, show page references after internal links.
238 #latex_show_pagerefs = False
239
240 # If true, show URL addresses after external links.
241 #latex_show_urls = False
242
243 # Documents to append as an appendix to all manuals.
244 #latex_appendices = []
245
246 # If false, no module index is generated.
247 #latex_domain_indices = True
248
249
250 # -- Options for manual page output ------------------------------------------
251
252 # One entry per manual page. List of tuples
253 # (source start file, name, description, authors, manual section).
254 man_pages = [
255     ('man/kamaki', 'kamaki', 'Command-line tool for managing clouds', '', 1),
256 ]
257
258 # If true, show URL addresses after external links.
259 #man_show_urls = False
260
261
262 # -- Options for Texinfo output ----------------------------------------------
263
264 # Grouping the document tree into Texinfo files. List of tuples
265 # (source start file, target name, title, author,
266 #  dir menu entry, description, category)
267 texinfo_documents = [
268   ('index', 'Kamaki', u'Kamaki Documentation',
269    u'GRNET', 'Kamaki', 'One line description of project.',
270    'Miscellaneous'),
271 ]
272
273 # Documents to append as an appendix to all manuals.
274 #texinfo_appendices = []
275
276 # If false, no module index is generated.
277 #texinfo_domain_indices = True
278
279 # How to display URL addresses: 'footnote', 'no', or 'inline'.
280 #texinfo_show_urls = 'footnote'