From 4e932481e714b82558a9395095f15ad5e3e8aafb Mon Sep 17 00:00:00 2001 From: Chetanya Goyal <95761876+chetanyagoyal@users.noreply.github.com> Date: Sat, 8 Jun 2024 17:33:16 +0530 Subject: [PATCH 1/3] Update requirements_dev.txt add sphinx-rtd-theme --- requirements_dev.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements_dev.txt b/requirements_dev.txt index ee107d6d2..07e365f97 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -16,5 +16,6 @@ sphinx sphinx-autodoc-typehints sphinx-click sphinx-markdown-tables +sphinx-rtd-theme tox xdoctest From 6ab0eff1c958cb404ad816cca459ef071fb540b8 Mon Sep 17 00:00:00 2001 From: Chetanya Goyal <95761876+chetanyagoyal@users.noreply.github.com> Date: Sat, 8 Jun 2024 17:34:46 +0530 Subject: [PATCH 2/3] Update conf.py update sphinx_rtd_theme module paths --- docs/source/conf.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index c5697fa05..41a3d03f3 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -27,7 +27,7 @@ # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. -extensions = ["sphinx.ext.autosectionlabel", "nbsphinx"] +extensions = ["sphinx.ext.autosectionlabel", "nbsphinx", "sphinx_rtd_theme"] autosectionlabel_prefix_document = True nbsphinx_execute = "never" # Add any paths that contain templates here, relative to this directory. @@ -42,8 +42,7 @@ # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -# -import sphinx_rtd_theme, nbsphinx + html_theme = "sphinx_rtd_theme" From e6b34102bc8d1d5bf77f520df87153df995c44d0 Mon Sep 17 00:00:00 2001 From: Chetanya Goyal <95761876+chetanyagoyal@users.noreply.github.com> Date: Sat, 8 Jun 2024 17:36:05 +0530 Subject: [PATCH 3/3] Update .readthedocs.yaml 1. change python version to 3.10 2. change build os to ubuntu 22 --- .readthedocs.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 5c23a650b..8d83b93c4 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -11,9 +11,9 @@ submodules: # Set the version of Python and other tools you might need build: - os: ubuntu-20.04 + os: ubuntu-22.04 tools: - python: "3.9" + python: "3.10" # You can also specify other tool versions: # nodejs: "16" # rust: "1.55" @@ -30,3 +30,4 @@ formats: [] python: install: - requirements: requirements.txt + - requirements: requirements_dev.txt