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 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" 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