[PATCH] docs: use logo.svg as favicon

Rito Rhymes posted 1 patch 1 week, 6 days ago
There is a newer version of this series
Documentation/conf.py | 1 +
1 file changed, 1 insertion(+)
[PATCH] docs: use logo.svg as favicon
Posted by Rito Rhymes 1 week, 6 days ago
---
 Documentation/conf.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/conf.py b/Documentation/conf.py
index 679861503..9b822ab47 100644
--- a/Documentation/conf.py
+++ b/Documentation/conf.py
@@ -455,6 +455,7 @@ if html_theme == "alabaster":
 # The name of an image file (relative to this directory) to place at the top
 # of the sidebar.
 html_logo = "images/logo.svg"
+html_favicon = "images/logo.svg"
 
 # Output file base name for HTML help builder.
 htmlhelp_basename = "TheLinuxKerneldoc"
-- 
2.51.0
[PATCH v2] docs: use logo.svg as favicon
Posted by Rito Rhymes 1 week, 6 days ago
Use the existing documentation logo as the HTML favicon.

This makes generated documentation pages use a matching browser tab
icon without introducing a separate favicon asset.

Signed-off-by: Rito Rhymes <rito@ritovision.com>
---
v2: add commit message body and missing Signed-off-by

 Documentation/conf.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/conf.py b/Documentation/conf.py
index 679861503..9b822ab47 100644
--- a/Documentation/conf.py
+++ b/Documentation/conf.py
@@ -455,6 +455,7 @@ if html_theme == "alabaster":
 # The name of an image file (relative to this directory) to place at the top
 # of the sidebar.
 html_logo = "images/logo.svg"
+html_favicon = "images/logo.svg"
 
 # Output file base name for HTML help builder.
 htmlhelp_basename = "TheLinuxKerneldoc"
-- 
2.51.0
Re: [PATCH v2] docs: use logo.svg as favicon
Posted by Jonathan Corbet 1 week, 5 days ago
Rito Rhymes <rito@ritovision.com> writes:

> Use the existing documentation logo as the HTML favicon.
>
> This makes generated documentation pages use a matching browser tab
> icon without introducing a separate favicon asset.
>
> Signed-off-by: Rito Rhymes <rito@ritovision.com>
> ---
> v2: add commit message body and missing Signed-off-by
>
>  Documentation/conf.py | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/conf.py b/Documentation/conf.py
> index 679861503..9b822ab47 100644
> --- a/Documentation/conf.py
> +++ b/Documentation/conf.py
> @@ -455,6 +455,7 @@ if html_theme == "alabaster":
>  # The name of an image file (relative to this directory) to place at the top
>  # of the sidebar.
>  html_logo = "images/logo.svg"
> +html_favicon = "images/logo.svg"
>  

This seems straightforward enough; applied, thanks.

jon