diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 0631375c..8c4f9da2 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -1,9 +1,9 @@ version: 2 build: - os: "ubuntu-20.04" + os: "ubuntu-24.04" tools: - python: "3.8" + python: "3.12" python: install: diff --git a/docs/requirements.txt b/docs/requirements.txt index 7ec1624a..d95272ce 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,8 +1,8 @@ sphinx>=4.0.2 recommonmark -sphinx-rtd-theme +sphinx-book-theme sphinx_markdown_tables sphinx-argparse myst-parser -deepmodeling-sphinx +deepmodeling-sphinx>=0.3.0 . diff --git a/docs/source/conf.py b/docs/source/conf.py index 2bdcb916..a5f2f9fa 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -14,9 +14,7 @@ # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration -import sphinx_rtd_theme extensions = ["deepmodeling_sphinx", - 'sphinx_rtd_theme', 'sphinx.ext.duration', 'sphinx.ext.doctest', 'sphinx.ext.autodoc', @@ -34,7 +32,7 @@ # -- Options for HTML output ------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output -html_theme = 'sphinx_rtd_theme' +html_theme = 'sphinx_book_theme' html_logo = 'DeepFlameLOGO.png'