We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Wagtail Documentation favicon icon is missing (Not Found)
<!--
  Summarise the documentation change you’re suggesting in the Issue title.
-->

### Pertinent section of the Wagtail docs

<!--
  Copy the section link here.
-->
https://docs.wagtail.org/en/stable/getting_started/index.html
https://docs.wagtail.org/en/stable/getting_started/tutorial.html
https://docs.wagtail.org/en/stable/reference/index.html
https://docs.wagtail.org/en/stable/reference/pages/index.html

The issue persists in all the pages of documentation. 

### Details

<!--
  Provide a clear and concise description of what you want to happen.
-->

Wagtail has a nice favicon as per the logo which is displayed fine on this page of the documentation https://docs.wagtail.org/en/stable/
But on all the other pages the favicon is missing and not showing on the tab of chrome or any other browser tabs. When I checked the page source I found the favicon.ico is linked via `<link rel="shortcut icon" href="../../_static/favicon.ico" />` and this is going to https://docs.wagtail.org/en/_static/favicon.ico which is Not Found! 
When I checked other sources for example CSS or logo image I found that is sourced like `src="../_static/img/wagtail-logo-new.svg` and takes to https://docs.wagtail.org/en/stable/_static/img/wagtail-logo-new.svg which is correct. 

The difference between the favicon going 404 and the logo being available is that the favicon icon source is '../../_static' with an extra `../` which needs to be removed. 

<img src="https://img001.prntscr.com/file/img001/zEYpfzNSQHqssOSc2_naxg.png" width="500">

<!--
  If you're suggesting a very specific change to the documentation, feel free to directly submit a pull request.
-->

### Working on this

<!--
  Do you have thoughts on skills needed?
  Are you keen to work on this yourself once the issue has been accepted?
  Please let us know here.
-->
It's a very minor fix and I already described the issue above. I could fix it but I am not sure exactly where in the documentation this favicon is coming from.

Anyone can contribute to this. View our [contributing guidelines](https://docs.wagtail.org/en/latest/contributing/index.html), add a comment to the issue once you’re ready to start.


--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `setup.py`
Content:
```
1 #!/usr/bin/env python
2 
3 from wagtail import __version__
4 from wagtail.utils.setup import assets, check_bdist_egg, sdist
5 
6 try:
7     from setuptools import find_packages, setup
8 except ImportError:
9     from distutils.core import setup
10 
11 
12 # Hack to prevent "TypeError: 'NoneType' object is not callable" error
13 # in multiprocessing/util.py _exit_function when setup.py exits
14 # (see http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html)
15 try:
16     import multiprocessing  # noqa: F401
17 except ImportError:
18     pass
19 
20 
21 install_requires = [
22     "Django>=4.2,<6.0",
23     "django-modelcluster>=6.2.1,<7.0",
24     "django-permissionedforms>=0.1,<1.0",
25     "django-taggit>=4.0,<5.1",
26     "django-treebeard>=4.5.1,<5.0",
27     "djangorestframework>=3.11.1,<4.0",
28     "django-filter>=23.3,<24",
29     "draftjs_exporter>=2.1.5,<6.0",
30     "Pillow>=9.1.0,<11.0.0",
31     "beautifulsoup4>=4.8,<4.13",
32     "Willow[heif]>=1.8.0,<2",
33     "requests>=2.11.1,<3.0",
34     "l18n>=2018.5",
35     "openpyxl>=3.0.10,<4.0",
36     "anyascii>=0.1.5",
37     "telepath>=0.3.1,<1",
38     "laces>=0.1,<0.2",
39 ]
40 
41 # Testing dependencies
42 testing_extras = [
43     # Required for running the tests
44     "python-dateutil>=2.7",
45     "pytz>=2014.7",
46     "Jinja2>=3.0,<3.2",
47     "boto3>=1.28,<2",
48     "freezegun>=0.3.8",
49     "azure-mgmt-cdn>=12.0,<13.0",
50     "azure-mgmt-frontdoor>=1.0,<1.1",
51     "django-pattern-library>=0.7",
52     # For coverage and PEP8 linting
53     "coverage>=3.7.0",
54     "doc8==0.8.1",
55     "ruff==0.1.5",
56     # For enforcing string formatting mechanism in source files
57     "semgrep==1.40.0",
58     # For templates linting
59     "curlylint==0.13.1",
60     # For template indenting
61     "djhtml==3.0.6",
62     # For validating string formats in .po translation files
63     "polib>=1.1,<2.0",
64     # For wagtail.test.utils.wagtail_factories (used for streamfield migration toolkit)
65     "factory-boy>=3.2",
66     # For running tests in parallel
67     "tblib>=2.0,<3.0",
68 ]
69 
70 # Documentation dependencies
71 documentation_extras = [
72     "pyenchant>=3.1.1,<4",
73     "sphinxcontrib-spelling>=7,<8",
74     "Sphinx>=1.5.2",
75     "sphinx-autobuild>=0.6.0",
76     "sphinx-wagtail-theme==6.2.0",
77     "myst_parser==2.0.0",
78     "sphinx_copybutton>=0.5,<1.0",
79 ]
80 
81 setup(
82     name="wagtail",
83     version=__version__,
84     description="A Django content management system.",
85     author="Wagtail core team + contributors",
86     author_email="hello@wagtail.org",  # For support queries, please see https://docs.wagtail.org/en/stable/support.html
87     url="https://wagtail.org/",
88     project_urls={
89         "Changelog": "https://github.com/wagtail/wagtail/blob/main/CHANGELOG.txt",
90         "Documentation": "https://docs.wagtail.org",
91         "Source": "https://github.com/wagtail/wagtail",
92         "Tracker": "https://github.com/wagtail/wagtail/issues",
93     },
94     packages=find_packages(),
95     include_package_data=True,
96     license="BSD",
97     long_description="Wagtail is an open source content management \
98 system built on Django, with a strong community and commercial support. \
99 It’s focused on user experience, and offers precise control for \
100 designers and developers.\n\n\
101 For more details, see https://wagtail.org, https://docs.wagtail.org and \
102 https://github.com/wagtail/wagtail/.",
103     classifiers=[
104         "Development Status :: 5 - Production/Stable",
105         "Environment :: Web Environment",
106         "Intended Audience :: Developers",
107         "License :: OSI Approved :: BSD License",
108         "Operating System :: OS Independent",
109         "Programming Language :: Python",
110         "Programming Language :: Python :: 3",
111         "Programming Language :: Python :: 3.8",
112         "Programming Language :: Python :: 3.9",
113         "Programming Language :: Python :: 3.10",
114         "Programming Language :: Python :: 3.11",
115         "Programming Language :: Python :: 3.12",
116         "Framework :: Django",
117         "Framework :: Django :: 4.2",
118         "Framework :: Django :: 5.0",
119         "Framework :: Wagtail",
120         "Topic :: Internet :: WWW/HTTP :: Site Management",
121     ],
122     python_requires=">=3.8",
123     install_requires=install_requires,
124     extras_require={"testing": testing_extras, "docs": documentation_extras},
125     entry_points="""
126             [console_scripts]
127             wagtail=wagtail.bin.wagtail:main
128     """,
129     zip_safe=False,
130     cmdclass={
131         "sdist": sdist,
132         "bdist_egg": check_bdist_egg,
133         "assets": assets,
134     },
135 )
136
```
--- 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/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -73,7 +73,7 @@
     "sphinxcontrib-spelling>=7,<8",
     "Sphinx>=1.5.2",
     "sphinx-autobuild>=0.6.0",
-    "sphinx-wagtail-theme==6.2.0",
+    "sphinx-wagtail-theme==6.3.0",
     "myst_parser==2.0.0",
     "sphinx_copybutton>=0.5,<1.0",
 ]

{"golden_diff": "diff --git a/setup.py b/setup.py\n--- a/setup.py\n+++ b/setup.py\n@@ -73,7 +73,7 @@\n     \"sphinxcontrib-spelling>=7,<8\",\n     \"Sphinx>=1.5.2\",\n     \"sphinx-autobuild>=0.6.0\",\n-    \"sphinx-wagtail-theme==6.2.0\",\n+    \"sphinx-wagtail-theme==6.3.0\",\n     \"myst_parser==2.0.0\",\n     \"sphinx_copybutton>=0.5,<1.0\",\n ]\n", "issue": "Wagtail Documentation favicon icon is missing (Not Found)\n<!--\r\n  Summarise the documentation change you\u2019re suggesting in the Issue title.\r\n-->\r\n\r\n### Pertinent section of the Wagtail docs\r\n\r\n<!--\r\n  Copy the section link here.\r\n-->\r\nhttps://docs.wagtail.org/en/stable/getting_started/index.html\r\nhttps://docs.wagtail.org/en/stable/getting_started/tutorial.html\r\nhttps://docs.wagtail.org/en/stable/reference/index.html\r\nhttps://docs.wagtail.org/en/stable/reference/pages/index.html\r\n\r\nThe issue persists in all the pages of documentation. \r\n\r\n### Details\r\n\r\n<!--\r\n  Provide a clear and concise description of what you want to happen.\r\n-->\r\n\r\nWagtail has a nice favicon as per the logo which is displayed fine on this page of the documentation https://docs.wagtail.org/en/stable/\r\nBut on all the other pages the favicon is missing and not showing on the tab of chrome or any other browser tabs. When I checked the page source I found the favicon.ico is linked via `<link rel=\"shortcut icon\" href=\"../../_static/favicon.ico\" />` and this is going to https://docs.wagtail.org/en/_static/favicon.ico which is Not Found! \r\nWhen I checked other sources for example CSS or logo image I found that is sourced like `src=\"../_static/img/wagtail-logo-new.svg` and takes to https://docs.wagtail.org/en/stable/_static/img/wagtail-logo-new.svg which is correct. \r\n\r\nThe difference between the favicon going 404 and the logo being available is that the favicon icon source is '../../_static' with an extra `../` which needs to be removed. \r\n\r\n<img src=\"https://img001.prntscr.com/file/img001/zEYpfzNSQHqssOSc2_naxg.png\" width=\"500\">\r\n\r\n<!--\r\n  If you're suggesting a very specific change to the documentation, feel free to directly submit a pull request.\r\n-->\r\n\r\n### Working on this\r\n\r\n<!--\r\n  Do you have thoughts on skills needed?\r\n  Are you keen to work on this yourself once the issue has been accepted?\r\n  Please let us know here.\r\n-->\r\nIt's a very minor fix and I already described the issue above. I could fix it but I am not sure exactly where in the documentation this favicon is coming from.\r\n\r\nAnyone can contribute to this. View our [contributing guidelines](https://docs.wagtail.org/en/latest/contributing/index.html), add a comment to the issue once you\u2019re ready to start.\r\n\n", "before_files": [{"content": "#!/usr/bin/env python\n\nfrom wagtail import __version__\nfrom wagtail.utils.setup import assets, check_bdist_egg, sdist\n\ntry:\n    from setuptools import find_packages, setup\nexcept ImportError:\n    from distutils.core import setup\n\n\n# Hack to prevent \"TypeError: 'NoneType' object is not callable\" error\n# in multiprocessing/util.py _exit_function when setup.py exits\n# (see http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html)\ntry:\n    import multiprocessing  # noqa: F401\nexcept ImportError:\n    pass\n\n\ninstall_requires = [\n    \"Django>=4.2,<6.0\",\n    \"django-modelcluster>=6.2.1,<7.0\",\n    \"django-permissionedforms>=0.1,<1.0\",\n    \"django-taggit>=4.0,<5.1\",\n    \"django-treebeard>=4.5.1,<5.0\",\n    \"djangorestframework>=3.11.1,<4.0\",\n    \"django-filter>=23.3,<24\",\n    \"draftjs_exporter>=2.1.5,<6.0\",\n    \"Pillow>=9.1.0,<11.0.0\",\n    \"beautifulsoup4>=4.8,<4.13\",\n    \"Willow[heif]>=1.8.0,<2\",\n    \"requests>=2.11.1,<3.0\",\n    \"l18n>=2018.5\",\n    \"openpyxl>=3.0.10,<4.0\",\n    \"anyascii>=0.1.5\",\n    \"telepath>=0.3.1,<1\",\n    \"laces>=0.1,<0.2\",\n]\n\n# Testing dependencies\ntesting_extras = [\n    # Required for running the tests\n    \"python-dateutil>=2.7\",\n    \"pytz>=2014.7\",\n    \"Jinja2>=3.0,<3.2\",\n    \"boto3>=1.28,<2\",\n    \"freezegun>=0.3.8\",\n    \"azure-mgmt-cdn>=12.0,<13.0\",\n    \"azure-mgmt-frontdoor>=1.0,<1.1\",\n    \"django-pattern-library>=0.7\",\n    # For coverage and PEP8 linting\n    \"coverage>=3.7.0\",\n    \"doc8==0.8.1\",\n    \"ruff==0.1.5\",\n    # For enforcing string formatting mechanism in source files\n    \"semgrep==1.40.0\",\n    # For templates linting\n    \"curlylint==0.13.1\",\n    # For template indenting\n    \"djhtml==3.0.6\",\n    # For validating string formats in .po translation files\n    \"polib>=1.1,<2.0\",\n    # For wagtail.test.utils.wagtail_factories (used for streamfield migration toolkit)\n    \"factory-boy>=3.2\",\n    # For running tests in parallel\n    \"tblib>=2.0,<3.0\",\n]\n\n# Documentation dependencies\ndocumentation_extras = [\n    \"pyenchant>=3.1.1,<4\",\n    \"sphinxcontrib-spelling>=7,<8\",\n    \"Sphinx>=1.5.2\",\n    \"sphinx-autobuild>=0.6.0\",\n    \"sphinx-wagtail-theme==6.2.0\",\n    \"myst_parser==2.0.0\",\n    \"sphinx_copybutton>=0.5,<1.0\",\n]\n\nsetup(\n    name=\"wagtail\",\n    version=__version__,\n    description=\"A Django content management system.\",\n    author=\"Wagtail core team + contributors\",\n    author_email=\"hello@wagtail.org\",  # For support queries, please see https://docs.wagtail.org/en/stable/support.html\n    url=\"https://wagtail.org/\",\n    project_urls={\n        \"Changelog\": \"https://github.com/wagtail/wagtail/blob/main/CHANGELOG.txt\",\n        \"Documentation\": \"https://docs.wagtail.org\",\n        \"Source\": \"https://github.com/wagtail/wagtail\",\n        \"Tracker\": \"https://github.com/wagtail/wagtail/issues\",\n    },\n    packages=find_packages(),\n    include_package_data=True,\n    license=\"BSD\",\n    long_description=\"Wagtail is an open source content management \\\nsystem built on Django, with a strong community and commercial support. \\\nIt\u2019s focused on user experience, and offers precise control for \\\ndesigners and developers.\\n\\n\\\nFor more details, see https://wagtail.org, https://docs.wagtail.org and \\\nhttps://github.com/wagtail/wagtail/.\",\n    classifiers=[\n        \"Development Status :: 5 - Production/Stable\",\n        \"Environment :: Web Environment\",\n        \"Intended Audience :: Developers\",\n        \"License :: OSI Approved :: BSD License\",\n        \"Operating System :: OS Independent\",\n        \"Programming Language :: Python\",\n        \"Programming Language :: Python :: 3\",\n        \"Programming Language :: Python :: 3.8\",\n        \"Programming Language :: Python :: 3.9\",\n        \"Programming Language :: Python :: 3.10\",\n        \"Programming Language :: Python :: 3.11\",\n        \"Programming Language :: Python :: 3.12\",\n        \"Framework :: Django\",\n        \"Framework :: Django :: 4.2\",\n        \"Framework :: Django :: 5.0\",\n        \"Framework :: Wagtail\",\n        \"Topic :: Internet :: WWW/HTTP :: Site Management\",\n    ],\n    python_requires=\">=3.8\",\n    install_requires=install_requires,\n    extras_require={\"testing\": testing_extras, \"docs\": documentation_extras},\n    entry_points=\"\"\"\n            [console_scripts]\n            wagtail=wagtail.bin.wagtail:main\n    \"\"\",\n    zip_safe=False,\n    cmdclass={\n        \"sdist\": sdist,\n        \"bdist_egg\": check_bdist_egg,\n        \"assets\": assets,\n    },\n)\n", "path": "setup.py"}], "after_files": [{"content": "#!/usr/bin/env python\n\nfrom wagtail import __version__\nfrom wagtail.utils.setup import assets, check_bdist_egg, sdist\n\ntry:\n    from setuptools import find_packages, setup\nexcept ImportError:\n    from distutils.core import setup\n\n\n# Hack to prevent \"TypeError: 'NoneType' object is not callable\" error\n# in multiprocessing/util.py _exit_function when setup.py exits\n# (see http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html)\ntry:\n    import multiprocessing  # noqa: F401\nexcept ImportError:\n    pass\n\n\ninstall_requires = [\n    \"Django>=4.2,<6.0\",\n    \"django-modelcluster>=6.2.1,<7.0\",\n    \"django-permissionedforms>=0.1,<1.0\",\n    \"django-taggit>=4.0,<5.1\",\n    \"django-treebeard>=4.5.1,<5.0\",\n    \"djangorestframework>=3.11.1,<4.0\",\n    \"django-filter>=23.3,<24\",\n    \"draftjs_exporter>=2.1.5,<6.0\",\n    \"Pillow>=9.1.0,<11.0.0\",\n    \"beautifulsoup4>=4.8,<4.13\",\n    \"Willow[heif]>=1.8.0,<2\",\n    \"requests>=2.11.1,<3.0\",\n    \"l18n>=2018.5\",\n    \"openpyxl>=3.0.10,<4.0\",\n    \"anyascii>=0.1.5\",\n    \"telepath>=0.3.1,<1\",\n    \"laces>=0.1,<0.2\",\n]\n\n# Testing dependencies\ntesting_extras = [\n    # Required for running the tests\n    \"python-dateutil>=2.7\",\n    \"pytz>=2014.7\",\n    \"Jinja2>=3.0,<3.2\",\n    \"boto3>=1.28,<2\",\n    \"freezegun>=0.3.8\",\n    \"azure-mgmt-cdn>=12.0,<13.0\",\n    \"azure-mgmt-frontdoor>=1.0,<1.1\",\n    \"django-pattern-library>=0.7\",\n    # For coverage and PEP8 linting\n    \"coverage>=3.7.0\",\n    \"doc8==0.8.1\",\n    \"ruff==0.1.5\",\n    # For enforcing string formatting mechanism in source files\n    \"semgrep==1.40.0\",\n    # For templates linting\n    \"curlylint==0.13.1\",\n    # For template indenting\n    \"djhtml==3.0.6\",\n    # For validating string formats in .po translation files\n    \"polib>=1.1,<2.0\",\n    # For wagtail.test.utils.wagtail_factories (used for streamfield migration toolkit)\n    \"factory-boy>=3.2\",\n    # For running tests in parallel\n    \"tblib>=2.0,<3.0\",\n]\n\n# Documentation dependencies\ndocumentation_extras = [\n    \"pyenchant>=3.1.1,<4\",\n    \"sphinxcontrib-spelling>=7,<8\",\n    \"Sphinx>=1.5.2\",\n    \"sphinx-autobuild>=0.6.0\",\n    \"sphinx-wagtail-theme==6.3.0\",\n    \"myst_parser==2.0.0\",\n    \"sphinx_copybutton>=0.5,<1.0\",\n]\n\nsetup(\n    name=\"wagtail\",\n    version=__version__,\n    description=\"A Django content management system.\",\n    author=\"Wagtail core team + contributors\",\n    author_email=\"hello@wagtail.org\",  # For support queries, please see https://docs.wagtail.org/en/stable/support.html\n    url=\"https://wagtail.org/\",\n    project_urls={\n        \"Changelog\": \"https://github.com/wagtail/wagtail/blob/main/CHANGELOG.txt\",\n        \"Documentation\": \"https://docs.wagtail.org\",\n        \"Source\": \"https://github.com/wagtail/wagtail\",\n        \"Tracker\": \"https://github.com/wagtail/wagtail/issues\",\n    },\n    packages=find_packages(),\n    include_package_data=True,\n    license=\"BSD\",\n    long_description=\"Wagtail is an open source content management \\\nsystem built on Django, with a strong community and commercial support. \\\nIt\u2019s focused on user experience, and offers precise control for \\\ndesigners and developers.\\n\\n\\\nFor more details, see https://wagtail.org, https://docs.wagtail.org and \\\nhttps://github.com/wagtail/wagtail/.\",\n    classifiers=[\n        \"Development Status :: 5 - Production/Stable\",\n        \"Environment :: Web Environment\",\n        \"Intended Audience :: Developers\",\n        \"License :: OSI Approved :: BSD License\",\n        \"Operating System :: OS Independent\",\n        \"Programming Language :: Python\",\n        \"Programming Language :: Python :: 3\",\n        \"Programming Language :: Python :: 3.8\",\n        \"Programming Language :: Python :: 3.9\",\n        \"Programming Language :: Python :: 3.10\",\n        \"Programming Language :: Python :: 3.11\",\n        \"Programming Language :: Python :: 3.12\",\n        \"Framework :: Django\",\n        \"Framework :: Django :: 4.2\",\n        \"Framework :: Django :: 5.0\",\n        \"Framework :: Wagtail\",\n        \"Topic :: Internet :: WWW/HTTP :: Site Management\",\n    ],\n    python_requires=\">=3.8\",\n    install_requires=install_requires,\n    extras_require={\"testing\": testing_extras, \"docs\": documentation_extras},\n    entry_points=\"\"\"\n            [console_scripts]\n            wagtail=wagtail.bin.wagtail:main\n    \"\"\",\n    zip_safe=False,\n    cmdclass={\n        \"sdist\": sdist,\n        \"bdist_egg\": check_bdist_egg,\n        \"assets\": assets,\n    },\n)\n", "path": "setup.py"}]}