Skip to content

Commit

Permalink
docs: replace sphinx-rtd-theme with sphinx-book-theme
Browse files Browse the repository at this point in the history
Compared to `sphinx-rtd-theme`, `sphinx-book-theme` is a clean and modern Sphinx theme.

Generated by the task: njzjz-bot/njzjz-bot#11.
  • Loading branch information
njzjz-bot committed Oct 28, 2024
1 parent b8d71d8 commit 18baa74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
# ones.
extensions = [
"deepmodeling_sphinx",
"sphinx_rtd_theme",
"sphinx_book_theme",
"sphinx.ext.viewcode",
"sphinx.ext.intersphinx",
"numpydoc",
Expand Down Expand Up @@ -85,7 +85,7 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = "sphinx_rtd_theme"
html_theme = "sphinx_book_theme"

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.
numpydoc
deepmodeling_sphinx>=0.1.1
deepmodeling-sphinx>=0.3.0
myst-nb
sphinx_rtd_theme
sphinx-argparse<0.5.0

0 comments on commit 18baa74

Please sign in to comment.