diff --git a/Documentation/conf.py b/Documentation/conf.py index d4fdf6a3875a83..20bd74edcca9fd 100644 --- a/Documentation/conf.py +++ b/Documentation/conf.py @@ -357,6 +357,10 @@ def get_cline_version(): if html_theme == 'alabaster': html_sidebars['**'].insert(0, 'about.html') +# The name of an image file (relative to this directory) to place at the top +# of the sidebar. +html_logo = 'images/logo.svg' + # Output file base name for HTML help builder. htmlhelp_basename = 'TheLinuxKerneldoc' diff --git a/Documentation/sphinx-static/custom.css b/Documentation/sphinx-static/custom.css index c7439349dda634..c992b1946edccb 100644 --- a/Documentation/sphinx-static/custom.css +++ b/Documentation/sphinx-static/custom.css @@ -23,6 +23,12 @@ div.document { width: auto; } +/* Size the logo appropriately */ +img.logo { + width: 104px; + margin-bottom: 20px; +} + /* * Parameters for the display of function prototypes and such included * from C source files.