Skip to content

Commit 4e53045

Browse files
njzjz-botnjzjz
andauthored
docs: replace sphinx-rtd-theme with sphinx-book-theme (#5360)
* docs: replace sphinx-rtd-theme with sphinx-book-theme Compared to `sphinx-rtd-theme`, `sphinx-book-theme` is a clean and modern Sphinx theme. Generated by the task: njzjz-bot/njzjz-bot#11. * remove jquery --------- Co-authored-by: Jinzhe Zeng <[email protected]>
1 parent fe3b44f commit 4e53045

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

docs/conf.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
extensions = [
3434
'myst_parser',
3535
'deepmodeling_sphinx',
36-
'sphinxcontrib.jquery',
3736
]
3837
myst_enable_extensions = [
3938
"amsmath",
@@ -66,7 +65,7 @@
6665
# The theme to use for HTML and HTML Help pages. See the documentation for
6766
# a list of builtin themes.
6867
#
69-
html_theme = 'sphinx_rtd_theme'
68+
html_theme = 'sphinx_book_theme'
7069
html_logo = 'abacus-logo.svg'
7170

7271

docs/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
urllib3
22
myst_parser[linkify]
3-
sphinx_rtd_theme
4-
deepmodeling_sphinx
3+
sphinx-book-theme
4+
deepmodeling-sphinx>=0.3.0

0 commit comments

Comments
 (0)