From fb5d174dc77a63861258a8c160483ca711f307aa Mon Sep 17 00:00:00 2001 From: Anderson Bravalheri Date: Thu, 4 Nov 2021 02:10:57 +0000 Subject: Customise the sphinx theme to reflect the new logo --- docs/conf.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'docs/conf.py') diff --git a/docs/conf.py b/docs/conf.py index ba541423..c55af0bd 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -101,6 +101,21 @@ default_role = 'any' # HTML theme html_theme = 'furo' +html_static_path = ['logo'] + +html_theme_options = { + "sidebar_hide_name": True, + "light_logo": "paths.png", + "light_css_variables": { + "color-brand-primary": "#336790", # "blue" + "color-brand-content": "#336790", + }, + "dark_logo": "paths-negative.png", + "dark_css_variables": { + "color-brand-primary": "#E5B62F", # "yellow" + "color-brand-content": "#E5B62F", + }, +} # Add support for inline tabs extensions += ['sphinx_inline_tabs'] -- cgit v1.2.1 From b7c2e2b49ca2db77051410bed87f034306222b42 Mon Sep 17 00:00:00 2001 From: Anderson Bravalheri Date: Thu, 4 Nov 2021 02:39:55 +0000 Subject: Rename logo files --- docs/conf.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'docs/conf.py') diff --git a/docs/conf.py b/docs/conf.py index c55af0bd..06a61a8c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -101,16 +101,15 @@ default_role = 'any' # HTML theme html_theme = 'furo' -html_static_path = ['logo'] +html_logo = "images/logo.png" +html_static_path = ['images'] html_theme_options = { "sidebar_hide_name": True, - "light_logo": "paths.png", "light_css_variables": { "color-brand-primary": "#336790", # "blue" "color-brand-content": "#336790", }, - "dark_logo": "paths-negative.png", "dark_css_variables": { "color-brand-primary": "#E5B62F", # "yellow" "color-brand-content": "#E5B62F", -- cgit v1.2.1 From 300093105848dfbf2a95f490a92e91620d8199c0 Mon Sep 17 00:00:00 2001 From: Anderson Bravalheri Date: Thu, 4 Nov 2021 03:22:27 +0000 Subject: Add docs/README to the toctree --- docs/conf.py | 1 - 1 file changed, 1 deletion(-) (limited to 'docs/conf.py') diff --git a/docs/conf.py b/docs/conf.py index 06a61a8c..4f3eb8dc 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -102,7 +102,6 @@ default_role = 'any' # HTML theme html_theme = 'furo' html_logo = "images/logo.png" -html_static_path = ['images'] html_theme_options = { "sidebar_hide_name": True, -- cgit v1.2.1