From 66428dae861ce197a6a71b7f85d5956826cd15d3 Mon Sep 17 00:00:00 2001 From: Deepak Sirohiwal <38135521+deepaksirohiwal@users.noreply.github.com> Date: Thu, 22 Sep 2022 02:49:01 +0530 Subject: [PATCH 1/2] Added theme_switcher in navbar_end Added theme_switcher in navbar_end to display the Dark/Light theme switcher --- doc/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 8740f6aa7eef6..c4a8961e38d33 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -245,7 +245,7 @@ "twitter_url": "https://twitter.com/pandas_dev", "google_analytics_id": "UA-27880019-2", "logo": {"image_dark": "https://pandas.pydata.org/static/img/pandas_white.svg"}, - "navbar_end": ["version-switcher", "navbar-icon-links"], + "navbar_end": ["version-switcher","theme-switcher","navbar-icon-links"], "switcher": { "json_url": "/versions.json", "version_match": switcher_version, From ce02fa417bdc07cdd7e400da406003f473ea0c6e Mon Sep 17 00:00:00 2001 From: Deepak Sirohiwal <38135521+deepaksirohiwal@users.noreply.github.com> Date: Thu, 22 Sep 2022 14:41:54 +0530 Subject: [PATCH 2/2] added space after comma --- doc/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index c4a8961e38d33..252670565ebff 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -245,7 +245,7 @@ "twitter_url": "https://twitter.com/pandas_dev", "google_analytics_id": "UA-27880019-2", "logo": {"image_dark": "https://pandas.pydata.org/static/img/pandas_white.svg"}, - "navbar_end": ["version-switcher","theme-switcher","navbar-icon-links"], + "navbar_end": ["version-switcher", "theme-switcher", "navbar-icon-links"], "switcher": { "json_url": "/versions.json", "version_match": switcher_version,