]>
git.proxmox.com Git - proxmox-backup.git/blob - docs/conf.py
2 # -*- coding: utf-8 -*-
4 # Proxmox Backup documentation build configuration file, originally
5 # created by sphinx-quickstart on Tue Feb 26 16:54:35 2019.
7 # This file is execfile()d with the current directory set to its
10 # Note that not all possible configuration values are present in this
13 # All configuration values have a default; values that are commented out
14 # serve to show the default.
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.
22 # sys.path.insert(0, os.path.abspath('.'))
24 # -- General configuration ------------------------------------------------
26 # If your documentation needs a minimal Sphinx version, state it here.
28 # needs_sphinx = '1.0'
30 # Add any Sphinx extension module names here, as strings. They can be
31 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
33 extensions
= ["sphinx.ext.graphviz", "sphinx.ext.todo"]
35 # Add any paths that contain templates here, relative to this directory.
36 templates_path
= ['_templates']
38 # The suffix(es) of source filenames.
39 # You can specify multiple suffix as a list of string:
41 # source_suffix = ['.rst', '.md']
42 source_suffix
= '.rst'
44 # The encoding of source files.
46 # source_encoding = 'utf-8-sig'
48 # The master toctree document.
51 epilog_file
= open('epilog.rst', 'r')
52 rst_epilog
= epilog_file
.read()
54 # General information about the project.
55 project
= 'Proxmox Backup'
56 copyright
= '2019, Proxmox Support Team'
57 author
= 'Proxmox Support Team'
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
63 # The short X.Y version.
65 # The full version, including alpha/beta/rc tags.
68 # The language for content autogenerated by Sphinx. Refer to documentation
69 # for a list of supported languages.
71 # This is also used if you do content translation via gettext catalogs.
72 # Usually you set "language" from the command line for these cases.
75 # There are two options for replacing |today|: either, you set today to some
76 # non-false value, then it is used:
80 # Else, today_fmt is used as the format for a strftime call.
82 # today_fmt = '%B %d, %Y'
84 # List of patterns, relative to source directory, that match files and
85 # directories to ignore when looking for source files.
86 # This patterns also effect to html_static_path and html_extra_path
88 '_build', 'Thumbs.db', '.DS_Store',
89 'proxmox-backup-client/man1.rst',
90 'proxmox-backup-manager/man1.rst',
91 'proxmox-backup-proxy/man1.rst',
96 'package-repositories.rst',
99 # The reST default role (used for this markup: `text`) to use for all
102 # default_role = None
104 # If true, '()' will be appended to :func: etc. cross-reference text.
106 # add_function_parentheses = True
108 # If true, the current module name will be prepended to all description
109 # unit titles (such as .. function::).
111 # add_module_names = True
113 # If true, sectionauthor and moduleauthor directives will be shown in the
114 # output. They are ignored by default.
116 # show_authors = False
118 # The name of the Pygments (syntax highlighting) style to use.
119 pygments_style
= 'sphinx'
121 # A list of ignored prefixes for module index sorting.
122 # modindex_common_prefix = []
124 # If true, keep warnings as "system message" paragraphs in the built documents.
125 # keep_warnings = False
127 # If true, `todo` and `todoList` produce output, else they produce nothing.
128 todo_include_todos
= True
131 # -- Options for HTML output ----------------------------------------------
133 # The theme to use for HTML and HTML Help pages. See the documentation for
134 # a list of builtin themes.
136 html_theme
= 'sphinxdoc'
138 # Theme options are theme-specific and customize the look and feel of a theme
139 # further. For a list of options available for each theme, see the
142 # html_theme_options = {}
144 # Add any paths that contain custom themes here, relative to this directory.
145 # html_theme_path = []
147 # The name for this set of Sphinx documents.
148 # "<project> v<release> documentation" by default.
150 # html_title = 'Proxmox Backup v1.0-1'
152 # A shorter title for the navigation bar. Default is the same as html_title.
154 # html_short_title = None
156 # The name of an image file (relative to this directory) to place at the top
159 html_logo
= 'images/proxmox-logo.svg'
161 # The name of an image file (relative to this directory) to use as a favicon of
162 # the docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
165 html_favicon
= 'images/favicon.ico'
167 # Add any paths that contain custom static files (such as style sheets) here,
168 # relative to this directory. They are copied after the builtin static files,
169 # so a file named "default.css" will overwrite the builtin "default.css".
170 html_static_path
= ['_static']
172 # Add any extra paths that contain custom files (such as robots.txt or
173 # .htaccess) here, relative to this directory. These files are copied
174 # directly to the root of the documentation.
176 # html_extra_path = []
178 # If not None, a 'Last updated on:' timestamp is inserted at every page
179 # bottom, using the given strftime format.
180 # The empty string is equivalent to '%b %d, %Y'.
182 # html_last_updated_fmt = None
184 # If true, SmartyPants will be used to convert quotes and dashes to
185 # typographically correct entities.
187 # html_use_smartypants = True
189 # Custom sidebar templates, maps document names to template names.
193 # Additional templates that should be rendered to pages, maps page names to
196 # html_additional_pages = {}
198 # If false, no module index is generated.
200 # html_domain_indices = True
202 # If false, no index is generated.
204 # html_use_index = True
206 # If true, the index is split into individual pages for each letter.
208 # html_split_index = False
210 # If true, links to the reST sources are added to the pages.
212 # html_show_sourcelink = True
214 # If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
216 # html_show_sphinx = True
218 # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
220 # html_show_copyright = True
222 # If true, an OpenSearch description file will be output, and all pages will
223 # contain a <link> tag referring to it. The value of this option must be the
224 # base URL from which the finished HTML is served.
226 # html_use_opensearch = ''
228 # This is the file name suffix for HTML files (e.g. ".xhtml").
229 # html_file_suffix = None
231 # Language to be used for generating the HTML full-text search index.
232 # Sphinx supports the following languages:
233 # 'da', 'de', 'en', 'es', 'fi', 'fr', 'h', 'it', 'ja'
234 # 'nl', 'no', 'pt', 'ro', 'r', 'sv', 'tr', 'zh'
236 # html_search_language = 'en'
238 # A dictionary with options for the search language support, empty by default.
239 # 'ja' uses this config value.
240 # 'zh' user can custom change `jieba` dictionary path.
242 # html_search_options = {'type': 'default'}
244 # The name of a javascript file (relative to the configuration directory) that
245 # implements a search results scorer. If empty, the default will be used.
247 # html_search_scorer = 'scorer.js'
249 # Output file base name for HTML help builder.
250 htmlhelp_basename
= 'ProxmoxBackupdoc'
252 # -- Options for LaTeX output ---------------------------------------------
254 latex_engine
= 'xelatex'
257 'fontenc': '\\usepackage{fontspec}',
259 # The paper size ('letterpaper' or 'a4paper').
261 'papersize': 'a4paper',
263 # The font size ('10pt', '11pt' or '12pt').
268 \setmainfont{DejaVu Serif}
269 \setsansfont{DejaVu Sans}
270 \setmonofont{DejaVu Sans Mono}[Scale=0.8]
273 # Additional stuff for the LaTeX preamble.
277 # Latex figure (float) alignment
279 # 'figure_align': 'htbp',
282 # Grouping the document tree into LaTeX files. List of tuples
283 # (source start file, target name, title,
284 # author, documentclass [howto, manual, or own class]).
286 (master_doc
, 'ProxmoxBackup.tex', 'Proxmox Backup Documentation',
287 'Proxmox Support Team', 'manual'),
290 # The name of an image file (relative to this directory) to place at the top of
294 # Note: newer sphinx 1.6 should be able to convert .svg to .png
295 # automatically using sphinx.ext.imgconverter
296 latex_logo
= "images/proxmox-logo.png"
298 # For "manual" documents, if this is true, then toplevel headings are parts,
301 # latex_use_parts = False
303 # If true, show page references after internal links.
305 # latex_show_pagerefs = False
307 # If true, show URL addresses after external links.
309 # latex_show_urls = False
311 # Documents to append as an appendix to all manuals.
313 # latex_appendices = []
315 # It false, will not define \strong, \code, itleref, \crossref ... but only
316 # \sphinxstrong, ..., \sphinxtitleref, ... To help avoid clash with user added
319 # latex_keep_old_macro_names = True
321 # If false, no module index is generated.
323 # latex_domain_indices = True
326 # -- Options for Epub output ----------------------------------------------
328 # Bibliographic Dublin Core info.
331 epub_publisher
= author
332 epub_copyright
= copyright
334 # The basename for the epub file. It defaults to the project name.
335 # epub_basename = project
337 # The HTML theme for the epub output. Since the default themes are not
338 # optimized for small screen space, using the same theme for HTML and epub
339 # output is usually not wise. This defaults to 'epub', a theme designed to save
342 # epub_theme = 'epub'
344 # The language of the text. It defaults to the language option
345 # or 'en' if the language is not set.
349 # The scheme of the identifier. Typical schemes are ISBN or URL.
352 # The unique identifier of the text. This can be a ISBN number
353 # or the project homepage.
355 # epub_identifier = ''
357 # A unique identification for the text.
361 # A tuple containing the cover image and cover page html template filenames.
365 # A sequence of (type, uri, title) tuples for the guide element of content.opf.
369 # HTML files that should be inserted before the pages created by sphinx.
370 # The format is a list of tuples containing the path and title.
372 # epub_pre_files = []
374 # HTML files that should be inserted after the pages created by sphinx.
375 # The format is a list of tuples containing the path and title.
377 # epub_post_files = []
379 # A list of files that should not be packed into the epub file.
380 epub_exclude_files
= ['search.html']
382 # The depth of the table of contents in toc.ncx.
386 # Allow duplicate toc entries.
390 # Choose between 'default' and 'includehidden'.
392 # epub_tocscope = 'default'
394 # Fix unsupported image types using the Pillow.
396 # epub_fix_images = False
398 # Scale large images.
400 # epub_max_image_width = 0
402 # How to display URL addresses: 'footnote', 'no', or 'inline'.
404 # epub_show_urls = 'inline'
406 # If false, no index is generated.
408 # epub_use_index = True