1# -*- coding: utf-8 -*- 2# 3# Percona Server documentation build configuration file, created by 4# sphinx-quickstart on Mon Aug 8 01:24:46 2011. 5# 6# This file is execfile()d with the current directory set to its containing dir. 7# 8# Note that not all possible configuration values are present in this 9# autogenerated file. 10# 11# All configuration values have a default; values that are commented out 12# serve to show the default. 13 14import sys, os 15 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('.')) 20 21sys.path.append(os.path.abspath('ext')) 22 23# -- General configuration ----------------------------------------------------- 24 25# If your documentation needs a minimal Sphinx version, state it here. 26#needs_sphinx = '1.0' 27 28# Add any Sphinx extension module names here, as strings. They can be extensions 29# coming with Sphinx (named 'sphinx.ext.*') or your custom ones. 30extensions = ['sphinx.ext.intersphinx', 'sphinx.ext.todo', 31 'sphinx.ext.coverage', 'sphinx.ext.ifconfig', 32 'sphinx.ext.extlinks', 'psdom'] 33 34# Add any paths that contain templates here, relative to this directory. 35templates_path = ['_templates'] 36 37# The suffix of source filenames. 38source_suffix = '.rst' 39 40# The encoding of source files. 41#source_encoding = 'utf-8-sig' 42 43# The master toctree document. 44master_doc = 'index' 45 46# General information about the project. 47project = u'Percona Server' 48copyright = u'Percona LLC and/or its affiliates 2009-2020' 49 50# The version info for the project you're documenting, acts as replacement for 51# |version| and |release|, also used in various other places throughout the 52# built documents. 53# 54# The short X.Y version. 55version = '5.6' 56# The full version, including alpha/beta/rc tags. 57release = '5.6.50-90.0' 58# The language for content autogenerated by Sphinx. Refer to documentation 59# for a list of supported languages. 60#language = None 61 62# There are two options for replacing |today|: either, you set today to some 63# non-false value, then it is used: 64#today = '' 65# Else, today_fmt is used as the format for a strftime call. 66#today_fmt = '%B %d, %Y' 67 68# List of patterns, relative to source directory, that match files and 69# directories to ignore when looking for source files. 70exclude_patterns = [] 71 72# The reST default role (used for this markup: `text`) to use for all documents. 73#default_role = None 74 75primary_domain = 'psdom' 76 77# If true, '()' will be appended to :func: etc. cross-reference text. 78#add_function_parentheses = True 79 80# If true, the current module name will be prepended to all description 81# unit titles (such as .. function::). 82#add_module_names = True 83 84# If true, sectionauthor and moduleauthor directives will be shown in the 85# output. They are ignored by default. 86#show_authors = False 87 88# The name of the Pygments (syntax highlighting) style to use. 89pygments_style = 'sphinx' 90 91rst_prolog = ''' 92 93.. role:: mysql(code) 94 :language: mysql 95 96.. role:: dir(file) 97 98.. role:: bash(code) 99 :language: bash 100 101.. |check| replace:: ``|[[---CHECK---]]|`` 102 103.. |xtrabackup| replace:: :program:`xtrabackup` 104 105.. |innobackupex| replace:: :program:`innobackupex` 106 107.. |XtraDB| replace:: *XtraDB* 108 109.. |Jenkins| replace:: :term:`Jenkins` 110 111.. |InnoDB| replace:: *InnoDB* 112 113.. |MyISAM| replace:: *MyISAM* 114 115.. |LSN| replace:: *LSN* 116 117.. |XtraBackup| replace:: *XtraBackup* 118 119.. |Percona XtraBackup| replace:: *Percona XtraBackup* 120 121.. |Percona TokuBackup| replace:: *Percona TokuBackup* 122 123.. |TokuBackup| replace:: *TokuBackup* 124 125.. |Percona Toolkit| replace:: *Percona Toolkit* 126 127.. |Percona Server| replace:: *Percona Server for MySQL* 128 129.. |Percona| replace:: *Percona* 130 131.. |TokuDB| replace:: *TokuDB* 132 133.. |Percona FT| replace:: *Percona FT* 134 135.. |MySQL| replace:: *MySQL* 136 137.. |MariaDB| replace:: *MariaDB* 138 139.. |tar4ibd| replace:: :program:`tar4ibd` 140 141.. |tar| replace:: :program:`tar` 142 143.. |MyRocks| replace:: *MyRocks* 144 145''' 146 147# A list of ignored prefixes for module index sorting. 148#modindex_common_prefix = [] 149 150extlinks = {'bug': ('https://bugs.launchpad.net/percona-server/+bug/%s', '#'), 151 'mysqlbug': ('http://bugs.mysql.com/bug.php?id=%s', '#'), 152 'ftbug': ('https://tokutek.atlassian.net/browse/FT-%s', '#'), 153 'tokubug': ('https://tokutek.atlassian.net/browse/DB-%s', '#'), 154 'bkpbug': ('https://tokutek.atlassian.net/browse/BACKUP-%s', '#'), 155 'tdbbug': ('https://jira.percona.com/browse/TDB-%s', '#'), 156 'psbug': ('https://jira.percona.com/browse/PS-%s', '#'), 157 'jirabug': ('https://jira.percona.com/browse/%s', '')} 158 159# -- Options for HTML output --------------------------------------------------- 160 161# The theme to use for HTML and HTML Help pages. See the documentation for 162# a list of builtin themes. 163html_theme = 'percona-theme' 164 165# Theme options are theme-specific and customize the look and feel of a theme 166# further. For a list of options available for each theme, see the 167# documentation. 168#html_theme_options = {} 169 170# Add any paths that contain custom themes here, relative to this directory. 171html_theme_path = ['.', './percona-theme'] 172 173# The name for this set of Sphinx documents. If None, it defaults to 174# "<project> v<release> documentation". 175html_title = 'Percona Server for MySQL 5.6 Documentation' 176 177# A shorter title for the navigation bar. Default is the same as html_title. 178html_short_title = 'Percona Server for MySQL 5.6' 179 180# The name of an image file (relative to this directory) to place at the top 181# of the sidebar. 182html_logo = 'percona-server-logo.jpg' 183 184# The name of an image file (within the static path) to use as favicon of the 185# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 186# pixels large. 187#html_favicon = None 188 189# Add any paths that contain custom static files (such as style sheets) here, 190# relative to this directory. They are copied after the builtin static files, 191# so a file named "default.css" will overwrite the builtin "default.css". 192html_static_path = ['_static'] 193 194# If not '', a 'Last updated on:' timestamp is inserted at every page bottom, 195# using the given strftime format. 196#html_last_updated_fmt = '%b %d, %Y' 197 198# If true, SmartyPants will be used to convert quotes and dashes to 199# typographically correct entities. 200#html_use_smartypants = True 201 202# Custom sidebar templates, maps document names to template names. 203html_sidebars = { 204 '**': ['localtoc.html', 'sourcelink.html'], 205 'using/windows': ['windowssidebar.html'], 206} 207 208# Additional templates that should be rendered to pages, maps page names to 209# template names. 210#html_additional_pages = {} 211 212# If false, no module index is generated. 213#html_domain_indices = True 214 215# If false, no index is generated. 216#html_use_index = True 217 218# If true, the index is split into individual pages for each letter. 219#html_split_index = False 220 221# If true, links to the reST sources are added to the pages. 222#html_show_sourcelink = True 223 224# If true, "Created using Sphinx" is shown in the HTML footer. Default is True. 225#html_show_sphinx = True 226 227# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. 228#html_show_copyright = True 229 230# If true, an OpenSearch description file will be output, and all pages will 231# contain a <link> tag referring to it. The value of this option must be the 232# base URL from which the finished HTML is served. 233#html_use_opensearch = '' 234 235# This is the file name suffix for HTML files (e.g. ".xhtml"). 236#html_file_suffix = None 237 238# Output file base name for HTML help builder. 239htmlhelp_basename = 'PerconaServer56doc' 240 241 242# -- Options for LaTeX output -------------------------------------------------- 243 244# The paper size ('letter' or 'a4'). 245#latex_paper_size = 'letter' 246 247# The font size ('10pt', '11pt' or '12pt'). 248#latex_font_size = '10pt' 249 250# Grouping the document tree into LaTeX files. List of tuples 251# (source start file, target name, title, author, documentclass [howto/manual]). 252latex_documents = [ 253 ('index', 'PerconaServer-5.6.tex', u'Percona Server for MySQL Documentation', 254 u'Percona LLC and/or its affiliates 2009-2020', 'manual'), 255] 256 257# The name of an image file (relative to this directory) to place at the top of 258# the title page. 259latex_logo = 'percona-logo.jpg' 260 261# For "manual" documents, if this is true, then toplevel headings are parts, 262# not chapters. 263latex_toplevel_sectioning = 'part' 264 265latex_elements = { 266 'classoptions': ',oneside', 267 'babel': '\\usepackage[english]{babel}' 268} 269# If true, show page references after internal links. 270#latex_show_pagerefs = False 271 272# If true, show URL addresses after external links. 273#latex_show_urls = False 274 275# Additional stuff for the LaTeX preamble. 276#latex_preamble = '' 277 278# Documents to append as an appendix to all manuals. 279#latex_appendices = [] 280 281# If false, no module index is generated. 282#latex_domain_indices = True 283 284 285# -- Options for manual page output -------------------------------------------- 286 287# One entry per manual page. List of tuples 288# (source start file, name, description, authors, manual section). 289man_pages = [ 290 ('index', 'perconaserver56', u'Percona Server for MySQL 5.6 Documentation', 291 [u'Percona LLC and/or its affiliates 2009-2020'], 1) 292] 293 294 295# Example configuration for intersphinx: refer to the Python standard library. 296intersphinx_mapping = { 297 'ps51' : ('https://www.percona.com/doc/percona-server/5.1/', None), 298 'ps55' : ('https://www.percona.com/doc/percona-server/5.5/', None), 299 'ps56' : ('https://www.percona.com/doc/percona-server/5.6/', None), 300 'xb21' : ('https://www.percona.com/doc/percona-xtrabackup/2.1/', None), 301 'ptoolkit' : ('https://www.percona.com/doc/percona-toolkit/2.2/', None) 302 } 303