Skip to content

Commit

Permalink
Fix/update elephant logo (#534)
Browse files Browse the repository at this point in the history
* add elephant logo 2019

* add elephant logo sidebar 2019

* remove "Elephant" heading over "Navigation" on the sidebar

* fix syntax

* set html_short_title to None in conf.py

* change html theme options to include logo, this removes the titile "Elephant" over 'Navigation' in the sidebar
  • Loading branch information
Moritz-Alexander-Kern authored Feb 16, 2023
1 parent 86e5d7b commit eb9f00e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,13 +133,9 @@
'font_family': 'Arial',
'page_width': '1200px', # default is 940
'sidebar_width': '280px', # default is 220
'logo': 'elephant_logo_sidebar.png' # add logo to sidebar
}

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
#html_theme_options = {}

# Add any paths that contain custom themes here, relative to this directory.
#html_theme_path = []

Expand All @@ -148,11 +144,11 @@
#html_title = None

# A shorter title for the navigation bar. Default is the same as html_title.
#html_short_title = None
html_short_title = None

# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
html_logo = 'images/elephant_logo_sidebar.png'
# html_logo = 'images/elephant_logo_sidebar.png'

# The name of an image file (within the static path) to use as favicon of the
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
Expand All @@ -162,7 +158,7 @@
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
# html_static_path = ['_static']
html_static_path = ['images/elephant_logo_sidebar.png']

# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
Expand Down
Binary file modified doc/images/elephant_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/images/elephant_logo_sidebar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit eb9f00e

Please sign in to comment.