Skip to contentSkip to conversation

docs: use logo.svg as favicon

PATCH Superseded Rito Rhymes 2 participants 3 messages Mar 21 – Mar 22 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: use logo.svg as favicon

---
 Documentation/conf.py | 1 +
 1 file changed, 1 insertion(+)
Documentation/conf.py +1 -0
index 679861503..9b822ab47 100644
@@ -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"
Signature · 1 line
2.51.0
#1 lore raw

PATCH v2 1/1 docs: use logo.svg as favicon

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.

---
v2: add commit message body and missing Signed-off-by

 Documentation/conf.py | 1 +
 1 file changed, 1 insertion(+)
Documentation/conf.py +1 -0
index 679861503..9b822ab47 100644
@@ -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"
Signature · 1 line
2.51.0
maintainer
#2 lore raw
Quoted 17 lines · Rito Rhymes

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.

---
v2: add commit message body and missing Signed-off-by

 Documentation/conf.py | 1 +
 1 file changed, 1 insertion(+)
Documentation/conf.py +0 -0
index 679861503..9b822ab47 100644

Documentation/conf.py if html_theme == "alabaster": · line 459

Quoted 5 lines
Documentation/conf.py +1 -0
@@ -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