Skip to content

Commit 2854892

Browse files
authored
Merge pull request #33 from jklymak/fix-update-pydata-sphinx-09
FIX: update for pst 0.9
2 parents 3c816d7 + 17a9003 commit 2854892

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
lines changed

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
html_theme = "mpl_sphinx_theme"
4343
html_favicon = "_static/favicon.ico"
4444
html_theme_options = {
45-
"logo_link": "https://matplotlib.org/stable/",
45+
"logo": {"link": "https://matplotlib.org/stable/"},
4646
# collapse_navigation in pydata-sphinx-theme is slow, so skipped for local
4747
# and CI builds https://github.com/pydata/pydata-sphinx-theme/pull/386
4848
"collapse_navigation": not is_release_build,

docs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pydata-sphinx-theme>=0.6.0
1+
pydata-sphinx-theme>=0.9.0

mpl_sphinx_theme/static/css/style.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@ a:hover {
77
color: #CA7900;
88
}
99

10+
html[data-theme="light"] {
11+
--pst-color-primary: rgb(19, 6, 84);
12+
--pst-color-text-base: rgb(51, 51, 51);
13+
}
14+
15+
html[data-theme="dark"] {
16+
--pst-color-primary: rgb(19, 6, 84);
17+
--pst-color-text-base: rgb(240, 240, 240);
18+
}
19+
1020
table.highlighttable {
1121
margin-left: 0.5em;
1222
}

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pydata-sphinx-theme>=0.6.0
1+
pydata-sphinx-theme>=0.9.0

0 commit comments

Comments
 (0)