From 2927d1a4174b205281735f2e3c5f3425f493efc3 Mon Sep 17 00:00:00 2001 From: Sam <67113216+samanthahamilton@users.noreply.github.com> Date: Fri, 28 Aug 2020 12:16:30 -0400 Subject: [PATCH 1/6] Update index.rst Punctuation error on /index --- docs/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.rst b/docs/index.rst index 21f2df15..8d127741 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -9,7 +9,7 @@ In particular, you can: To achieve this, mpl_interactions provides: -* A way to control the output of pyplot functions (e.g. ``plot`` and ``hist``) with sliders +* A way to control the output of pyplot functions (e.g. ``plot`` and ``hist``) with sliders. * A function to compare horizontal and vertical slices of heatmaps. * A function allowing zooming using the scroll wheel. From 094b7244722439c88714c1854b210881a312e611 Mon Sep 17 00:00:00 2001 From: Sam <67113216+samanthahamilton@users.noreply.github.com> Date: Fri, 28 Aug 2020 12:16:44 -0400 Subject: [PATCH 2/6] Create custom.css Adding custom css to Sphinx --- docs/_static/css/custom.css | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 docs/_static/css/custom.css diff --git a/docs/_static/css/custom.css b/docs/_static/css/custom.css new file mode 100644 index 00000000..102bc84d --- /dev/null +++ b/docs/_static/css/custom.css @@ -0,0 +1,35 @@ +body { + background: #fafafa; + font-family: "Georgia", Times, serif; + font-size: 14px; + color: black; +} + +.wy-nav-side { + font-family: "Georgia", Times, serif; + font-size: 13px; + color: black; + background: #fafafa; +} + +.wy-side-nav-search, .wy-nav-top { + background: #fafafa; + color: black +} + +a.icon.icon-home { + color: #11557C; +} + +a.reference.internal { + font-size: 13px; + color: #43464b; +} + +.wy-nav-content { + background: #fafafa; +} + +.wy-content-wrap { + background: #fafafa; +} \ No newline at end of file From 2c7230fee566572c7065b0b9ba45b98362d53834 Mon Sep 17 00:00:00 2001 From: Sam <67113216+samanthahamilton@users.noreply.github.com> Date: Fri, 28 Aug 2020 12:16:54 -0400 Subject: [PATCH 3/6] Update conf.py Updating conf.py file --- docs/conf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index e297573a..17e65e22 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -74,6 +74,8 @@ # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ['_static'] +html_css_files ] ['css/custom.css'] + # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] From 93ad3b2b0ebffff76648fa45576de6399a3bb87a Mon Sep 17 00:00:00 2001 From: Sam <67113216+samanthahamilton@users.noreply.github.com> Date: Fri, 28 Aug 2020 12:30:27 -0400 Subject: [PATCH 4/6] Update conf.py As per the check, fixed the duplicate square bracket --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 17e65e22..3e5a2443 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -74,7 +74,7 @@ # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ['_static'] -html_css_files ] ['css/custom.css'] +html_css_files ['css/custom.css'] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] From ec108b3ddb66b795f557ceebafe9a36536c017e9 Mon Sep 17 00:00:00 2001 From: Sam <67113216+samanthahamilton@users.noreply.github.com> Date: Fri, 28 Aug 2020 12:35:42 -0400 Subject: [PATCH 5/6] Update conf.py As per the check... forgot the = --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 3e5a2443..ec31bd3f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -74,7 +74,7 @@ # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ['_static'] -html_css_files ['css/custom.css'] +html_css_files = ['css/custom.css'] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] From 77e3decfae2c98a544ddfcdfdc5ff764a94b05b0 Mon Sep 17 00:00:00 2001 From: Sam <67113216+samanthahamilton@users.noreply.github.com> Date: Fri, 25 Sep 2020 13:05:34 -0400 Subject: [PATCH 6/6] Update custom.css updates re. feedback --- docs/_static/css/custom.css | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/_static/css/custom.css b/docs/_static/css/custom.css index 102bc84d..213a36e0 100644 --- a/docs/_static/css/custom.css +++ b/docs/_static/css/custom.css @@ -23,7 +23,6 @@ a.icon.icon-home { a.reference.internal { font-size: 13px; - color: #43464b; } .wy-nav-content { @@ -32,4 +31,12 @@ a.reference.internal { .wy-content-wrap { background: #fafafa; -} \ No newline at end of file +} + +.wy-menu-vertical a { + color: #43464b; +} + +a:hover { + color: lightgrey; +}