From 7daf12f817a166def3412df0ac88802ed0f38bf6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20M=C3=BChlbauer?= Date: Wed, 7 Sep 2022 08:52:11 +0200 Subject: [PATCH] ADD: add openradar favicon, mini and normal logo, make them available in the rendered site --- docs/_static/openradar_logo.svg | 200 +++++++++++++++++++++++++++++++ docs/_static/openradar_micro.svg | 148 +++++++++++++++++++++++ docs/_static/openradar_mini.svg | 171 ++++++++++++++++++++++++++ docs/conf.py | 23 +++- 4 files changed, 539 insertions(+), 3 deletions(-) create mode 100644 docs/_static/openradar_logo.svg create mode 100644 docs/_static/openradar_micro.svg create mode 100644 docs/_static/openradar_mini.svg diff --git a/docs/_static/openradar_logo.svg b/docs/_static/openradar_logo.svg new file mode 100644 index 0000000..a25caed --- /dev/null +++ b/docs/_static/openradar_logo.svg @@ -0,0 +1,200 @@ + + + Open Radar Logo + + + + + + + + + + + + + image/svg+xml + + Open Radar Logo + + 07.09.2022 + + + Kai Mühlbauer + + + + + + + + + + + + + + OPEN + + + + + + OPEN + RADAR + SCIENCE + + + + + + + + diff --git a/docs/_static/openradar_micro.svg b/docs/_static/openradar_micro.svg new file mode 100644 index 0000000..a85404a --- /dev/null +++ b/docs/_static/openradar_micro.svg @@ -0,0 +1,148 @@ + + + Open Radar Micro + + + + + + + + + + + + image/svg+xml + + Open Radar Micro + + 07.09.2022 + + + Kai Mühlbauer + + + + + + + + + + + + + + OPEN + + + + + OR + + + diff --git a/docs/_static/openradar_mini.svg b/docs/_static/openradar_mini.svg new file mode 100644 index 0000000..203e5c2 --- /dev/null +++ b/docs/_static/openradar_mini.svg @@ -0,0 +1,171 @@ + + + Open Radar Mini + + + + + + + + + + + + + image/svg+xml + + Open Radar Mini + + 07.09.2022 + + + Kai Mühlbauer + + + + + + + + + + + + + + OPEN + + + + + + + + + OR + + + diff --git a/docs/conf.py b/docs/conf.py index 2e42936..b6d6d55 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -28,6 +28,10 @@ html_theme = 'pydata_sphinx_theme' html_static_path = ['_static'] +html_context = { + "default_mode": "dark" +} +html_logo = "_static/openradar_logo.svg" # Add some more theme Options html_theme_options = { @@ -37,9 +41,22 @@ 'search_bar_text': 'Search this site... ', "navbar_align": "left", #'google_analytics_id': 'UA-196809533-1', - "navbar_end": ["navbar-icon-links.html", "search-field.html"], + "navbar_end": ["theme-switcher", "icon-links.html"], + "favicons": [ + { + "rel": "icon", + "href": "openradar_micro.svg", + }, + ], "logo": { - "text": "Open Radar Science", "link": "https://openradarscience.org", - } + }, + "icon_links": [ + { + "type": "local", + "name": "OpenRadarScience", + "url": "https://openradarscience.org", + "icon": "_static/openradar_mini.svg", + }, + ], }