From 5d7d2f681b4042ae02762252ad618180e4a41ac5 Mon Sep 17 00:00:00 2001 From: Sebastian Gsell Date: Fri, 5 Apr 2024 13:11:59 +0200 Subject: [PATCH] Add icons --- docs/source/_static/images/estimagic_icon.svg | 71 +++++++++++++++++++ .../images/estimagic_icon_dark_mode.svg | 71 +++++++++++++++++++ docs/source/conf.py | 7 +- 3 files changed, 147 insertions(+), 2 deletions(-) create mode 100644 docs/source/_static/images/estimagic_icon.svg create mode 100644 docs/source/_static/images/estimagic_icon_dark_mode.svg diff --git a/docs/source/_static/images/estimagic_icon.svg b/docs/source/_static/images/estimagic_icon.svg new file mode 100644 index 000000000..75be02d24 --- /dev/null +++ b/docs/source/_static/images/estimagic_icon.svg @@ -0,0 +1,71 @@ + + + + + + + + + + + + + + + + + + diff --git a/docs/source/_static/images/estimagic_icon_dark_mode.svg b/docs/source/_static/images/estimagic_icon_dark_mode.svg new file mode 100644 index 000000000..20ce86314 --- /dev/null +++ b/docs/source/_static/images/estimagic_icon_dark_mode.svg @@ -0,0 +1,71 @@ + + + + + + + + + + + + + + + + + + diff --git a/docs/source/conf.py b/docs/source/conf.py index ab135c860..44d7889a8 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -160,11 +160,14 @@ # a list of builtin themes. html_theme = "pydata_sphinx_theme" -html_logo = "_static/images/estimagic_logo.svg" +html_logo = "_static/images/estimagic_icon.svg" html_theme_options = { "github_url": "https://github.com/OpenSourceEconomics/estimagic", - "logo": {"image_dark": "_static/images/estimagic_logo_dark_mode.svg"}, + "logo": { + "text": "estimagic", + "image_dark": "_static/images/estimagic_icon_dark_mode.svg", + }, } html_css_files = ["css/custom.css"]