root / doc / conf.py @ 7ed400f0
History | View | Annotate | Download (6.8 kB)
1 | d17e74b4 | Iustin Pop | # -*- coding: utf-8 -*-
|
---|---|---|---|
2 | d17e74b4 | Iustin Pop | #
|
3 | d17e74b4 | Iustin Pop | # Ganeti documentation build configuration file, created by
|
4 | d17e74b4 | Iustin Pop | # sphinx-quickstart on Tue Apr 14 13:23:20 2009.
|
5 | d17e74b4 | Iustin Pop | #
|
6 | d17e74b4 | Iustin Pop | # This file is execfile()d with the current directory set to its containing dir.
|
7 | d17e74b4 | Iustin Pop | #
|
8 | d17e74b4 | Iustin Pop | # Note that not all possible configuration values are present in this
|
9 | d17e74b4 | Iustin Pop | # autogenerated file.
|
10 | d17e74b4 | Iustin Pop | #
|
11 | d17e74b4 | Iustin Pop | # All configuration values have a default; values that are commented out
|
12 | d17e74b4 | Iustin Pop | # serve to show the default.
|
13 | d17e74b4 | Iustin Pop | |
14 | d17e74b4 | Iustin Pop | import sys, os |
15 | d17e74b4 | Iustin Pop | |
16 | d17e74b4 | Iustin Pop | # If extensions (or modules to document with autodoc) are in another directory,
|
17 | d17e74b4 | Iustin Pop | # add these directories to sys.path here. If the directory is relative to the
|
18 | d17e74b4 | Iustin Pop | # documentation root, use os.path.abspath to make it absolute, like shown here.
|
19 | 1b225415 | Iustin Pop | #sys.path.append(os.path.abspath("."))
|
20 | d17e74b4 | Iustin Pop | |
21 | d17e74b4 | Iustin Pop | # -- General configuration -----------------------------------------------------
|
22 | d17e74b4 | Iustin Pop | |
23 | 1b225415 | Iustin Pop | # If your documentation needs a minimal Sphinx version, state it here.
|
24 | 1b225415 | Iustin Pop | #needs_sphinx = "1.0"
|
25 | 1b225415 | Iustin Pop | |
26 | d17e74b4 | Iustin Pop | # Add any Sphinx extension module names here, as strings. They can be extensions
|
27 | 1b225415 | Iustin Pop | # coming with Sphinx (named "sphinx.ext.*") or your custom ones.
|
28 | 1b225415 | Iustin Pop | extensions = [ |
29 | 1b225415 | Iustin Pop | "sphinx.ext.todo",
|
30 | 1b225415 | Iustin Pop | "sphinx.ext.graphviz",
|
31 | 1b225415 | Iustin Pop | "ganeti.build.sphinx_ext",
|
32 | 1b225415 | Iustin Pop | ] |
33 | d17e74b4 | Iustin Pop | |
34 | d17e74b4 | Iustin Pop | # Add any paths that contain templates here, relative to this directory.
|
35 | 1b225415 | Iustin Pop | templates_path = ["_templates"]
|
36 | d17e74b4 | Iustin Pop | |
37 | d17e74b4 | Iustin Pop | # The suffix of source filenames.
|
38 | 1b225415 | Iustin Pop | source_suffix = ".rst"
|
39 | d17e74b4 | Iustin Pop | |
40 | d17e74b4 | Iustin Pop | # The encoding of source files.
|
41 | 1b225415 | Iustin Pop | source_encoding = "utf-8"
|
42 | d17e74b4 | Iustin Pop | |
43 | d17e74b4 | Iustin Pop | # The master toctree document.
|
44 | 1b225415 | Iustin Pop | master_doc = "index"
|
45 | d17e74b4 | Iustin Pop | |
46 | d17e74b4 | Iustin Pop | # General information about the project.
|
47 | 1b225415 | Iustin Pop | project = u"Ganeti"
|
48 | 1b225415 | Iustin Pop | copyright = u"2006, 2007, 2008, 2009, 2010, 2011, Google Inc."
|
49 | d17e74b4 | Iustin Pop | |
50 | d17e74b4 | Iustin Pop | # The version info for the project you're documenting, acts as replacement for
|
51 | d17e74b4 | Iustin Pop | # |version| and |release|, also used in various other places throughout the
|
52 | d17e74b4 | Iustin Pop | # built documents.
|
53 | d17e74b4 | Iustin Pop | #
|
54 | d17e74b4 | Iustin Pop | # These next two will be passed via the command line, see the makefile
|
55 | d17e74b4 | Iustin Pop | # The short X.Y version
|
56 | d17e74b4 | Iustin Pop | #version = VERSION_MAJOR + "." + VERSION_MINOR
|
57 | d17e74b4 | Iustin Pop | # The full version, including alpha/beta/rc tags.
|
58 | d17e74b4 | Iustin Pop | #release = PACKAGE_VERSION
|
59 | d17e74b4 | Iustin Pop | |
60 | d17e74b4 | Iustin Pop | # The language for content autogenerated by Sphinx. Refer to documentation
|
61 | d17e74b4 | Iustin Pop | # for a list of supported languages.
|
62 | 1b225415 | Iustin Pop | language = "en"
|
63 | d17e74b4 | Iustin Pop | |
64 | d17e74b4 | Iustin Pop | # There are two options for replacing |today|: either, you set today to some
|
65 | d17e74b4 | Iustin Pop | # non-false value, then it is used:
|
66 | 1b225415 | Iustin Pop | #today = ""
|
67 | d17e74b4 | Iustin Pop | # Else, today_fmt is used as the format for a strftime call.
|
68 | 1b225415 | Iustin Pop | #today_fmt = "%B %d, %Y"
|
69 | d17e74b4 | Iustin Pop | |
70 | d17e74b4 | Iustin Pop | # List of documents that shouldn't be included in the build.
|
71 | d17e74b4 | Iustin Pop | #unused_docs = []
|
72 | d17e74b4 | Iustin Pop | |
73 | d17e74b4 | Iustin Pop | # List of directories, relative to source directory, that shouldn't be searched
|
74 | d17e74b4 | Iustin Pop | # for source files.
|
75 | 1b225415 | Iustin Pop | exclude_trees = [ |
76 | 1b225415 | Iustin Pop | "_build",
|
77 | 1b225415 | Iustin Pop | "api",
|
78 | 1b225415 | Iustin Pop | "coverage"
|
79 | 1b225415 | Iustin Pop | "examples",
|
80 | 1b225415 | Iustin Pop | ] |
81 | d17e74b4 | Iustin Pop | |
82 | d17e74b4 | Iustin Pop | # The reST default role (used for this markup: `text`) to use for all documents.
|
83 | d17e74b4 | Iustin Pop | #default_role = None
|
84 | d17e74b4 | Iustin Pop | |
85 | 1b225415 | Iustin Pop | # If true, "()" will be appended to :func: etc. cross-reference text.
|
86 | d17e74b4 | Iustin Pop | #add_function_parentheses = True
|
87 | d17e74b4 | Iustin Pop | |
88 | d17e74b4 | Iustin Pop | # If true, the current module name will be prepended to all description
|
89 | d17e74b4 | Iustin Pop | # unit titles (such as .. function::).
|
90 | d17e74b4 | Iustin Pop | #add_module_names = True
|
91 | d17e74b4 | Iustin Pop | |
92 | d17e74b4 | Iustin Pop | # If true, sectionauthor and moduleauthor directives will be shown in the
|
93 | d17e74b4 | Iustin Pop | # output. They are ignored by default.
|
94 | d17e74b4 | Iustin Pop | #show_authors = False
|
95 | d17e74b4 | Iustin Pop | |
96 | d17e74b4 | Iustin Pop | # The name of the Pygments (syntax highlighting) style to use.
|
97 | 1b225415 | Iustin Pop | pygments_style = "sphinx"
|
98 | d17e74b4 | Iustin Pop | |
99 | d17e74b4 | Iustin Pop | # A list of ignored prefixes for module index sorting.
|
100 | d17e74b4 | Iustin Pop | #modindex_common_prefix = []
|
101 | d17e74b4 | Iustin Pop | |
102 | d17e74b4 | Iustin Pop | |
103 | d17e74b4 | Iustin Pop | # -- Options for HTML output ---------------------------------------------------
|
104 | d17e74b4 | Iustin Pop | |
105 | 1b225415 | Iustin Pop | # The theme to use for HTML and HTML Help pages. See the documentation for
|
106 | 1b225415 | Iustin Pop | # a list of builtin themes.
|
107 | 1b225415 | Iustin Pop | html_theme = "default"
|
108 | d17e74b4 | Iustin Pop | |
109 | d17e74b4 | Iustin Pop | # Theme options are theme-specific and customize the look and feel of a theme
|
110 | d17e74b4 | Iustin Pop | # further. For a list of options available for each theme, see the
|
111 | d17e74b4 | Iustin Pop | # documentation.
|
112 | d17e74b4 | Iustin Pop | #html_theme_options = {}
|
113 | d17e74b4 | Iustin Pop | |
114 | d17e74b4 | Iustin Pop | # Add any paths that contain custom themes here, relative to this directory.
|
115 | d17e74b4 | Iustin Pop | #html_theme_path = []
|
116 | d17e74b4 | Iustin Pop | |
117 | d17e74b4 | Iustin Pop | # The name for this set of Sphinx documents. If None, it defaults to
|
118 | d17e74b4 | Iustin Pop | # "<project> v<release> documentation".
|
119 | d17e74b4 | Iustin Pop | #html_title = None
|
120 | d17e74b4 | Iustin Pop | |
121 | d17e74b4 | Iustin Pop | # A shorter title for the navigation bar. Default is the same as html_title.
|
122 | d17e74b4 | Iustin Pop | #html_short_title = None
|
123 | d17e74b4 | Iustin Pop | |
124 | d17e74b4 | Iustin Pop | # The name of an image file (relative to this directory) to place at the top
|
125 | d17e74b4 | Iustin Pop | # of the sidebar.
|
126 | d17e74b4 | Iustin Pop | #html_logo = None
|
127 | d17e74b4 | Iustin Pop | |
128 | d17e74b4 | Iustin Pop | # The name of an image file (within the static path) to use as favicon of the
|
129 | d17e74b4 | Iustin Pop | # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
|
130 | d17e74b4 | Iustin Pop | # pixels large.
|
131 | d17e74b4 | Iustin Pop | #html_favicon = None
|
132 | d17e74b4 | Iustin Pop | |
133 | d17e74b4 | Iustin Pop | # Add any paths that contain custom static files (such as style sheets) here,
|
134 | d17e74b4 | Iustin Pop | # relative to this directory. They are copied after the builtin static files,
|
135 | d17e74b4 | Iustin Pop | # so a file named "default.css" will overwrite the builtin "default.css".
|
136 | d17e74b4 | Iustin Pop | html_static_path = [] |
137 | d17e74b4 | Iustin Pop | |
138 | 1b225415 | Iustin Pop | # If not "", a "Last updated on:" timestamp is inserted at every page bottom,
|
139 | d17e74b4 | Iustin Pop | # using the given strftime format.
|
140 | 1b225415 | Iustin Pop | #html_last_updated_fmt = "%b %d, %Y"
|
141 | d17e74b4 | Iustin Pop | |
142 | d17e74b4 | Iustin Pop | # If true, SmartyPants will be used to convert quotes and dashes to
|
143 | d17e74b4 | Iustin Pop | # typographically correct entities.
|
144 | d17e74b4 | Iustin Pop | #html_use_smartypants = True
|
145 | d17e74b4 | Iustin Pop | |
146 | d17e74b4 | Iustin Pop | # Custom sidebar templates, maps document names to template names.
|
147 | d17e74b4 | Iustin Pop | #html_sidebars = {}
|
148 | d17e74b4 | Iustin Pop | |
149 | d17e74b4 | Iustin Pop | # Additional templates that should be rendered to pages, maps page names to
|
150 | d17e74b4 | Iustin Pop | # template names.
|
151 | d17e74b4 | Iustin Pop | #html_additional_pages = {}
|
152 | d17e74b4 | Iustin Pop | |
153 | d17e74b4 | Iustin Pop | # If false, no module index is generated.
|
154 | d17e74b4 | Iustin Pop | html_use_modindex = False
|
155 | d17e74b4 | Iustin Pop | |
156 | d17e74b4 | Iustin Pop | # If false, no index is generated.
|
157 | d17e74b4 | Iustin Pop | html_use_index = False
|
158 | d17e74b4 | Iustin Pop | |
159 | d17e74b4 | Iustin Pop | # If true, the index is split into individual pages for each letter.
|
160 | d17e74b4 | Iustin Pop | #html_split_index = False
|
161 | d17e74b4 | Iustin Pop | |
162 | d17e74b4 | Iustin Pop | # If true, links to the reST sources are added to the pages.
|
163 | d17e74b4 | Iustin Pop | #html_show_sourcelink = True
|
164 | d17e74b4 | Iustin Pop | |
165 | 1b225415 | Iustin Pop | # If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
|
166 | 1b225415 | Iustin Pop | #html_show_sphinx = True
|
167 | 1b225415 | Iustin Pop | |
168 | 1b225415 | Iustin Pop | # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
|
169 | 1b225415 | Iustin Pop | #html_show_copyright = True
|
170 | 1b225415 | Iustin Pop | |
171 | d17e74b4 | Iustin Pop | # If true, an OpenSearch description file will be output, and all pages will
|
172 | d17e74b4 | Iustin Pop | # contain a <link> tag referring to it. The value of this option must be the
|
173 | d17e74b4 | Iustin Pop | # base URL from which the finished HTML is served.
|
174 | 1b225415 | Iustin Pop | #html_use_opensearch = ""
|
175 | d17e74b4 | Iustin Pop | |
176 | d17e74b4 | Iustin Pop | # If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml").
|
177 | 1b225415 | Iustin Pop | #html_file_suffix = ""
|
178 | d17e74b4 | Iustin Pop | |
179 | d17e74b4 | Iustin Pop | # Output file base name for HTML help builder.
|
180 | 1b225415 | Iustin Pop | htmlhelp_basename = "Ganetidoc"
|
181 | d17e74b4 | Iustin Pop | |
182 | d17e74b4 | Iustin Pop | |
183 | d17e74b4 | Iustin Pop | # -- Options for LaTeX output --------------------------------------------------
|
184 | d17e74b4 | Iustin Pop | |
185 | 1b225415 | Iustin Pop | # The paper size ("letter" or "a4").
|
186 | 1b225415 | Iustin Pop | #latex_paper_size = "a4"
|
187 | d17e74b4 | Iustin Pop | |
188 | 1b225415 | Iustin Pop | # The font size ("10pt", "11pt" or "12pt").
|
189 | 1b225415 | Iustin Pop | #latex_font_size = "10pt"
|
190 | d17e74b4 | Iustin Pop | |
191 | d17e74b4 | Iustin Pop | # Grouping the document tree into LaTeX files. List of tuples
|
192 | d17e74b4 | Iustin Pop | # (source start file, target name, title, author, documentclass [howto/manual]).
|
193 | d17e74b4 | Iustin Pop | latex_documents = [ |
194 | 1b225415 | Iustin Pop | ("index", "Ganeti.tex", u"Ganeti Documentation", |
195 | 1b225415 | Iustin Pop | u"Google Inc.", "manual"), |
196 | d17e74b4 | Iustin Pop | ] |
197 | d17e74b4 | Iustin Pop | |
198 | d17e74b4 | Iustin Pop | # The name of an image file (relative to this directory) to place at the top of
|
199 | d17e74b4 | Iustin Pop | # the title page.
|
200 | d17e74b4 | Iustin Pop | #latex_logo = None
|
201 | d17e74b4 | Iustin Pop | |
202 | d17e74b4 | Iustin Pop | # For "manual" documents, if this is true, then toplevel headings are parts,
|
203 | d17e74b4 | Iustin Pop | # not chapters.
|
204 | d17e74b4 | Iustin Pop | #latex_use_parts = False
|
205 | d17e74b4 | Iustin Pop | |
206 | 1b225415 | Iustin Pop | # If true, show page references after internal links.
|
207 | 1b225415 | Iustin Pop | #latex_show_pagerefs = False
|
208 | 1b225415 | Iustin Pop | |
209 | 1b225415 | Iustin Pop | # If true, show URL addresses after external links.
|
210 | 1b225415 | Iustin Pop | #latex_show_urls = False
|
211 | 1b225415 | Iustin Pop | |
212 | d17e74b4 | Iustin Pop | # Additional stuff for the LaTeX preamble.
|
213 | 1b225415 | Iustin Pop | #latex_preamble = ""
|
214 | d17e74b4 | Iustin Pop | |
215 | d17e74b4 | Iustin Pop | # Documents to append as an appendix to all manuals.
|
216 | d17e74b4 | Iustin Pop | #latex_appendices = []
|
217 | d17e74b4 | Iustin Pop | |
218 | d17e74b4 | Iustin Pop | # If false, no module index is generated.
|
219 | d17e74b4 | Iustin Pop | latex_use_modindex = False |