From 6cd53c0c1118208cc5a80844259806baa9b34650 Mon Sep 17 00:00:00 2001 From: "njzjz-bot[bot]" <48687836+njzjz-bot@users.noreply.github.com> Date: Mon, 28 Oct 2024 01:09:19 -0400 Subject: [PATCH 1/2] 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: https://github.com/njzjz-bot/njzjz-bot/issues/11. --- docs/conf.py | 2 +- docs/requirements.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 0ec6e2f15c..839fd74eb1 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -66,7 +66,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' html_logo = 'abacus-logo.svg' diff --git a/docs/requirements.txt b/docs/requirements.txt index 34b6c32f45..d7fef4eb49 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,4 +1,4 @@ urllib3 myst_parser[linkify] -sphinx_rtd_theme -deepmodeling_sphinx +sphinx-book-theme +deepmodeling-sphinx>=0.3.0 From ef895cee622ecab282dcf1e5102cb277392719e6 Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Mon, 28 Oct 2024 17:21:43 -0400 Subject: [PATCH 2/2] remove jquery --- docs/conf.py | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 839fd74eb1..6276db3031 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -33,7 +33,6 @@ extensions = [ 'myst_parser', 'deepmodeling_sphinx', - 'sphinxcontrib.jquery', ] myst_enable_extensions = [ "amsmath",