Skip to content

Commit d9cd5e2

Browse files
committed
sphinx-book-theme suits better than pydata
1 parent 718d1de commit d9cd5e2

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
sphinx-copybutton
22
pydata-sphinx-theme
3-
sphinx-rtd-dark-mode
3+
sphinx-rtd-dark-mode
4+
sphinx-book-theme

src/conf.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
extensions = [
2727
"math_dollar",
2828
"sphinx_copybutton", # code-block copy button
29-
"sphinx_rtd_dark_mode", # must comment this to use pydata theme
29+
# "sphinx_rtd_dark_mode", # must comment this to use pydata theme
3030
]
3131

3232
# Select one of the two:
@@ -255,7 +255,8 @@
255255

256256
# The theme to use for HTML and HTML Help pages. Major themes that come with
257257
# Sphinx are currently 'default' and 'sphinxdoc'.
258-
html_theme = 'pydata_sphinx_theme'
258+
# html_theme = 'pydata_sphinx_theme'
259+
html_theme = 'sphinx_book_theme'
259260
# html_theme = 'sphinx_rtd_theme'
260261

261262
# Theme options are theme-specific and customize the look and feel of a theme

0 commit comments

Comments
 (0)