We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
[DOCS] Use HTTPS
Reference:
 - https://httpsiseasy.com
 - https://letsencrypt.org

--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `docs/conf.py`
Content:
```
1 # -*- coding: utf-8 -*-
2 #
3 # Scrapy documentation build configuration file, created by
4 # sphinx-quickstart on Mon Nov 24 12:02:52 2008.
5 #
6 # This file is execfile()d with the current directory set to its containing dir.
7 #
8 # The contents of this file are pickled, so don't put values in the namespace
9 # that aren't pickleable (module imports are okay, they're removed automatically).
10 #
11 # All configuration values have a default; values that are commented out
12 # serve to show the default.
13 
14 import sys
15 from datetime import datetime
16 from os import path
17 
18 # If your extensions are in another directory, add it here. If the directory
19 # is relative to the documentation root, use os.path.abspath to make it
20 # absolute, like shown here.
21 sys.path.append(path.join(path.dirname(__file__), "_ext"))
22 sys.path.insert(0, path.dirname(path.dirname(__file__)))
23 
24 
25 # General configuration
26 # ---------------------
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.
30 extensions = [
31     'hoverxref.extension',
32     'notfound.extension',
33     'scrapydocs',
34     'sphinx.ext.autodoc',
35     'sphinx.ext.coverage',
36     'sphinx.ext.intersphinx',
37     'sphinx.ext.viewcode',
38 ]
39 
40 # Add any paths that contain templates here, relative to this directory.
41 templates_path = ['_templates']
42 
43 # The suffix of source filenames.
44 source_suffix = '.rst'
45 
46 # The encoding of source files.
47 #source_encoding = 'utf-8'
48 
49 # The master toctree document.
50 master_doc = 'index'
51 
52 # General information about the project.
53 project = 'Scrapy'
54 copyright = '2008–{}, Scrapy developers'.format(datetime.now().year)
55 
56 # The version info for the project you're documenting, acts as replacement for
57 # |version| and |release|, also used in various other places throughout the
58 # built documents.
59 #
60 # The short X.Y version.
61 try:
62     import scrapy
63     version = '.'.join(map(str, scrapy.version_info[:2]))
64     release = scrapy.__version__
65 except ImportError:
66     version = ''
67     release = ''
68 
69 # The language for content autogenerated by Sphinx. Refer to documentation
70 # for a list of supported languages.
71 language = 'en'
72 
73 # There are two options for replacing |today|: either, you set today to some
74 # non-false value, then it is used:
75 #today = ''
76 # Else, today_fmt is used as the format for a strftime call.
77 #today_fmt = '%B %d, %Y'
78 
79 # List of documents that shouldn't be included in the build.
80 #unused_docs = []
81 
82 exclude_patterns = ['build']
83 
84 # List of directories, relative to source directory, that shouldn't be searched
85 # for source files.
86 exclude_trees = ['.build']
87 
88 # The reST default role (used for this markup: `text`) to use for all documents.
89 #default_role = None
90 
91 # If true, '()' will be appended to :func: etc. cross-reference text.
92 #add_function_parentheses = True
93 
94 # If true, the current module name will be prepended to all description
95 # unit titles (such as .. function::).
96 #add_module_names = True
97 
98 # If true, sectionauthor and moduleauthor directives will be shown in the
99 # output. They are ignored by default.
100 #show_authors = False
101 
102 # The name of the Pygments (syntax highlighting) style to use.
103 pygments_style = 'sphinx'
104 
105 
106 # Options for HTML output
107 # -----------------------
108 
109 # The theme to use for HTML and HTML Help pages.  See the documentation for
110 # a list of builtin themes.
111 html_theme = 'sphinx_rtd_theme'
112 
113 # Theme options are theme-specific and customize the look and feel of a theme
114 # further.  For a list of options available for each theme, see the
115 # documentation.
116 #html_theme_options = {}
117 
118 # Add any paths that contain custom themes here, relative to this directory.
119 # Add path to the RTD explicitly to robustify builds (otherwise might
120 # fail in a clean Debian build env)
121 import sphinx_rtd_theme
122 html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
123 
124 
125 # The style sheet to use for HTML and HTML Help pages. A file of that name
126 # must exist either in Sphinx' static/ path, or in one of the custom paths
127 # given in html_static_path.
128 # html_style = 'scrapydoc.css'
129 
130 # The name for this set of Sphinx documents.  If None, it defaults to
131 # "<project> v<release> documentation".
132 #html_title = None
133 
134 # A shorter title for the navigation bar.  Default is the same as html_title.
135 #html_short_title = None
136 
137 # The name of an image file (relative to this directory) to place at the top
138 # of the sidebar.
139 #html_logo = None
140 
141 # The name of an image file (within the static path) to use as favicon of the
142 # docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
143 # pixels large.
144 #html_favicon = None
145 
146 # Add any paths that contain custom static files (such as style sheets) here,
147 # relative to this directory. They are copied after the builtin static files,
148 # so a file named "default.css" will overwrite the builtin "default.css".
149 html_static_path = ['_static']
150 
151 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
152 # using the given strftime format.
153 html_last_updated_fmt = '%b %d, %Y'
154 
155 # Custom sidebar templates, maps document names to template names.
156 #html_sidebars = {}
157 
158 # Additional templates that should be rendered to pages, maps page names to
159 # template names.
160 #html_additional_pages = {}
161 
162 # If false, no module index is generated.
163 #html_use_modindex = True
164 
165 # If false, no index is generated.
166 #html_use_index = True
167 
168 # If true, the index is split into individual pages for each letter.
169 #html_split_index = False
170 
171 # If true, the reST sources are included in the HTML build as _sources/<name>.
172 html_copy_source = True
173 
174 # If true, an OpenSearch description file will be output, and all pages will
175 # contain a <link> tag referring to it.  The value of this option must be the
176 # base URL from which the finished HTML is served.
177 #html_use_opensearch = ''
178 
179 # If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml").
180 #html_file_suffix = ''
181 
182 # Output file base name for HTML help builder.
183 htmlhelp_basename = 'Scrapydoc'
184 
185 
186 # Options for LaTeX output
187 # ------------------------
188 
189 # The paper size ('letter' or 'a4').
190 #latex_paper_size = 'letter'
191 
192 # The font size ('10pt', '11pt' or '12pt').
193 #latex_font_size = '10pt'
194 
195 # Grouping the document tree into LaTeX files. List of tuples
196 # (source start file, target name, title, author, document class [howto/manual]).
197 latex_documents = [
198   ('index', 'Scrapy.tex', 'Scrapy Documentation',
199    'Scrapy developers', 'manual'),
200 ]
201 
202 # The name of an image file (relative to this directory) to place at the top of
203 # the title page.
204 #latex_logo = None
205 
206 # For "manual" documents, if this is true, then toplevel headings are parts,
207 # not chapters.
208 #latex_use_parts = False
209 
210 # Additional stuff for the LaTeX preamble.
211 #latex_preamble = ''
212 
213 # Documents to append as an appendix to all manuals.
214 #latex_appendices = []
215 
216 # If false, no module index is generated.
217 #latex_use_modindex = True
218 
219 
220 # Options for the linkcheck builder
221 # ---------------------------------
222 
223 # A list of regular expressions that match URIs that should not be checked when
224 # doing a linkcheck build.
225 linkcheck_ignore = [
226     'http://localhost:\d+', 'http://hg.scrapy.org',
227     'http://directory.google.com/'
228 ]
229 
230 
231 # Options for the Coverage extension
232 # ----------------------------------
233 coverage_ignore_pyobjects = [
234     # Contract’s add_pre_hook and add_post_hook are not documented because
235     # they should be transparent to contract developers, for whom pre_hook and
236     # post_hook should be the actual concern.
237     r'\bContract\.add_(pre|post)_hook$',
238 
239     # ContractsManager is an internal class, developers are not expected to
240     # interact with it directly in any way.
241     r'\bContractsManager\b$',
242 
243     # For default contracts we only want to document their general purpose in
244     # their __init__ method, the methods they reimplement to achieve that purpose
245     # should be irrelevant to developers using those contracts.
246     r'\w+Contract\.(adjust_request_args|(pre|post)_process)$',
247 
248     # Methods of downloader middlewares are not documented, only the classes
249     # themselves, since downloader middlewares are controlled through Scrapy
250     # settings.
251     r'^scrapy\.downloadermiddlewares\.\w*?\.(\w*?Middleware|DownloaderStats)\.',
252 
253     # Base classes of downloader middlewares are implementation details that
254     # are not meant for users.
255     r'^scrapy\.downloadermiddlewares\.\w*?\.Base\w*?Middleware',
256 
257     # Private exception used by the command-line interface implementation.
258     r'^scrapy\.exceptions\.UsageError',
259 
260     # Methods of BaseItemExporter subclasses are only documented in
261     # BaseItemExporter.
262     r'^scrapy\.exporters\.(?!BaseItemExporter\b)\w*?\.',
263 
264     # Extension behavior is only modified through settings. Methods of
265     # extension classes, as well as helper functions, are implementation
266     # details that are not documented.
267     r'^scrapy\.extensions\.[a-z]\w*?\.[A-Z]\w*?\.',  # methods
268     r'^scrapy\.extensions\.[a-z]\w*?\.[a-z]',  # helper functions
269 
270     # Never documented before, and deprecated now.
271     r'^scrapy\.item\.DictItem$',
272     r'^scrapy\.linkextractors\.FilteringLinkExtractor$',
273 
274     # Implementation detail of LxmlLinkExtractor
275     r'^scrapy\.linkextractors\.lxmlhtml\.LxmlParserLinkExtractor',
276 ]
277 
278 
279 # Options for the InterSphinx extension
280 # -------------------------------------
281 
282 intersphinx_mapping = {
283     'coverage': ('https://coverage.readthedocs.io/en/stable', None),
284     'pytest': ('https://docs.pytest.org/en/latest', None),
285     'python': ('https://docs.python.org/3', None),
286     'sphinx': ('https://www.sphinx-doc.org/en/master', None),
287     'tox': ('https://tox.readthedocs.io/en/latest', None),
288     'twisted': ('https://twistedmatrix.com/documents/current', None),
289     'twistedapi': ('https://twistedmatrix.com/documents/current/api', None),
290 }
291 
292 
293 # Options for sphinx-hoverxref options
294 # ------------------------------------
295 
296 hoverxref_auto_ref = True
297
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/docs/conf.py b/docs/conf.py
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -281,6 +281,7 @@
 
 intersphinx_mapping = {
     'coverage': ('https://coverage.readthedocs.io/en/stable', None),
+    'cssselect': ('https://cssselect.readthedocs.io/en/latest', None),
     'pytest': ('https://docs.pytest.org/en/latest', None),
     'python': ('https://docs.python.org/3', None),
     'sphinx': ('https://www.sphinx-doc.org/en/master', None),

{"golden_diff": "diff --git a/docs/conf.py b/docs/conf.py\n--- a/docs/conf.py\n+++ b/docs/conf.py\n@@ -281,6 +281,7 @@\n \n intersphinx_mapping = {\n     'coverage': ('https://coverage.readthedocs.io/en/stable', None),\n+    'cssselect': ('https://cssselect.readthedocs.io/en/latest', None),\n     'pytest': ('https://docs.pytest.org/en/latest', None),\n     'python': ('https://docs.python.org/3', None),\n     'sphinx': ('https://www.sphinx-doc.org/en/master', None),\n", "issue": "[DOCS] Use HTTPS\nReference:\r\n - https://httpsiseasy.com\r\n - https://letsencrypt.org\n", "before_files": [{"content": "# -*- coding: utf-8 -*-\n#\n# Scrapy documentation build configuration file, created by\n# sphinx-quickstart on Mon Nov 24 12:02:52 2008.\n#\n# This file is execfile()d with the current directory set to its containing dir.\n#\n# The contents of this file are pickled, so don't put values in the namespace\n# that aren't pickleable (module imports are okay, they're removed automatically).\n#\n# All configuration values have a default; values that are commented out\n# serve to show the default.\n\nimport sys\nfrom datetime import datetime\nfrom os import path\n\n# If your extensions are in another directory, add it here. If the directory\n# is relative to the documentation root, use os.path.abspath to make it\n# absolute, like shown here.\nsys.path.append(path.join(path.dirname(__file__), \"_ext\"))\nsys.path.insert(0, path.dirname(path.dirname(__file__)))\n\n\n# General configuration\n# ---------------------\n\n# Add any Sphinx extension module names here, as strings. They can be extensions\n# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.\nextensions = [\n    'hoverxref.extension',\n    'notfound.extension',\n    'scrapydocs',\n    'sphinx.ext.autodoc',\n    'sphinx.ext.coverage',\n    'sphinx.ext.intersphinx',\n    'sphinx.ext.viewcode',\n]\n\n# Add any paths that contain templates here, relative to this directory.\ntemplates_path = ['_templates']\n\n# The suffix of source filenames.\nsource_suffix = '.rst'\n\n# The encoding of source files.\n#source_encoding = 'utf-8'\n\n# The master toctree document.\nmaster_doc = 'index'\n\n# General information about the project.\nproject = 'Scrapy'\ncopyright = '2008\u2013{}, Scrapy developers'.format(datetime.now().year)\n\n# The version info for the project you're documenting, acts as replacement for\n# |version| and |release|, also used in various other places throughout the\n# built documents.\n#\n# The short X.Y version.\ntry:\n    import scrapy\n    version = '.'.join(map(str, scrapy.version_info[:2]))\n    release = scrapy.__version__\nexcept ImportError:\n    version = ''\n    release = ''\n\n# The language for content autogenerated by Sphinx. Refer to documentation\n# for a list of supported languages.\nlanguage = 'en'\n\n# There are two options for replacing |today|: either, you set today to some\n# non-false value, then it is used:\n#today = ''\n# Else, today_fmt is used as the format for a strftime call.\n#today_fmt = '%B %d, %Y'\n\n# List of documents that shouldn't be included in the build.\n#unused_docs = []\n\nexclude_patterns = ['build']\n\n# List of directories, relative to source directory, that shouldn't be searched\n# for source files.\nexclude_trees = ['.build']\n\n# The reST default role (used for this markup: `text`) to use for all documents.\n#default_role = None\n\n# If true, '()' will be appended to :func: etc. cross-reference text.\n#add_function_parentheses = True\n\n# If true, the current module name will be prepended to all description\n# unit titles (such as .. function::).\n#add_module_names = True\n\n# If true, sectionauthor and moduleauthor directives will be shown in the\n# output. They are ignored by default.\n#show_authors = False\n\n# The name of the Pygments (syntax highlighting) style to use.\npygments_style = 'sphinx'\n\n\n# Options for HTML output\n# -----------------------\n\n# The theme to use for HTML and HTML Help pages.  See the documentation for\n# a list of builtin themes.\nhtml_theme = 'sphinx_rtd_theme'\n\n# Theme options are theme-specific and customize the look and feel of a theme\n# further.  For a list of options available for each theme, see the\n# documentation.\n#html_theme_options = {}\n\n# Add any paths that contain custom themes here, relative to this directory.\n# Add path to the RTD explicitly to robustify builds (otherwise might\n# fail in a clean Debian build env)\nimport sphinx_rtd_theme\nhtml_theme_path = [sphinx_rtd_theme.get_html_theme_path()]\n\n\n# The style sheet to use for HTML and HTML Help pages. A file of that name\n# must exist either in Sphinx' static/ path, or in one of the custom paths\n# given in html_static_path.\n# html_style = 'scrapydoc.css'\n\n# The name for this set of Sphinx documents.  If None, it defaults to\n# \"<project> v<release> documentation\".\n#html_title = None\n\n# A shorter title for the navigation bar.  Default is the same as html_title.\n#html_short_title = None\n\n# The name of an image file (relative to this directory) to place at the top\n# of the sidebar.\n#html_logo = None\n\n# The name of an image file (within the static path) to use as favicon of the\n# docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32\n# pixels large.\n#html_favicon = None\n\n# Add any paths that contain custom static files (such as style sheets) here,\n# relative to this directory. They are copied after the builtin static files,\n# so a file named \"default.css\" will overwrite the builtin \"default.css\".\nhtml_static_path = ['_static']\n\n# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,\n# using the given strftime format.\nhtml_last_updated_fmt = '%b %d, %Y'\n\n# Custom sidebar templates, maps document names to template names.\n#html_sidebars = {}\n\n# Additional templates that should be rendered to pages, maps page names to\n# template names.\n#html_additional_pages = {}\n\n# If false, no module index is generated.\n#html_use_modindex = True\n\n# If false, no index is generated.\n#html_use_index = True\n\n# If true, the index is split into individual pages for each letter.\n#html_split_index = False\n\n# If true, the reST sources are included in the HTML build as _sources/<name>.\nhtml_copy_source = True\n\n# If true, an OpenSearch description file will be output, and all pages will\n# contain a <link> tag referring to it.  The value of this option must be the\n# base URL from which the finished HTML is served.\n#html_use_opensearch = ''\n\n# If nonempty, this is the file name suffix for HTML files (e.g. \".xhtml\").\n#html_file_suffix = ''\n\n# Output file base name for HTML help builder.\nhtmlhelp_basename = 'Scrapydoc'\n\n\n# Options for LaTeX output\n# ------------------------\n\n# The paper size ('letter' or 'a4').\n#latex_paper_size = 'letter'\n\n# The font size ('10pt', '11pt' or '12pt').\n#latex_font_size = '10pt'\n\n# Grouping the document tree into LaTeX files. List of tuples\n# (source start file, target name, title, author, document class [howto/manual]).\nlatex_documents = [\n  ('index', 'Scrapy.tex', 'Scrapy Documentation',\n   'Scrapy developers', 'manual'),\n]\n\n# The name of an image file (relative to this directory) to place at the top of\n# the title page.\n#latex_logo = None\n\n# For \"manual\" documents, if this is true, then toplevel headings are parts,\n# not chapters.\n#latex_use_parts = False\n\n# Additional stuff for the LaTeX preamble.\n#latex_preamble = ''\n\n# Documents to append as an appendix to all manuals.\n#latex_appendices = []\n\n# If false, no module index is generated.\n#latex_use_modindex = True\n\n\n# Options for the linkcheck builder\n# ---------------------------------\n\n# A list of regular expressions that match URIs that should not be checked when\n# doing a linkcheck build.\nlinkcheck_ignore = [\n    'http://localhost:\\d+', 'http://hg.scrapy.org',\n    'http://directory.google.com/'\n]\n\n\n# Options for the Coverage extension\n# ----------------------------------\ncoverage_ignore_pyobjects = [\n    # Contract\u2019s add_pre_hook and add_post_hook are not documented because\n    # they should be transparent to contract developers, for whom pre_hook and\n    # post_hook should be the actual concern.\n    r'\\bContract\\.add_(pre|post)_hook$',\n\n    # ContractsManager is an internal class, developers are not expected to\n    # interact with it directly in any way.\n    r'\\bContractsManager\\b$',\n\n    # For default contracts we only want to document their general purpose in\n    # their __init__ method, the methods they reimplement to achieve that purpose\n    # should be irrelevant to developers using those contracts.\n    r'\\w+Contract\\.(adjust_request_args|(pre|post)_process)$',\n\n    # Methods of downloader middlewares are not documented, only the classes\n    # themselves, since downloader middlewares are controlled through Scrapy\n    # settings.\n    r'^scrapy\\.downloadermiddlewares\\.\\w*?\\.(\\w*?Middleware|DownloaderStats)\\.',\n\n    # Base classes of downloader middlewares are implementation details that\n    # are not meant for users.\n    r'^scrapy\\.downloadermiddlewares\\.\\w*?\\.Base\\w*?Middleware',\n\n    # Private exception used by the command-line interface implementation.\n    r'^scrapy\\.exceptions\\.UsageError',\n\n    # Methods of BaseItemExporter subclasses are only documented in\n    # BaseItemExporter.\n    r'^scrapy\\.exporters\\.(?!BaseItemExporter\\b)\\w*?\\.',\n\n    # Extension behavior is only modified through settings. Methods of\n    # extension classes, as well as helper functions, are implementation\n    # details that are not documented.\n    r'^scrapy\\.extensions\\.[a-z]\\w*?\\.[A-Z]\\w*?\\.',  # methods\n    r'^scrapy\\.extensions\\.[a-z]\\w*?\\.[a-z]',  # helper functions\n\n    # Never documented before, and deprecated now.\n    r'^scrapy\\.item\\.DictItem$',\n    r'^scrapy\\.linkextractors\\.FilteringLinkExtractor$',\n\n    # Implementation detail of LxmlLinkExtractor\n    r'^scrapy\\.linkextractors\\.lxmlhtml\\.LxmlParserLinkExtractor',\n]\n\n\n# Options for the InterSphinx extension\n# -------------------------------------\n\nintersphinx_mapping = {\n    'coverage': ('https://coverage.readthedocs.io/en/stable', None),\n    'pytest': ('https://docs.pytest.org/en/latest', None),\n    'python': ('https://docs.python.org/3', None),\n    'sphinx': ('https://www.sphinx-doc.org/en/master', None),\n    'tox': ('https://tox.readthedocs.io/en/latest', None),\n    'twisted': ('https://twistedmatrix.com/documents/current', None),\n    'twistedapi': ('https://twistedmatrix.com/documents/current/api', None),\n}\n\n\n# Options for sphinx-hoverxref options\n# ------------------------------------\n\nhoverxref_auto_ref = True\n", "path": "docs/conf.py"}], "after_files": [{"content": "# -*- coding: utf-8 -*-\n#\n# Scrapy documentation build configuration file, created by\n# sphinx-quickstart on Mon Nov 24 12:02:52 2008.\n#\n# This file is execfile()d with the current directory set to its containing dir.\n#\n# The contents of this file are pickled, so don't put values in the namespace\n# that aren't pickleable (module imports are okay, they're removed automatically).\n#\n# All configuration values have a default; values that are commented out\n# serve to show the default.\n\nimport sys\nfrom datetime import datetime\nfrom os import path\n\n# If your extensions are in another directory, add it here. If the directory\n# is relative to the documentation root, use os.path.abspath to make it\n# absolute, like shown here.\nsys.path.append(path.join(path.dirname(__file__), \"_ext\"))\nsys.path.insert(0, path.dirname(path.dirname(__file__)))\n\n\n# General configuration\n# ---------------------\n\n# Add any Sphinx extension module names here, as strings. They can be extensions\n# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.\nextensions = [\n    'hoverxref.extension',\n    'notfound.extension',\n    'scrapydocs',\n    'sphinx.ext.autodoc',\n    'sphinx.ext.coverage',\n    'sphinx.ext.intersphinx',\n    'sphinx.ext.viewcode',\n]\n\n# Add any paths that contain templates here, relative to this directory.\ntemplates_path = ['_templates']\n\n# The suffix of source filenames.\nsource_suffix = '.rst'\n\n# The encoding of source files.\n#source_encoding = 'utf-8'\n\n# The master toctree document.\nmaster_doc = 'index'\n\n# General information about the project.\nproject = 'Scrapy'\ncopyright = '2008\u2013{}, Scrapy developers'.format(datetime.now().year)\n\n# The version info for the project you're documenting, acts as replacement for\n# |version| and |release|, also used in various other places throughout the\n# built documents.\n#\n# The short X.Y version.\ntry:\n    import scrapy\n    version = '.'.join(map(str, scrapy.version_info[:2]))\n    release = scrapy.__version__\nexcept ImportError:\n    version = ''\n    release = ''\n\n# The language for content autogenerated by Sphinx. Refer to documentation\n# for a list of supported languages.\nlanguage = 'en'\n\n# There are two options for replacing |today|: either, you set today to some\n# non-false value, then it is used:\n#today = ''\n# Else, today_fmt is used as the format for a strftime call.\n#today_fmt = '%B %d, %Y'\n\n# List of documents that shouldn't be included in the build.\n#unused_docs = []\n\nexclude_patterns = ['build']\n\n# List of directories, relative to source directory, that shouldn't be searched\n# for source files.\nexclude_trees = ['.build']\n\n# The reST default role (used for this markup: `text`) to use for all documents.\n#default_role = None\n\n# If true, '()' will be appended to :func: etc. cross-reference text.\n#add_function_parentheses = True\n\n# If true, the current module name will be prepended to all description\n# unit titles (such as .. function::).\n#add_module_names = True\n\n# If true, sectionauthor and moduleauthor directives will be shown in the\n# output. They are ignored by default.\n#show_authors = False\n\n# The name of the Pygments (syntax highlighting) style to use.\npygments_style = 'sphinx'\n\n\n# Options for HTML output\n# -----------------------\n\n# The theme to use for HTML and HTML Help pages.  See the documentation for\n# a list of builtin themes.\nhtml_theme = 'sphinx_rtd_theme'\n\n# Theme options are theme-specific and customize the look and feel of a theme\n# further.  For a list of options available for each theme, see the\n# documentation.\n#html_theme_options = {}\n\n# Add any paths that contain custom themes here, relative to this directory.\n# Add path to the RTD explicitly to robustify builds (otherwise might\n# fail in a clean Debian build env)\nimport sphinx_rtd_theme\nhtml_theme_path = [sphinx_rtd_theme.get_html_theme_path()]\n\n\n# The style sheet to use for HTML and HTML Help pages. A file of that name\n# must exist either in Sphinx' static/ path, or in one of the custom paths\n# given in html_static_path.\n# html_style = 'scrapydoc.css'\n\n# The name for this set of Sphinx documents.  If None, it defaults to\n# \"<project> v<release> documentation\".\n#html_title = None\n\n# A shorter title for the navigation bar.  Default is the same as html_title.\n#html_short_title = None\n\n# The name of an image file (relative to this directory) to place at the top\n# of the sidebar.\n#html_logo = None\n\n# The name of an image file (within the static path) to use as favicon of the\n# docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32\n# pixels large.\n#html_favicon = None\n\n# Add any paths that contain custom static files (such as style sheets) here,\n# relative to this directory. They are copied after the builtin static files,\n# so a file named \"default.css\" will overwrite the builtin \"default.css\".\nhtml_static_path = ['_static']\n\n# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,\n# using the given strftime format.\nhtml_last_updated_fmt = '%b %d, %Y'\n\n# Custom sidebar templates, maps document names to template names.\n#html_sidebars = {}\n\n# Additional templates that should be rendered to pages, maps page names to\n# template names.\n#html_additional_pages = {}\n\n# If false, no module index is generated.\n#html_use_modindex = True\n\n# If false, no index is generated.\n#html_use_index = True\n\n# If true, the index is split into individual pages for each letter.\n#html_split_index = False\n\n# If true, the reST sources are included in the HTML build as _sources/<name>.\nhtml_copy_source = True\n\n# If true, an OpenSearch description file will be output, and all pages will\n# contain a <link> tag referring to it.  The value of this option must be the\n# base URL from which the finished HTML is served.\n#html_use_opensearch = ''\n\n# If nonempty, this is the file name suffix for HTML files (e.g. \".xhtml\").\n#html_file_suffix = ''\n\n# Output file base name for HTML help builder.\nhtmlhelp_basename = 'Scrapydoc'\n\n\n# Options for LaTeX output\n# ------------------------\n\n# The paper size ('letter' or 'a4').\n#latex_paper_size = 'letter'\n\n# The font size ('10pt', '11pt' or '12pt').\n#latex_font_size = '10pt'\n\n# Grouping the document tree into LaTeX files. List of tuples\n# (source start file, target name, title, author, document class [howto/manual]).\nlatex_documents = [\n  ('index', 'Scrapy.tex', 'Scrapy Documentation',\n   'Scrapy developers', 'manual'),\n]\n\n# The name of an image file (relative to this directory) to place at the top of\n# the title page.\n#latex_logo = None\n\n# For \"manual\" documents, if this is true, then toplevel headings are parts,\n# not chapters.\n#latex_use_parts = False\n\n# Additional stuff for the LaTeX preamble.\n#latex_preamble = ''\n\n# Documents to append as an appendix to all manuals.\n#latex_appendices = []\n\n# If false, no module index is generated.\n#latex_use_modindex = True\n\n\n# Options for the linkcheck builder\n# ---------------------------------\n\n# A list of regular expressions that match URIs that should not be checked when\n# doing a linkcheck build.\nlinkcheck_ignore = [\n    'http://localhost:\\d+', 'http://hg.scrapy.org',\n    'http://directory.google.com/'\n]\n\n\n# Options for the Coverage extension\n# ----------------------------------\ncoverage_ignore_pyobjects = [\n    # Contract\u2019s add_pre_hook and add_post_hook are not documented because\n    # they should be transparent to contract developers, for whom pre_hook and\n    # post_hook should be the actual concern.\n    r'\\bContract\\.add_(pre|post)_hook$',\n\n    # ContractsManager is an internal class, developers are not expected to\n    # interact with it directly in any way.\n    r'\\bContractsManager\\b$',\n\n    # For default contracts we only want to document their general purpose in\n    # their __init__ method, the methods they reimplement to achieve that purpose\n    # should be irrelevant to developers using those contracts.\n    r'\\w+Contract\\.(adjust_request_args|(pre|post)_process)$',\n\n    # Methods of downloader middlewares are not documented, only the classes\n    # themselves, since downloader middlewares are controlled through Scrapy\n    # settings.\n    r'^scrapy\\.downloadermiddlewares\\.\\w*?\\.(\\w*?Middleware|DownloaderStats)\\.',\n\n    # Base classes of downloader middlewares are implementation details that\n    # are not meant for users.\n    r'^scrapy\\.downloadermiddlewares\\.\\w*?\\.Base\\w*?Middleware',\n\n    # Private exception used by the command-line interface implementation.\n    r'^scrapy\\.exceptions\\.UsageError',\n\n    # Methods of BaseItemExporter subclasses are only documented in\n    # BaseItemExporter.\n    r'^scrapy\\.exporters\\.(?!BaseItemExporter\\b)\\w*?\\.',\n\n    # Extension behavior is only modified through settings. Methods of\n    # extension classes, as well as helper functions, are implementation\n    # details that are not documented.\n    r'^scrapy\\.extensions\\.[a-z]\\w*?\\.[A-Z]\\w*?\\.',  # methods\n    r'^scrapy\\.extensions\\.[a-z]\\w*?\\.[a-z]',  # helper functions\n\n    # Never documented before, and deprecated now.\n    r'^scrapy\\.item\\.DictItem$',\n    r'^scrapy\\.linkextractors\\.FilteringLinkExtractor$',\n\n    # Implementation detail of LxmlLinkExtractor\n    r'^scrapy\\.linkextractors\\.lxmlhtml\\.LxmlParserLinkExtractor',\n]\n\n\n# Options for the InterSphinx extension\n# -------------------------------------\n\nintersphinx_mapping = {\n    'coverage': ('https://coverage.readthedocs.io/en/stable', None),\n    'cssselect': ('https://cssselect.readthedocs.io/en/latest', None),\n    'pytest': ('https://docs.pytest.org/en/latest', None),\n    'python': ('https://docs.python.org/3', None),\n    'sphinx': ('https://www.sphinx-doc.org/en/master', None),\n    'tox': ('https://tox.readthedocs.io/en/latest', None),\n    'twisted': ('https://twistedmatrix.com/documents/current', None),\n    'twistedapi': ('https://twistedmatrix.com/documents/current/api', None),\n}\n\n\n# Options for sphinx-hoverxref options\n# ------------------------------------\n\nhoverxref_auto_ref = True\n", "path": "docs/conf.py"}]}