diff --git a/_static/theme_overrides.css b/_static/theme_overrides.css index b79568991..32dc98d49 100644 --- a/_static/theme_overrides.css +++ b/_static/theme_overrides.css @@ -2,3 +2,8 @@ .wy-nav-content { max-width: 1000px !important; } + +/* override logo height */ +.wy-side-nav-search > a img.logo { + height: 40px; +} \ No newline at end of file diff --git a/conf.py b/conf.py index 309e33784..c66f97da8 100644 --- a/conf.py +++ b/conf.py @@ -14,6 +14,7 @@ import sys import os +import datetime on_rtd = os.environ.get('READTHEDOCS', None) == 'True' @@ -57,7 +58,7 @@ # General information about the project. project = u'Graylog' -copyright = u'2015-2020 Graylog, Inc.' +copyright = (u'2015-%d Graylog, Inc.' % datetime.date.today().year) # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -119,7 +120,10 @@ # 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 = {} +html_theme_options = { + 'style_nav_header_background': '#1F1F1F', + 'logo_only': True, +} # Add any paths that contain custom themes here, relative to this directory. #html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] @@ -133,7 +137,7 @@ # The name of an image file (relative to this directory) to place at the top # of the sidebar. -#html_logo = None +html_logo = 'images/logo.svg' # 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 @@ -296,7 +300,7 @@ epub_title = u'Graylog' epub_author = u'Graylog, Inc.' epub_publisher = u'Graylog, Inc.' -epub_copyright = u'2015-2020 Graylog, Inc.' +epub_copyright = (u'2015-%d Graylog, Inc.' % datetime.date.today().year) # The basename for the epub file. It defaults to the project name. #epub_basename = u'Graylog' diff --git a/images/logo.svg b/images/logo.svg new file mode 100644 index 000000000..67a402228 --- /dev/null +++ b/images/logo.svg @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + +