Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | # -*- coding: utf-8 -*- |
michael@0 | 2 | # |
michael@0 | 3 | # MozBase documentation build configuration file, created by |
michael@0 | 4 | # sphinx-quickstart on Mon Oct 22 14:02:17 2012. |
michael@0 | 5 | # |
michael@0 | 6 | # This file is execfile()d with the current directory set to its containing dir. |
michael@0 | 7 | # |
michael@0 | 8 | # Note that not all possible configuration values are present in this |
michael@0 | 9 | # autogenerated file. |
michael@0 | 10 | # |
michael@0 | 11 | # All configuration values have a default; values that are commented out |
michael@0 | 12 | # serve to show the default. |
michael@0 | 13 | |
michael@0 | 14 | import sys, os |
michael@0 | 15 | |
michael@0 | 16 | # If extensions (or modules to document with autodoc) are in another directory, |
michael@0 | 17 | # add these directories to sys.path here. If the directory is relative to the |
michael@0 | 18 | # documentation root, use os.path.abspath to make it absolute, like shown here. |
michael@0 | 19 | here = os.path.dirname(os.path.abspath(__file__)) |
michael@0 | 20 | parent = os.path.dirname(here) |
michael@0 | 21 | for item in os.listdir(parent): |
michael@0 | 22 | path = os.path.join(parent, item) |
michael@0 | 23 | if (not os.path.isdir(path)) or (not os.path.exists(os.path.join(path, 'setup.py'))): |
michael@0 | 24 | continue |
michael@0 | 25 | sys.path.insert(0, path) |
michael@0 | 26 | |
michael@0 | 27 | # -- General configuration ----------------------------------------------------- |
michael@0 | 28 | |
michael@0 | 29 | # If your documentation needs a minimal Sphinx version, state it here. |
michael@0 | 30 | #needs_sphinx = '1.0' |
michael@0 | 31 | |
michael@0 | 32 | # Add any Sphinx extension module names here, as strings. They can be extensions |
michael@0 | 33 | # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. |
michael@0 | 34 | extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.todo', 'sphinx.ext.viewcode'] |
michael@0 | 35 | |
michael@0 | 36 | # Add any paths that contain templates here, relative to this directory. |
michael@0 | 37 | templates_path = ['_templates'] |
michael@0 | 38 | |
michael@0 | 39 | # The suffix of source filenames. |
michael@0 | 40 | source_suffix = '.rst' |
michael@0 | 41 | |
michael@0 | 42 | # The encoding of source files. |
michael@0 | 43 | #source_encoding = 'utf-8-sig' |
michael@0 | 44 | |
michael@0 | 45 | # The master toctree document. |
michael@0 | 46 | master_doc = 'index' |
michael@0 | 47 | |
michael@0 | 48 | # General information about the project. |
michael@0 | 49 | project = u'MozBase' |
michael@0 | 50 | copyright = u'2012, Mozilla Automation and Tools team' |
michael@0 | 51 | |
michael@0 | 52 | # The version info for the project you're documenting, acts as replacement for |
michael@0 | 53 | # |version| and |release|, also used in various other places throughout the |
michael@0 | 54 | # built documents. |
michael@0 | 55 | # |
michael@0 | 56 | # The short X.Y version. |
michael@0 | 57 | version = '1' |
michael@0 | 58 | # The full version, including alpha/beta/rc tags. |
michael@0 | 59 | release = '1' |
michael@0 | 60 | |
michael@0 | 61 | # The language for content autogenerated by Sphinx. Refer to documentation |
michael@0 | 62 | # for a list of supported languages. |
michael@0 | 63 | #language = None |
michael@0 | 64 | |
michael@0 | 65 | # There are two options for replacing |today|: either, you set today to some |
michael@0 | 66 | # non-false value, then it is used: |
michael@0 | 67 | #today = '' |
michael@0 | 68 | # Else, today_fmt is used as the format for a strftime call. |
michael@0 | 69 | #today_fmt = '%B %d, %Y' |
michael@0 | 70 | |
michael@0 | 71 | # List of patterns, relative to source directory, that match files and |
michael@0 | 72 | # directories to ignore when looking for source files. |
michael@0 | 73 | exclude_patterns = ['_build'] |
michael@0 | 74 | |
michael@0 | 75 | # The reST default role (used for this markup: `text`) to use for all documents. |
michael@0 | 76 | #default_role = None |
michael@0 | 77 | |
michael@0 | 78 | # If true, '()' will be appended to :func: etc. cross-reference text. |
michael@0 | 79 | #add_function_parentheses = True |
michael@0 | 80 | |
michael@0 | 81 | # If true, the current module name will be prepended to all description |
michael@0 | 82 | # unit titles (such as .. function::). |
michael@0 | 83 | #add_module_names = True |
michael@0 | 84 | |
michael@0 | 85 | # If true, sectionauthor and moduleauthor directives will be shown in the |
michael@0 | 86 | # output. They are ignored by default. |
michael@0 | 87 | #show_authors = False |
michael@0 | 88 | |
michael@0 | 89 | # The name of the Pygments (syntax highlighting) style to use. |
michael@0 | 90 | pygments_style = 'sphinx' |
michael@0 | 91 | |
michael@0 | 92 | # A list of ignored prefixes for module index sorting. |
michael@0 | 93 | #modindex_common_prefix = [] |
michael@0 | 94 | |
michael@0 | 95 | |
michael@0 | 96 | # -- Options for HTML output --------------------------------------------------- |
michael@0 | 97 | |
michael@0 | 98 | # The theme to use for HTML and HTML Help pages. See the documentation for |
michael@0 | 99 | # a list of builtin themes. |
michael@0 | 100 | html_theme = 'default' |
michael@0 | 101 | |
michael@0 | 102 | # Theme options are theme-specific and customize the look and feel of a theme |
michael@0 | 103 | # further. For a list of options available for each theme, see the |
michael@0 | 104 | # documentation. |
michael@0 | 105 | #html_theme_options = {} |
michael@0 | 106 | |
michael@0 | 107 | # Add any paths that contain custom themes here, relative to this directory. |
michael@0 | 108 | #html_theme_path = [] |
michael@0 | 109 | |
michael@0 | 110 | # The name for this set of Sphinx documents. If None, it defaults to |
michael@0 | 111 | # "<project> v<release> documentation". |
michael@0 | 112 | html_title = "mozbase documentation" |
michael@0 | 113 | |
michael@0 | 114 | # A shorter title for the navigation bar. Default is the same as html_title. |
michael@0 | 115 | #html_short_title = None |
michael@0 | 116 | |
michael@0 | 117 | # The name of an image file (relative to this directory) to place at the top |
michael@0 | 118 | # of the sidebar. |
michael@0 | 119 | #html_logo = None |
michael@0 | 120 | |
michael@0 | 121 | # The name of an image file (within the static path) to use as favicon of the |
michael@0 | 122 | # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 |
michael@0 | 123 | # pixels large. |
michael@0 | 124 | #html_favicon = None |
michael@0 | 125 | |
michael@0 | 126 | # Add any paths that contain custom static files (such as style sheets) here, |
michael@0 | 127 | # relative to this directory. They are copied after the builtin static files, |
michael@0 | 128 | # so a file named "default.css" will overwrite the builtin "default.css". |
michael@0 | 129 | html_static_path = ['_static'] |
michael@0 | 130 | |
michael@0 | 131 | # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, |
michael@0 | 132 | # using the given strftime format. |
michael@0 | 133 | #html_last_updated_fmt = '%b %d, %Y' |
michael@0 | 134 | |
michael@0 | 135 | # If true, SmartyPants will be used to convert quotes and dashes to |
michael@0 | 136 | # typographically correct entities. |
michael@0 | 137 | #html_use_smartypants = True |
michael@0 | 138 | |
michael@0 | 139 | # Custom sidebar templates, maps document names to template names. |
michael@0 | 140 | #html_sidebars = {} |
michael@0 | 141 | |
michael@0 | 142 | # Additional templates that should be rendered to pages, maps page names to |
michael@0 | 143 | # template names. |
michael@0 | 144 | #html_additional_pages = {} |
michael@0 | 145 | |
michael@0 | 146 | # If false, no module index is generated. |
michael@0 | 147 | #html_domain_indices = True |
michael@0 | 148 | |
michael@0 | 149 | # If false, no index is generated. |
michael@0 | 150 | #html_use_index = True |
michael@0 | 151 | |
michael@0 | 152 | # If true, the index is split into individual pages for each letter. |
michael@0 | 153 | #html_split_index = False |
michael@0 | 154 | |
michael@0 | 155 | # If true, links to the reST sources are added to the pages. |
michael@0 | 156 | #html_show_sourcelink = True |
michael@0 | 157 | |
michael@0 | 158 | # If true, "Created using Sphinx" is shown in the HTML footer. Default is True. |
michael@0 | 159 | #html_show_sphinx = True |
michael@0 | 160 | |
michael@0 | 161 | # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. |
michael@0 | 162 | #html_show_copyright = True |
michael@0 | 163 | |
michael@0 | 164 | # If true, an OpenSearch description file will be output, and all pages will |
michael@0 | 165 | # contain a <link> tag referring to it. The value of this option must be the |
michael@0 | 166 | # base URL from which the finished HTML is served. |
michael@0 | 167 | #html_use_opensearch = '' |
michael@0 | 168 | |
michael@0 | 169 | # This is the file name suffix for HTML files (e.g. ".xhtml"). |
michael@0 | 170 | #html_file_suffix = None |
michael@0 | 171 | |
michael@0 | 172 | # Output file base name for HTML help builder. |
michael@0 | 173 | htmlhelp_basename = 'MozBasedoc' |
michael@0 | 174 | |
michael@0 | 175 | |
michael@0 | 176 | # -- Options for LaTeX output -------------------------------------------------- |
michael@0 | 177 | |
michael@0 | 178 | latex_elements = { |
michael@0 | 179 | # The paper size ('letterpaper' or 'a4paper'). |
michael@0 | 180 | #'papersize': 'letterpaper', |
michael@0 | 181 | |
michael@0 | 182 | # The font size ('10pt', '11pt' or '12pt'). |
michael@0 | 183 | #'pointsize': '10pt', |
michael@0 | 184 | |
michael@0 | 185 | # Additional stuff for the LaTeX preamble. |
michael@0 | 186 | #'preamble': '', |
michael@0 | 187 | } |
michael@0 | 188 | |
michael@0 | 189 | # Grouping the document tree into LaTeX files. List of tuples |
michael@0 | 190 | # (source start file, target name, title, author, documentclass [howto/manual]). |
michael@0 | 191 | latex_documents = [ |
michael@0 | 192 | ('index', 'MozBase.tex', u'MozBase Documentation', |
michael@0 | 193 | u'Mozilla Automation and Tools team', 'manual'), |
michael@0 | 194 | ] |
michael@0 | 195 | |
michael@0 | 196 | # The name of an image file (relative to this directory) to place at the top of |
michael@0 | 197 | # the title page. |
michael@0 | 198 | #latex_logo = None |
michael@0 | 199 | |
michael@0 | 200 | # For "manual" documents, if this is true, then toplevel headings are parts, |
michael@0 | 201 | # not chapters. |
michael@0 | 202 | #latex_use_parts = False |
michael@0 | 203 | |
michael@0 | 204 | # If true, show page references after internal links. |
michael@0 | 205 | #latex_show_pagerefs = False |
michael@0 | 206 | |
michael@0 | 207 | # If true, show URL addresses after external links. |
michael@0 | 208 | #latex_show_urls = False |
michael@0 | 209 | |
michael@0 | 210 | # Documents to append as an appendix to all manuals. |
michael@0 | 211 | #latex_appendices = [] |
michael@0 | 212 | |
michael@0 | 213 | # If false, no module index is generated. |
michael@0 | 214 | #latex_domain_indices = True |
michael@0 | 215 | |
michael@0 | 216 | |
michael@0 | 217 | # -- Options for manual page output -------------------------------------------- |
michael@0 | 218 | |
michael@0 | 219 | # One entry per manual page. List of tuples |
michael@0 | 220 | # (source start file, name, description, authors, manual section). |
michael@0 | 221 | man_pages = [ |
michael@0 | 222 | ('index', 'mozbase', u'MozBase Documentation', |
michael@0 | 223 | [u'Mozilla Automation and Tools team'], 1) |
michael@0 | 224 | ] |
michael@0 | 225 | |
michael@0 | 226 | # If true, show URL addresses after external links. |
michael@0 | 227 | #man_show_urls = False |
michael@0 | 228 | |
michael@0 | 229 | |
michael@0 | 230 | # -- Options for Texinfo output ------------------------------------------------ |
michael@0 | 231 | |
michael@0 | 232 | # Grouping the document tree into Texinfo files. List of tuples |
michael@0 | 233 | # (source start file, target name, title, author, |
michael@0 | 234 | # dir menu entry, description, category) |
michael@0 | 235 | texinfo_documents = [ |
michael@0 | 236 | ('index', 'MozBase', u'MozBase Documentation', |
michael@0 | 237 | u'Mozilla Automation and Tools team', 'MozBase', 'One line description of project.', |
michael@0 | 238 | 'Miscellaneous'), |
michael@0 | 239 | ] |
michael@0 | 240 | |
michael@0 | 241 | # Documents to append as an appendix to all manuals. |
michael@0 | 242 | #texinfo_appendices = [] |
michael@0 | 243 | |
michael@0 | 244 | # If false, no module index is generated. |
michael@0 | 245 | #texinfo_domain_indices = True |
michael@0 | 246 | |
michael@0 | 247 | # How to display URL addresses: 'footnote', 'no', or 'inline'. |
michael@0 | 248 | #texinfo_show_urls = 'footnote' |