Merge tag '0.10.2'
[ganeti_webmgr.git] / docs / source / conf.py
blobbf49c6842a64808401fd85f2b464a5652aaa34ba
1 # -*- coding: utf-8 -*-
3 # Ganeti Web Manager documentation build configuration file, created by
4 # sphinx-quickstart on Fri Oct 26 11:40:24 2012.
6 # This file is execfile()d with the current directory set to its containing dir.
8 # Note that not all possible configuration values are present in this
9 # autogenerated file.
11 # All configuration values have a default; values that are commented out
12 # serve to show the default.
14 import sys, os
16 # If extensions (or modules to document with autodoc) are in another directory,
17 # add these directories to sys.path here. If the directory is relative to the
18 # documentation root, use os.path.abspath to make it absolute, like shown here.
19 sys.path.insert(0, os.path.abspath('../../'))
21 # Include Django Project
22 #import settings
23 #from django.core.management import setup_environ
24 #setup_environ(settings)
26 # -- General configuration -----------------------------------------------------
28 # If your documentation needs a minimal Sphinx version, state it here.
29 #needs_sphinx = '1.0'
31 # Add any Sphinx extension module names here, as strings. They can be extensions
32 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
33 extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.ifconfig', 'sphinx.ext.viewcode']
35 # Add any paths that contain templates here, relative to this directory.
36 templates_path = ['_templates']
38 # The suffix of source filenames.
39 source_suffix = '.rst'
41 # The encoding of source files.
42 #source_encoding = 'utf-8-sig'
44 # The master toctree document.
45 master_doc = 'index'
47 # General information about the project.
48 project = u'Ganeti Web Manager'
49 copyright = u'2012, Oregon State University Open Source Lab'
51 # The version info for the project you're documenting, acts as replacement for
52 # |version| and |release|, also used in various other places throughout the
53 # built documents.
55 # The short X.Y version.
56 version = '0.10'
57 # The full version, including alpha/beta/rc tags.
58 release = '0.10.2'
60 # The language for content autogenerated by Sphinx. Refer to documentation
61 # for a list of supported languages.
62 #language = None
64 # There are two options for replacing |today|: either, you set today to some
65 # non-false value, then it is used:
66 #today = ''
67 # Else, today_fmt is used as the format for a strftime call.
68 #today_fmt = '%B %d, %Y'
70 # List of patterns, relative to source directory, that match files and
71 # directories to ignore when looking for source files.
72 exclude_patterns = []
74 # The reST default role (used for this markup: `text`) to use for all documents.
75 #default_role = None
77 # If true, '()' will be appended to :func: etc. cross-reference text.
78 #add_function_parentheses = True
80 # If true, the current module name will be prepended to all description
81 # unit titles (such as .. function::).
82 #add_module_names = True
84 # If true, sectionauthor and moduleauthor directives will be shown in the
85 # output. They are ignored by default.
86 #show_authors = False
88 # The name of the Pygments (syntax highlighting) style to use.
89 pygments_style = 'sphinx'
91 # A list of ignored prefixes for module index sorting.
92 #modindex_common_prefix = []
95 # -- Options for HTML output ---------------------------------------------------
97 # The theme to use for HTML and HTML Help pages. See the documentation for
98 # a list of builtin themes.
99 html_theme = 'default'
101 # Theme options are theme-specific and customize the look and feel of a theme
102 # further. For a list of options available for each theme, see the
103 # documentation.
104 html_theme_options = {
105 "relbarbgcolor": "#222",
106 "sidebarbgcolor": "#EEE",
107 "sidebartextcolor": "#333",
108 "sidebarlinkcolor": "#666",
109 "footerbgcolor": "#222",
110 "headtextcolor": "#333",
111 "relbartextcolor": "#C16328",
112 "relbarlinkcolor": "#FFF",
115 # Add any paths that contain custom themes here, relative to this directory.
116 #html_theme_path = []
118 # The name for this set of Sphinx documents. If None, it defaults to
119 # "<project> v<release> documentation".
120 #html_title = None
122 # A shorter title for the navigation bar. Default is the same as html_title.
123 #html_short_title = None
125 # The name of an image file (relative to this directory) to place at the top
126 # of the sidebar.
127 #html_logo = None
129 # The name of an image file (within the static path) to use as favicon of the
130 # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
131 # pixels large.
132 #html_favicon = None
134 # Add any paths that contain custom static files (such as style sheets) here,
135 # relative to this directory. They are copied after the builtin static files,
136 # so a file named "default.css" will overwrite the builtin "default.css".
137 html_static_path = ['_static']
139 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
140 # using the given strftime format.
141 #html_last_updated_fmt = '%b %d, %Y'
143 # If true, SmartyPants will be used to convert quotes and dashes to
144 # typographically correct entities.
145 #html_use_smartypants = True
147 # Custom sidebar templates, maps document names to template names.
148 #html_sidebars = {}
150 # Additional templates that should be rendered to pages, maps page names to
151 # template names.
152 #html_additional_pages = {}
154 # If false, no module index is generated.
155 #html_domain_indices = True
157 # If false, no index is generated.
158 #html_use_index = True
160 # If true, the index is split into individual pages for each letter.
161 #html_split_index = False
163 # If true, links to the reST sources are added to the pages.
164 #html_show_sourcelink = True
166 # If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
167 #html_show_sphinx = True
169 # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
170 #html_show_copyright = True
172 # If true, an OpenSearch description file will be output, and all pages will
173 # contain a <link> tag referring to it. The value of this option must be the
174 # base URL from which the finished HTML is served.
175 #html_use_opensearch = ''
177 # This is the file name suffix for HTML files (e.g. ".xhtml").
178 #html_file_suffix = None
180 # Output file base name for HTML help builder.
181 htmlhelp_basename = 'GanetiWebManagerdoc'
184 # -- Options for LaTeX output --------------------------------------------------
186 latex_elements = {
187 # The paper size ('letterpaper' or 'a4paper').
188 #'papersize': 'letterpaper',
190 # The font size ('10pt', '11pt' or '12pt').
191 #'pointsize': '10pt',
193 # Additional stuff for the LaTeX preamble.
194 #'preamble': '',
197 # Grouping the document tree into LaTeX files. List of tuples
198 # (source start file, target name, title, author, documentclass [howto/manual]).
199 latex_documents = [
200 ('index', 'GanetiWebManager.tex', u'Ganeti Web Manager Documentation',
201 u'Oregon State University Open Source Lab', 'manual'),
204 # The name of an image file (relative to this directory) to place at the top of
205 # the title page.
206 #latex_logo = None
208 # For "manual" documents, if this is true, then toplevel headings are parts,
209 # not chapters.
210 #latex_use_parts = False
212 # If true, show page references after internal links.
213 #latex_show_pagerefs = False
215 # If true, show URL addresses after external links.
216 #latex_show_urls = False
218 # Documents to append as an appendix to all manuals.
219 #latex_appendices = []
221 # If false, no module index is generated.
222 #latex_domain_indices = True
225 # -- Options for manual page output --------------------------------------------
227 # One entry per manual page. List of tuples
228 # (source start file, name, description, authors, manual section).
229 man_pages = [
230 ('index', 'ganetiwebmanager', u'Ganeti Web Manager Documentation',
231 [u'Oregon State University Open Source Lab'], 1)
234 # If true, show URL addresses after external links.
235 #man_show_urls = False
238 # -- Options for Texinfo output ------------------------------------------------
240 # Grouping the document tree into Texinfo files. List of tuples
241 # (source start file, target name, title, author,
242 # dir menu entry, description, category)
243 texinfo_documents = [
244 ('index', 'GanetiWebManager', u'Ganeti Web Manager Documentation',
245 u'Oregon State University Open Source Lab', 'GanetiWebManager', 'One line description of project.',
246 'Miscellaneous'),
249 # Documents to append as an appendix to all manuals.
250 #texinfo_appendices = []
252 # If false, no module index is generated.
253 #texinfo_domain_indices = True
255 # How to display URL addresses: 'footnote', 'no', or 'inline'.
256 #texinfo_show_urls = 'footnote'
259 # Example configuration for intersphinx: refer to the Python standard library.
260 intersphinx_mapping = {'http://docs.python.org/': None}
262 autodoc_default_flags = ['members']
264 # A string of reStructuredText that will be included at the end of every
265 # source file that is read. This is the right place to add substitutions
266 # that should be available in every file.
267 rst_epilog = """
268 .. |gwm| replace:: Ganeti Web Manager
271 # If this is True, todo and todolist produce output, else they produce
272 # nothing. The default is False.
273 todo_include_todos = False