Skip to content

Commit 2d934d0

Browse files
authored
docs: replace sphinx-rtd-theme with sphinx-book-theme (#505)
1 parent da8e4d8 commit 2d934d0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"deepmodeling_sphinx",
3434
"dargs.sphinx",
3535
"myst_parser",
36-
"sphinx_rtd_theme",
36+
"sphinx_book_theme",
3737
"sphinx.ext.viewcode",
3838
"sphinx.ext.intersphinx",
3939
"numpydoc",
@@ -55,7 +55,7 @@
5555
# The theme to use for HTML and HTML Help pages. See the documentation for
5656
# a list of builtin themes.
5757
#
58-
html_theme = "sphinx_rtd_theme"
58+
html_theme = "sphinx_book_theme"
5959

6060
# Add any paths that contain custom static files (such as style sheets) here,
6161
# relative to this directory. They are copied after the builtin static files,

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ dpdisp = "dpdispatcher.dpdisp:main"
5151
docs = [
5252
'sphinx',
5353
'myst-parser',
54-
'sphinx_rtd_theme>=1.0.0rc1',
54+
'sphinx-book-theme',
5555
'numpydoc',
56-
'deepmodeling_sphinx>=0.1.1',
56+
'deepmodeling-sphinx>=0.3.0',
5757
'dargs>=0.3.1',
5858
'sphinx-argparse<0.5.0',
5959
]

0 commit comments

Comments
 (0)