diff --git a/docs/source/_static/logo.png b/docs/source/_static/logo.png new file mode 100644 index 00000000..f56374e3 Binary files /dev/null and b/docs/source/_static/logo.png differ diff --git a/docs/source/_templates/sidebarlogo.html b/docs/source/_templates/sidebarlogo.html new file mode 100644 index 00000000..d9243c4e --- /dev/null +++ b/docs/source/_templates/sidebarlogo.html @@ -0,0 +1,3 @@ +
diff --git a/docs/source/_themes/flask/theme.conf b/docs/source/_themes/flask/theme.conf index 18c720f8..1d5657f2 100644 --- a/docs/source/_themes/flask/theme.conf +++ b/docs/source/_themes/flask/theme.conf @@ -4,6 +4,6 @@ stylesheet = flasky.css pygments_style = flask_theme_support.FlaskyStyle [options] -index_logo = '' +index_logo = index_logo_height = 120px touch_icon = diff --git a/docs/source/conf.py b/docs/source/conf.py index 2cdee631..2cabc4a4 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -139,7 +139,10 @@ html_static_path = ['_static'] #html_use_smartypants = True # Custom sidebar templates, maps document names to template names. -#html_sidebars = {} +html_sidebars = { + '**': ['sidebarlogo.html', 'localtoc.html', 'relations.html', + 'sourcelink.html', 'searchbox.html'] +} # Additional templates that should be rendered to pages, maps page names to # template names.