1 Debian patch touch this file
-
Make intersphinx link with system documentation
- Author
- Ghislain Antony Vaillant <[email protected]>
- Forwarded
- not-needed
| 1 | # -*- coding: utf-8 -*- |
| 2 | # |
| 3 | # qtawesome documentation build configuration file, created by |
| 4 | # sphinx-quickstart on Thu Dec 3 22:33:49 2015. |
| 5 | # |
| 6 | # NOTE: This file has been edited manually from the auto-generated one from |
| 7 | # sphinx. Do NOT delete and re-generate. If any changes from sphinx are |
| 8 | # needed, generate a scratch one and merge by hand any new fields needed. |
| 9 | # |
| 10 | # This file is execfile()d with the current directory set to its |
| 11 | # containing dir. |
| 12 | # |
| 13 | # Note that not all possible configuration values are present in this |
| 14 | # autogenerated file. |
| 15 | # |
| 16 | # All configuration values have a default; values that are commented out |
| 17 | # serve to show the default. |
| 18 | |
| 19 | |
| 20 | # If extensions (or modules to document with autodoc) are in another directory, |
| 21 | # add these directories to sys.path here. If the directory is relative to the |
| 22 | # documentation root, use os.path.abspath to make it absolute, like shown here. |
| 23 | # sys.path.insert(0, os.path.abspath('.')) |
| 24 | |
| 25 | # We load the ipython release info into a dict by explicit execution |
| 26 | _release = {} |
| 27 | exec( |
| 28 | compile( |
| 29 | open("../../qtawesome/_version.py").read(), |
| 30 | "../../qtawesome/_version.py", |
| 31 | "exec", |
| 32 | ), |
| 33 | _release, |
| 34 | ) |
| 35 | |
| 36 | # -- General configuration ------------------------------------------------ |
| 37 | |
| 38 | # If your documentation needs a minimal Sphinx version, state it here. |
| 39 | # needs_sphinx = '1.0' |
| 40 | |
| 41 | # Add any Sphinx extension module names here, as strings. They can be |
| 42 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom |
| 43 | # ones. |
| 44 | extensions = [ |
| 45 | "sphinx.ext.autodoc", |
| 46 | "sphinx.ext.intersphinx", |
| 47 | "sphinx.ext.autosummary", |
| 48 | "sphinx.ext.viewcode", |
| 49 | "sphinx.ext.napoleon", |
| 50 | "sphinx_rtd_theme", |
| 51 | ] |
| 52 | |
| 53 | autosummary_generate = True |
| 54 | # Add any paths that contain templates here, relative to this directory. |
| 55 | # templates_path = ['_templates'] |
| 56 | |
| 57 | # The suffix(es) of source filenames. |
| 58 | # You can specify multiple suffix as a list of string: |
| 59 | # source_suffix = ['.rst', '.md'] |
| 60 | source_suffix = ".rst" |
| 61 | |
| 62 | # Add dev disclaimer. |
| 63 | if _release["version_info"][-1] == "dev": |
| 64 | rst_prolog = """ |
| 65 | .. note:: |
| 66 | |
| 67 | This documentation is for a development version of qtawesome. There may be |
| 68 | significant differences from the latest stable release. |
| 69 | |
| 70 | """ |
| 71 | |
| 72 | # The encoding of source files. |
| 73 | # source_encoding = 'utf-8-sig' |
| 74 | |
| 75 | # The master toctree document. |
| 76 | master_doc = "index" |
| 77 | |
| 78 | # General information about the project. |
| 79 | project = "qtawesome" |
| 80 | copyright = "2015-, The Spyder Development Team" |
| 81 | author = "Sylvain Corlay and the Spyder Development Team" |
| 82 | |
| 83 | # The version info for the project you're documenting, acts as replacement for |
| 84 | # |version| and |release|, also used in various other places throughout the |
| 85 | # built documents. |
| 86 | # |
| 87 | # The short X.Y version. |
| 88 | version = ".".join(map(str, _release["version_info"][:2])) |
| 89 | # The full version, including alpha/beta/rc tags. |
| 90 | release = _release["__version__"] |
| 91 | |
| 92 | # The language for content autogenerated by Sphinx. Refer to documentation |
| 93 | # for a list of supported languages. |
| 94 | # |
| 95 | # This is also used if you do content translation via gettext catalogs. |
| 96 | # Usually you set "language" from the command line for these cases. |
| 97 | # language = None |
| 98 | |
| 99 | # There are two options for replacing |today|: either, you set today to some |
| 100 | # non-false value, then it is used: |
| 101 | # today = '' |
| 102 | # Else, today_fmt is used as the format for a strftime call. |
| 103 | # today_fmt = '%B %d, %Y' |
| 104 | |
| 105 | # List of patterns, relative to source directory, that match files and |
| 106 | # directories to ignore when looking for source files. |
| 107 | exclude_patterns = [] |
| 108 | |
| 109 | # The reST default role (used for this markup: `text`) to use for all |
| 110 | # documents. |
| 111 | # default_role = None |
| 112 | |
| 113 | # If true, '()' will be appended to :func: etc. cross-reference text. |
| 114 | # add_function_parentheses = True |
| 115 | |
| 116 | # If true, the current module name will be prepended to all description |
| 117 | # unit titles (such as .. function::). |
| 118 | # add_module_names = True |
| 119 | |
| 120 | # If true, sectionauthor and moduleauthor directives will be shown in the |
| 121 | # output. They are ignored by default. |
| 122 | # show_authors = False |
| 123 | |
| 124 | # The name of the Pygments (syntax highlighting) style to use. |
| 125 | pygments_style = "sphinx" |
| 126 | |
| 127 | # A list of ignored prefixes for module index sorting. |
| 128 | # modindex_common_prefix = [] |
| 129 | |
| 130 | # If true, keep warnings as "system message" paragraphs in the built documents. |
| 131 | # keep_warnings = False |
| 132 | |
| 133 | # If true, `todo` and `todoList` produce output, else they produce nothing. |
| 134 | todo_include_todos = False |
| 135 | |
| 136 | |
| 137 | # -- Options for HTML output ---------------------------------------------- |
| 138 | |
| 139 | # The theme to use for HTML and HTML Help pages. See the documentation for |
| 140 | # a list of builtin themes. |
| 141 | html_theme = "sphinx_rtd_theme" |
| 142 | |
| 143 | # Theme options are theme-specific and customize the look and feel of a theme |
| 144 | # further. For a list of options available for each theme, see the |
| 145 | # documentation. |
| 146 | # html_theme_options = {} |
| 147 | |
| 148 | # Add any paths that contain custom themes here, relative to this directory. |
| 149 | # html_theme_path = [] |
| 150 | |
| 151 | # The name for this set of Sphinx documents. If None, it defaults to |
| 152 | # "<project> v<release> documentation". |
| 153 | # html_title = None |
| 154 | |
| 155 | # A shorter title for the navigation bar. Default is the same as html_title. |
| 156 | # html_short_title = None |
| 157 | |
| 158 | # The name of an image file (relative to this directory) to place at the top |
| 159 | # of the sidebar. |
| 160 | # html_logo = None |
| 161 | |
| 162 | # The name of an image file (within the static path) to use as favicon of the |
| 163 | # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 |
| 164 | # pixels large. |
| 165 | # html_favicon = None |
| 166 | |
| 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'] |
| 171 | |
| 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. |
| 175 | # html_extra_path = [] |
| 176 | |
| 177 | # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, |
| 178 | # using the given strftime format. |
| 179 | # html_last_updated_fmt = '%b %d, %Y' |
| 180 | |
| 181 | # If true, SmartyPants will be used to convert quotes and dashes to |
| 182 | # typographically correct entities. |
| 183 | # html_use_smartypants = True |
| 184 | |
| 185 | # Custom sidebar templates, maps document names to template names. |
| 186 | # html_sidebars = {} |
| 187 | |
| 188 | # Additional templates that should be rendered to pages, maps page names to |
| 189 | # template names. |
| 190 | # html_additional_pages = {} |
| 191 | |
| 192 | # If false, no module index is generated. |
| 193 | # html_domain_indices = True |
| 194 | |
| 195 | # If false, no index is generated. |
| 196 | # html_use_index = True |
| 197 | |
| 198 | # If true, the index is split into individual pages for each letter. |
| 199 | # html_split_index = False |
| 200 | |
| 201 | # If true, links to the reST sources are added to the pages. |
| 202 | # html_show_sourcelink = True |
| 203 | |
| 204 | # If true, "Created using Sphinx" is shown in the HTML footer. Default is True. |
| 205 | # html_show_sphinx = True |
| 206 | |
| 207 | # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. |
| 208 | # html_show_copyright = True |
| 209 | |
| 210 | # If true, an OpenSearch description file will be output, and all pages will |
| 211 | # contain a <link> tag referring to it. The value of this option must be the |
| 212 | # base URL from which the finished HTML is served. |
| 213 | # html_use_opensearch = '' |
| 214 | |
| 215 | # This is the file name suffix for HTML files (e.g. ".xhtml"). |
| 216 | # html_file_suffix = None |
| 217 | |
| 218 | # Language to be used for generating the HTML full-text search index. |
| 219 | # Sphinx supports the following languages: |
| 220 | # 'da', 'de', 'en', 'es', 'fi', 'fr', 'hu', 'it', 'ja' |
| 221 | # 'nl', 'no', 'pt', 'ro', 'ru', 'sv', 'tr' |
| 222 | # html_search_language = 'en' |
| 223 | |
| 224 | # A dictionary with options for the search language support, empty by default. |
| 225 | # Now only 'ja' uses this config value |
| 226 | # html_search_options = {'type': 'default'} |
| 227 | |
| 228 | # The name of a javascript file (relative to the configuration directory) that |
| 229 | # implements a search results scorer. If empty, the default will be used. |
| 230 | # html_search_scorer = 'scorer.js' |
| 231 | |
| 232 | # Output file base name for HTML help builder. |
| 233 | htmlhelp_basename = "qtawesomedoc" |
| 234 | |
| 235 | # -- Options for LaTeX output --------------------------------------------- |
| 236 | |
| 237 | latex_elements = { |
| 238 | # The paper size ('letterpaper' or 'a4paper'). |
| 239 | #'papersize': 'letterpaper', |
| 240 | # The font size ('10pt', '11pt' or '12pt'). |
| 241 | #'pointsize': '10pt', |
| 242 | # Additional stuff for the LaTeX preamble. |
| 243 | #'preamble': '', |
| 244 | # Latex figure (float) alignment |
| 245 | #'figure_align': 'htbp', |
| 246 | } |
| 247 | |
| 248 | # Grouping the document tree into LaTeX files. List of tuples |
| 249 | # (source start file, target name, title, |
| 250 | # author, documentclass [howto, manual, or own class]). |
| 251 | latex_documents = [ |
| 252 | ( |
| 253 | master_doc, |
| 254 | "qtawesome.tex", |
| 255 | "qtawesome Documentation", |
| 256 | "The Spyder Development Team", |
| 257 | "manual", |
| 258 | ), |
| 259 | ] |
| 260 | |
| 261 | # The name of an image file (relative to this directory) to place at the top of |
| 262 | # the title page. |
| 263 | # latex_logo = None |
| 264 | |
| 265 | # For "manual" documents, if this is true, then toplevel headings are parts, |
| 266 | # not chapters. |
| 267 | # latex_use_parts = False |
| 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 | # Documents to append as an appendix to all manuals. |
| 276 | # latex_appendices = [] |
| 277 | |
| 278 | # If false, no module index is generated. |
| 279 | # latex_domain_indices = True |
| 280 | |
| 281 | |
| 282 | # -- Options for manual page output --------------------------------------- |
| 283 | |
| 284 | # One entry per manual page. List of tuples |
| 285 | # (source start file, name, description, authors, manual section). |
| 286 | man_pages = [(master_doc, "qtawesome", "qtawesome Documentation", [author], 1)] |
| 287 | |
| 288 | # If true, show URL addresses after external links. |
| 289 | # man_show_urls = False |
| 290 | |
| 291 | |
| 292 | # -- Options for Texinfo output ------------------------------------------- |
| 293 | |
| 294 | # Grouping the document tree into Texinfo files. List of tuples |
| 295 | # (source start file, target name, title, author, |
| 296 | # dir menu entry, description, category) |
| 297 | texinfo_documents = [ |
| 298 | ( |
| 299 | master_doc, |
| 300 | "qtawesome", |
| 301 | "qtawesome Documentation", |
| 302 | author, |
| 303 | "qtawesome", |
| 304 | "One line description of project.", |
| 305 | "Miscellaneous", |
| 306 | ), |
| 307 | ] |
| 308 | |
| 309 | # Documents to append as an appendix to all manuals. |
| 310 | # texinfo_appendices = [] |
| 311 | |
| 312 | # If false, no module index is generated. |
| 313 | # texinfo_domain_indices = True |
| 314 | |
| 315 | # How to display URL addresses: 'footnote', 'no', or 'inline'. |
| 316 | # texinfo_show_urls = 'footnote' |
| 317 | |
| 318 | # If true, do not generate a @detailmenu in the "Top" node's menu. |
| 319 | # texinfo_no_detailmenu = False |
| 320 | |
| 321 | |
| 322 | # Example configuration for intersphinx: refer to the Python standard library. |
| •323 | intersphinx_mapping = {'python': ('/usr/share/doc/python3/html/', None)} |