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