From ee0ef016523a765b6ef6eaa43cad9ad568f78ae4 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Sun, 12 Jul 2020 12:53:29 -0700 Subject: [PATCH] Added new logo to the documentation --- docs/conf.py | 10 ++++++++-- docs/datasette-logo.svg | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 2 deletions(-) create mode 100644 docs/datasette-logo.svg diff --git a/docs/conf.py b/docs/conf.py index b273afca..86bd8b4e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -91,14 +91,20 @@ html_theme = "sphinx_rtd_theme" # 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 = { + "logo_only": True, + "style_nav_header_background": "white", + "prev_next_buttons_location": "both", +} + # 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_logo = "datasette-logo.svg" + html_css_files = [ "css/custom.css", ] diff --git a/docs/datasette-logo.svg b/docs/datasette-logo.svg new file mode 100644 index 00000000..b2fd18c6 --- /dev/null +++ b/docs/datasette-logo.svg @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +