We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Minor documentation correction:  correct id3.org url
https://github.com/beetbox/beets/blob/master/docs/faq.rst#L303
refers to:
http://www.id3.org/id3v2.4.0-structure
as a reference url for a copy of the ID3v2.4 standard documentation, but this returns a "Not found" error. I've found 2 possibilities for the replacement:
https://id3.org/id3v2.4.0-structure
(with adverts) or
https://github.com/id3/ID3v2.4/raw/master/id3v2.40-structure.txt
(without adverts)


--- 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 from __future__ import division, absolute_import, print_function
4 
5 AUTHOR = u'Adrian Sampson'
6 
7 # General configuration
8 
9 extensions = ['sphinx.ext.autodoc', 'sphinx.ext.extlinks']
10 
11 exclude_patterns = ['_build']
12 source_suffix = '.rst'
13 master_doc = 'index'
14 
15 project = u'beets'
16 copyright = u'2016, Adrian Sampson'
17 
18 version = '1.5'
19 release = '1.5.0'
20 
21 pygments_style = 'sphinx'
22 
23 # External links to the bug tracker and other sites.
24 extlinks = {
25     'bug': ('https://github.com/beetbox/beets/issues/%s', '#'),
26     'user': ('https://github.com/%s', ''),
27     'pypi': ('https://pypi.org/project/%s/', ''),
28     'stdlib': ('https://docs.python.org/3/library/%s.html', ''),
29 }
30 
31 # Options for HTML output
32 htmlhelp_basename = 'beetsdoc'
33 
34 # Options for LaTeX output
35 latex_documents = [
36     ('index', 'beets.tex', u'beets Documentation',
37      AUTHOR, 'manual'),
38 ]
39 
40 # Options for manual page output
41 man_pages = [
42     ('reference/cli', 'beet', u'music tagger and library organizer',
43      [AUTHOR], 1),
44     ('reference/config', 'beetsconfig', u'beets configuration file',
45      [AUTHOR], 5),
46 ]
47
```
--- 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
@@ -28,6 +28,13 @@
     'stdlib': ('https://docs.python.org/3/library/%s.html', ''),
 }
 
+linkcheck_ignore = [
+    r'https://github.com/beetbox/beets/issues/',
+    r'https://github.com/\w+$',  # ignore user pages
+    r'.*localhost.*',
+    r'https://www.musixmatch.com/',  # blocks requests
+]
+
 # Options for HTML output
 htmlhelp_basename = 'beetsdoc'

{"golden_diff": "diff --git a/docs/conf.py b/docs/conf.py\n--- a/docs/conf.py\n+++ b/docs/conf.py\n@@ -28,6 +28,13 @@\n     'stdlib': ('https://docs.python.org/3/library/%s.html', ''),\n }\n \n+linkcheck_ignore = [\n+    r'https://github.com/beetbox/beets/issues/',\n+    r'https://github.com/\\w+$',  # ignore user pages\n+    r'.*localhost.*',\n+    r'https://www.musixmatch.com/',  # blocks requests\n+]\n+\n # Options for HTML output\n htmlhelp_basename = 'beetsdoc'\n", "issue": "Minor documentation correction:  correct id3.org url\nhttps://github.com/beetbox/beets/blob/master/docs/faq.rst#L303\r\nrefers to:\r\nhttp://www.id3.org/id3v2.4.0-structure\r\nas a reference url for a copy of the ID3v2.4 standard documentation, but this returns a \"Not found\" error. I've found 2 possibilities for the replacement:\r\nhttps://id3.org/id3v2.4.0-structure\r\n(with adverts) or\r\nhttps://github.com/id3/ID3v2.4/raw/master/id3v2.40-structure.txt\r\n(without adverts)\r\n\n", "before_files": [{"content": "# -*- coding: utf-8 -*-\n\nfrom __future__ import division, absolute_import, print_function\n\nAUTHOR = u'Adrian Sampson'\n\n# General configuration\n\nextensions = ['sphinx.ext.autodoc', 'sphinx.ext.extlinks']\n\nexclude_patterns = ['_build']\nsource_suffix = '.rst'\nmaster_doc = 'index'\n\nproject = u'beets'\ncopyright = u'2016, Adrian Sampson'\n\nversion = '1.5'\nrelease = '1.5.0'\n\npygments_style = 'sphinx'\n\n# External links to the bug tracker and other sites.\nextlinks = {\n    'bug': ('https://github.com/beetbox/beets/issues/%s', '#'),\n    'user': ('https://github.com/%s', ''),\n    'pypi': ('https://pypi.org/project/%s/', ''),\n    'stdlib': ('https://docs.python.org/3/library/%s.html', ''),\n}\n\n# Options for HTML output\nhtmlhelp_basename = 'beetsdoc'\n\n# Options for LaTeX output\nlatex_documents = [\n    ('index', 'beets.tex', u'beets Documentation',\n     AUTHOR, 'manual'),\n]\n\n# Options for manual page output\nman_pages = [\n    ('reference/cli', 'beet', u'music tagger and library organizer',\n     [AUTHOR], 1),\n    ('reference/config', 'beetsconfig', u'beets configuration file',\n     [AUTHOR], 5),\n]\n", "path": "docs/conf.py"}], "after_files": [{"content": "# -*- coding: utf-8 -*-\n\nfrom __future__ import division, absolute_import, print_function\n\nAUTHOR = u'Adrian Sampson'\n\n# General configuration\n\nextensions = ['sphinx.ext.autodoc', 'sphinx.ext.extlinks']\n\nexclude_patterns = ['_build']\nsource_suffix = '.rst'\nmaster_doc = 'index'\n\nproject = u'beets'\ncopyright = u'2016, Adrian Sampson'\n\nversion = '1.5'\nrelease = '1.5.0'\n\npygments_style = 'sphinx'\n\n# External links to the bug tracker and other sites.\nextlinks = {\n    'bug': ('https://github.com/beetbox/beets/issues/%s', '#'),\n    'user': ('https://github.com/%s', ''),\n    'pypi': ('https://pypi.org/project/%s/', ''),\n    'stdlib': ('https://docs.python.org/3/library/%s.html', ''),\n}\n\nlinkcheck_ignore = [\n    r'https://github.com/beetbox/beets/issues/',\n    r'https://github.com/\\w+$',  # ignore user pages\n    r'.*localhost.*',\n    r'https://www.musixmatch.com/',  # blocks requests\n]\n\n# Options for HTML output\nhtmlhelp_basename = 'beetsdoc'\n\n# Options for LaTeX output\nlatex_documents = [\n    ('index', 'beets.tex', u'beets Documentation',\n     AUTHOR, 'manual'),\n]\n\n# Options for manual page output\nman_pages = [\n    ('reference/cli', 'beet', u'music tagger and library organizer',\n     [AUTHOR], 1),\n    ('reference/config', 'beetsconfig', u'beets configuration file',\n     [AUTHOR], 5),\n]\n", "path": "docs/conf.py"}]}