From 773e83975c32844512031ad707645f0133d24d19 Mon Sep 17 00:00:00 2001 From: "njzjz-bot[bot]" <48687836+njzjz-bot@users.noreply.github.com> Date: Mon, 28 Oct 2024 01:00:53 -0400 Subject: [PATCH] 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. --- conf.py | 2 +- requirements.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/conf.py b/conf.py index 743a6d7..94d72c2 100644 --- a/conf.py +++ b/conf.py @@ -15,7 +15,7 @@ myst_enable_extensions = [ 'colon_fence', ] -html_theme = 'sphinx_rtd_theme' +html_theme = 'sphinx_book_theme' def copy_custom_files(app): if app.builder.format == "html": diff --git a/requirements.txt b/requirements.txt index 6c831a1..d48da90 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ -sphinx_rtd_theme -deepmodeling_sphinx +sphinx-book-theme +deepmodeling-sphinx>=0.3.0 myst-parser \ No newline at end of file