Repository: wagtail/wagtail

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.



Discussion:
Thanks @dostogircse171 - we'll keep this issue open but it also has been raised on the Sphinx theme. 

https://github.com/wagtail/sphinx-wagtail-theme/issues/281

We thought we had fixed it in time for 6.0 but it wasn't a full fix. 

Any suggestions for code changes or a PR would be appreciated on that repo if you have time. 

There is this PR up also that may fix it. https://github.com/wagtail/sphinx-wagtail-theme/pull/282
Respected @lb-  sir,
I tried to resolve this error and when run this on the local host, favicon on all the links mentioned above is working fine on local host. 
![Wagtail1](https://github.com/wagtail/wagtail/assets/96943758/d3abc67b-6ab1-43d3-b2ef-de233f435cb9)

Please Assign me this task. I can solve this issue, please assign it to me.

> Please Assign me this task. I can solve this issue, please assign it to me.

Actually I am working on this issue. Have find the solution and will fix it as soon as possible.
> > Please Assign me this task. I can solve this issue, please assign it to me.
> 
> Actually I am working on this issue. Have find the solution and will fix it as soon as possible.

Ohk Bro no issues you can give it a go if you figured this out. Thank you.


Resolving patch:
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",
 ]


Test patch: