Skip to content

Commit

Permalink
Documentation: add tux logo
Browse files Browse the repository at this point in the history
We already have the logo, let's use it.

Testing: make htmldocs

Cc: Miguel Ojeda <[email protected]>
Signed-off-by: Vegard Nossum <[email protected]>
Signed-off-by: Jonathan Corbet <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
  • Loading branch information
vegard authored and Jonathan Corbet committed Nov 17, 2023
1 parent 86b17aa commit d49af11
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Documentation/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
6 changes: 6 additions & 0 deletions Documentation/sphinx-static/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit d49af11

Please sign in to comment.