diff --git a/docs/_static/customize.css b/docs/_static/customize.css new file mode 100644 index 0000000000..7b00fb9706 --- /dev/null +++ b/docs/_static/customize.css @@ -0,0 +1,3 @@ +.wy-side-nav-search img { + padding: 5px 60px !important; +} diff --git a/docs/_static/logo.png b/docs/_static/logo.png new file mode 100644 index 0000000000..dd8a887094 Binary files /dev/null and b/docs/_static/logo.png differ diff --git a/docs/conf.py b/docs/conf.py index bda2298052..0dd5dd4a3e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -54,3 +54,11 @@ # 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_logo = "_static/logo.png" +html_theme_options = { + 'logo_only': True, +} + +def setup(app): + app.add_css_file('customize.css')