update copyright year
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Kenneth Reitz · committed by Kenneth Reitz · parent 63e7748 · Browse files · 1 file·+107 added−103 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+107 added−103 removed
- other:+107 added−103 removed
Provenance
- Commit
a345b77- Tree
aefecde- Author
Kenneth Reitz <me@kennethreitz.org>- Committer
Kenneth Reitz <me@kennethreitz.org>- Parent
63e7748
1 file changed+107 added−103 removed
modified:docs/conf.py+107 added-103 removed
16 unmodified lines17 18 # If extensions (or modules to document with autodoc) are in another directory,19 # add these directories to sys.path here. If the directory is relative to the20 # documentation root, use os.path.abspath to make it absolute, like shown here.21-#sys.path.insert(0, os.path.abspath('.'))21+# sys.path.insert(0, os.path.abspath('.'))22 23 # Insert Requests' path into the system.24-sys.path.insert(0, os.path.abspath('..'))25-sys.path.insert(0, os.path.abspath('_themes'))24+sys.path.insert(0, os.path.abspath(".."))25+sys.path.insert(0, os.path.abspath("_themes"))26 27 import requests28 29 30 # -- General configuration ------------------------------------------------31 32 # If your documentation needs a minimal Sphinx version, state it here.33-#needs_sphinx = '1.0'33+# needs_sphinx = '1.0'34 35 # Add any Sphinx extension module names here, as strings. They can be36 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom37 # ones.38 extensions = [39- 'sphinx.ext.autodoc',40- 'sphinx.ext.intersphinx',41- 'sphinx.ext.todo',42- 'sphinx.ext.viewcode',39+ "sphinx.ext.autodoc",40+ "sphinx.ext.intersphinx",41+ "sphinx.ext.todo",42+ "sphinx.ext.viewcode",43 ]44 45 # Add any paths that contain templates here, relative to this directory.46-templates_path = ['_templates']46+templates_path = ["_templates"]47 48 # The suffix(es) of source filenames.49 # You can specify multiple suffix as a list of string:50 # source_suffix = ['.rst', '.md']51-source_suffix = '.rst'51+source_suffix = ".rst"52 53 # The encoding of source files.54-#source_encoding = 'utf-8-sig'54+# source_encoding = 'utf-8-sig'55 56 # The master toctree document.57-master_doc = 'index'57+master_doc = "index"58 59 # General information about the project.60-project = u'Requests'61-copyright = u'MMXVIII. A <a href="http://kennethreitz.com/pages/open-projects.html">Kenneth Reitz</a> Project'62-author = u'Kenneth Reitz'60+project = u"Requests"61+copyright = u'MMXVIX. A <a href="http://kennethreitz.com/pages/open-projects.html">Kenneth Reitz</a> Project'62+author = u"Kenneth Reitz"63 64 # The version info for the project you're documenting, acts as replacement for65 # |version| and |release|, also used in various other places throughout the66 # built documents.11 unmodified lines78 language = None79 80 # There are two options for replacing |today|: either, you set today to some81 # non-false value, then it is used:82-#today = ''82+# today = ''83 # Else, today_fmt is used as the format for a strftime call.84-#today_fmt = '%B %d, %Y'84+# today_fmt = '%B %d, %Y'85 86 # List of patterns, relative to source directory, that match files and87 # directories to ignore when looking for source files.88-exclude_patterns = ['_build']88+exclude_patterns = ["_build"]89 90 # The reST default role (used for this markup: `text`) to use for all91 # documents.92-#default_role = None92+# default_role = None93 94 # If true, '()' will be appended to :func: etc. cross-reference text.95 add_function_parentheses = False96 2 unmodified lines99 add_module_names = True100 101 # If true, sectionauthor and moduleauthor directives will be shown in the102 # output. They are ignored by default.103-#show_authors = False103+# show_authors = False104 105 # The name of the Pygments (syntax highlighting) style to use.106-pygments_style = 'flask_theme_support.FlaskyStyle'106+pygments_style = "flask_theme_support.FlaskyStyle"107 108 # A list of ignored prefixes for module index sorting.109-#modindex_common_prefix = []109+# modindex_common_prefix = []110 111 # If true, keep warnings as "system message" paragraphs in the built documents.112-#keep_warnings = False112+# keep_warnings = False113 114 # If true, `todo` and `todoList` produce output, else they produce nothing.115 todo_include_todos = True116 1 unmodified line118 # -- Options for HTML output ----------------------------------------------119 120 # The theme to use for HTML and HTML Help pages. See the documentation for121 # a list of builtin themes.122-html_theme = 'alabaster'122+html_theme = "alabaster"123 124 # Theme options are theme-specific and customize the look and feel of a theme125 # further. For a list of options available for each theme, see the126 # documentation.127 html_theme_options = {128- 'show_powered_by': False,129- 'github_user': 'requests',130- 'github_repo': 'requests',131- 'github_banner': True,132- 'show_related': False,133- 'note_bg': '#FFF59C'128+ "show_powered_by": False,129+ "github_user": "requests",130+ "github_repo": "requests",131+ "github_banner": True,132+ "show_related": False,133+ "note_bg": "#FFF59C",134 }135 136 # Add any paths that contain custom themes here, relative to this directory.137-#html_theme_path = []137+# html_theme_path = []138 139 # The name for this set of Sphinx documents. If None, it defaults to140 # "<project> v<release> documentation".141-#html_title = None141+# html_title = None142 143 # A shorter title for the navigation bar. Default is the same as html_title.144-#html_short_title = None144+# html_short_title = None145 146 # The name of an image file (relative to this directory) to place at the top147 # of the sidebar.148-#html_logo = None148+# html_logo = None149 150 # The name of an image file (within the static path) to use as favicon of the151 # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32152 # pixels large.153-#html_favicon = None153+# html_favicon = None154 155 # Add any paths that contain custom static files (such as style sheets) here,156 # relative to this directory. They are copied after the builtin static files,157 # so a file named "default.css" will overwrite the builtin "default.css".158-html_static_path = ['_static']158+html_static_path = ["_static"]159 160 # Add any extra paths that contain custom files (such as robots.txt or161 # .htaccess) here, relative to this directory. These files are copied162 # directly to the root of the documentation.163-#html_extra_path = []163+# html_extra_path = []164 165 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,166 # using the given strftime format.167-#html_last_updated_fmt = '%b %d, %Y'167+# html_last_updated_fmt = '%b %d, %Y'168 169 # If true, SmartyPants will be used to convert quotes and dashes to170 # typographically correct entities.171 html_use_smartypants = False172 173 # Custom sidebar templates, maps document names to template names.174 html_sidebars = {175- 'index': ['sidebarintro.html', 'sourcelink.html', 'searchbox.html',176- 'hacks.html'],177- '**': ['sidebarlogo.html', 'localtoc.html', 'relations.html',178- 'sourcelink.html', 'searchbox.html', 'hacks.html']175+ "index": ["sidebarintro.html", "sourcelink.html", "searchbox.html", "hacks.html"],176+ "**": [177+ "sidebarlogo.html",178+ "localtoc.html",179+ "relations.html",180+ "sourcelink.html",181+ "searchbox.html",182+ "hacks.html",183+ ],184 }185 186 # Additional templates that should be rendered to pages, maps page names to187 # template names.183-#html_additional_pages = {}188+# html_additional_pages = {}189 190 # If false, no module index is generated.186-#html_domain_indices = True191+# html_domain_indices = True192 193 # If false, no index is generated.189-#html_use_index = True194+# html_use_index = True195 196 # If true, the index is split into individual pages for each letter.192-#html_split_index = False197+# html_split_index = False198 199 # If true, links to the reST sources are added to the pages.200 html_show_sourcelink = False201 5 unmodified lines207 208 # If true, an OpenSearch description file will be output, and all pages will209 # contain a <link> tag referring to it. The value of this option must be the210 # base URL from which the finished HTML is served.206-#html_use_opensearch = ''211+# html_use_opensearch = ''212 213 # This is the file name suffix for HTML files (e.g. ".xhtml").209-#html_file_suffix = None214+# html_file_suffix = None215 216 # Language to be used for generating the HTML full-text search index.217 # Sphinx supports the following languages:218 # 'da', 'de', 'en', 'es', 'fi', 'fr', 'hu', 'it', 'ja'219 # 'nl', 'no', 'pt', 'ro', 'ru', 'sv', 'tr'215-#html_search_language = 'en'220+# html_search_language = 'en'221 222 # A dictionary with options for the search language support, empty by default.223 # Now only 'ja' uses this config value219-#html_search_options = {'type': 'default'}224+# html_search_options = {'type': 'default'}225 226 # The name of a javascript file (relative to the configuration directory) that227 # implements a search results scorer. If empty, the default will be used.223-#html_search_scorer = 'scorer.js'228+# html_search_scorer = 'scorer.js'229 230 # Output file base name for HTML help builder.226-htmlhelp_basename = 'Requestsdoc'231+htmlhelp_basename = "Requestsdoc"232 233 # -- Options for LaTeX output ---------------------------------------------234 235 latex_elements = {231-# The paper size ('letterpaper' or 'a4paper').232-#'papersize': 'letterpaper',233-234-# The font size ('10pt', '11pt' or '12pt').235-#'pointsize': '10pt',236-237-# Additional stuff for the LaTeX preamble.238-#'preamble': '',239-240-# Latex figure (float) alignment241-#'figure_align': 'htbp',236+ # The paper size ('letterpaper' or 'a4paper').237+ #'papersize': 'letterpaper',238+ # The font size ('10pt', '11pt' or '12pt').239+ #'pointsize': '10pt',240+ # Additional stuff for the LaTeX preamble.241+ #'preamble': '',242+ # Latex figure (float) alignment243+ #'figure_align': 'htbp',244 }245 246 # Grouping the document tree into LaTeX files. List of tuples247 # (source start file, target name, title,248 # author, documentclass [howto, manual, or own class]).249 latex_documents = [248- (master_doc, 'Requests.tex', u'Requests Documentation',249- u'Kenneth Reitz', 'manual'),250+ (master_doc, "Requests.tex", u"Requests Documentation", u"Kenneth Reitz", "manual")251 ]252 253 # The name of an image file (relative to this directory) to place at the top of254 # the title page.254-#latex_logo = None255+# latex_logo = None256 257 # For "manual" documents, if this is true, then toplevel headings are parts,258 # not chapters.258-#latex_use_parts = False259+# latex_use_parts = False260 261 # If true, show page references after internal links.261-#latex_show_pagerefs = False262+# latex_show_pagerefs = False263 264 # If true, show URL addresses after external links.264-#latex_show_urls = False265+# latex_show_urls = False266 267 # Documents to append as an appendix to all manuals.267-#latex_appendices = []268+# latex_appendices = []269 270 # If false, no module index is generated.270-#latex_domain_indices = True271+# latex_domain_indices = True272 273 274 # -- Options for manual page output ---------------------------------------275 276 # One entry per manual page. List of tuples277 # (source start file, name, description, authors, manual section).277-man_pages = [278- (master_doc, 'requests', u'Requests Documentation',279- [author], 1)280-]278+man_pages = [(master_doc, "requests", u"Requests Documentation", [author], 1)]279 280 # If true, show URL addresses after external links.283-#man_show_urls = False281+# man_show_urls = False282 283 284 # -- Options for Texinfo output -------------------------------------------285 286 # Grouping the document tree into Texinfo files. List of tuples287 # (source start file, target name, title, author,288 # dir menu entry, description, category)289 texinfo_documents = [292- (master_doc, 'Requests', u'Requests Documentation',293- author, 'Requests', 'One line description of project.',294- 'Miscellaneous'),290+ (291+ master_doc,292+ "Requests",293+ u"Requests Documentation",294+ author,295+ "Requests",296+ "One line description of project.",297+ "Miscellaneous",298+ )299 ]300 301 # Documents to append as an appendix to all manuals.298-#texinfo_appendices = []302+# texinfo_appendices = []303 304 # If false, no module index is generated.301-#texinfo_domain_indices = True305+# texinfo_domain_indices = True306 307 # How to display URL addresses: 'footnote', 'no', or 'inline'.304-#texinfo_show_urls = 'footnote'308+# texinfo_show_urls = 'footnote'309 310 # If true, do not generate a @detailmenu in the "Top" node's menu.307-#texinfo_no_detailmenu = False311+# texinfo_no_detailmenu = False312 313 314 # -- Options for Epub output ----------------------------------------------315 3 unmodified lines319 epub_publisher = author320 epub_copyright = copyright321 322 # The basename for the epub file. It defaults to the project name.319-#epub_basename = project323+# epub_basename = project324 325 # The HTML theme for the epub output. Since the default themes are not326 # optimized for small screen space, using the same theme for HTML and epub327 # output is usually not wise. This defaults to 'epub', a theme designed to save328 # visual space.325-#epub_theme = 'epub'329+# epub_theme = 'epub'330 331 # The language of the text. It defaults to the language option332 # or 'en' if the language is not set.329-#epub_language = ''333+# epub_language = ''334 335 # The scheme of the identifier. Typical schemes are ISBN or URL.332-#epub_scheme = ''336+# epub_scheme = ''337 338 # The unique identifier of the text. This can be a ISBN number339 # or the project homepage.336-#epub_identifier = ''340+# epub_identifier = ''341 342 # A unique identification for the text.339-#epub_uid = ''343+# epub_uid = ''344 345 # A tuple containing the cover image and cover page html template filenames.342-#epub_cover = ()346+# epub_cover = ()347 348 # A sequence of (type, uri, title) tuples for the guide element of content.opf.345-#epub_guide = ()349+# epub_guide = ()350 351 # HTML files that should be inserted before the pages created by sphinx.352 # The format is a list of tuples containing the path and title.349-#epub_pre_files = []353+# epub_pre_files = []354 355 # HTML files that should be inserted after the pages created by sphinx.356 # The format is a list of tuples containing the path and title.353-#epub_post_files = []357+# epub_post_files = []358 359 # A list of files that should not be packed into the epub file.356-epub_exclude_files = ['search.html']360+epub_exclude_files = ["search.html"]361 362 # The depth of the table of contents in toc.ncx.359-#epub_tocdepth = 3363+# epub_tocdepth = 3364 365 # Allow duplicate toc entries.362-#epub_tocdup = True366+# epub_tocdup = True367 368 # Choose between 'default' and 'includehidden'.365-#epub_tocscope = 'default'369+# epub_tocscope = 'default'370 371 # Fix unsupported image types using the Pillow.368-#epub_fix_images = False372+# epub_fix_images = False373 374 # Scale large images.371-#epub_max_image_width = 0375+# epub_max_image_width = 0376 377 # How to display URL addresses: 'footnote', 'no', or 'inline'.374-#epub_show_urls = 'inline'378+# epub_show_urls = 'inline'379 380 # If false, no index is generated.377-#epub_use_index = True381+# epub_use_index = True382 383 intersphinx_mapping = {380- 'python': ('https://docs.python.org/3/', None),381- 'urllib3': ('https://urllib3.readthedocs.io/en/latest', None),384+ "python": ("https://docs.python.org/3/", None),385+ "urllib3": ("https://urllib3.readthedocs.io/en/latest", None),386 }