diff --git a/doc/en/_templates/globaltoc.html b/doc/en/_templates/globaltoc.html deleted file mode 100644 index 5fc1ea13e5b..00000000000 --- a/doc/en/_templates/globaltoc.html +++ /dev/null @@ -1,28 +0,0 @@ -
- pytest is a mature full-featured Python testing tool that helps - you write better programs. -
diff --git a/doc/en/_templates/slim_searchbox.html b/doc/en/_templates/slim_searchbox.html deleted file mode 100644 index e98ad4ed905..00000000000 --- a/doc/en/_templates/slim_searchbox.html +++ /dev/null @@ -1,15 +0,0 @@ -{# - basic/searchbox.html with heading removed. -#} -{%- if pagename != "search" and builder != "singlehtml" %} - - -{%- endif %} diff --git a/doc/en/conf.py b/doc/en/conf.py index e34ae6856f0..8e6a886bb5a 100644 --- a/doc/en/conf.py +++ b/doc/en/conf.py @@ -45,7 +45,6 @@ # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. extensions = [ - "pallets_sphinx_themes", "pygments_pytest", "sphinx.ext.autodoc", "sphinx.ext.autosummary", @@ -113,7 +112,7 @@ # show_authors = False # The name of the Pygments (syntax highlighting) style to use. -pygments_style = "sphinx" +# pygments_style = "sphinx" # A list of ignored prefixes for module index sorting. @@ -135,17 +134,14 @@ # -- Options for HTML output --------------------------------------------------- -sys.path.append(os.path.abspath("_themes")) -html_theme_path = ["_themes"] - # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -html_theme = "flask" +html_theme = "furo" # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the # documentation. -# html_theme_options = {"index_logo": None} +html_theme_options = {"sidebar_hide_name": True} # Add any paths that contain custom themes here, relative to this directory. # html_theme_path = [] @@ -183,23 +179,6 @@ # html_sidebars = {} # html_sidebars = {'index': 'indexsidebar.html'} -html_sidebars = { - "index": [ - "slim_searchbox.html", - "sidebarintro.html", - "globaltoc.html", - "links.html", - "sourcelink.html", - ], - "**": [ - "slim_searchbox.html", - "globaltoc.html", - "relations.html", - "links.html", - "sourcelink.html", - ], -} - # Additional templates that should be rendered to pages, maps page names to # template names. # html_additional_pages = {} diff --git a/doc/en/requirements.txt b/doc/en/requirements.txt index 20246acb750..fe8d5de8270 100644 --- a/doc/en/requirements.txt +++ b/doc/en/requirements.txt @@ -1,4 +1,4 @@ -pallets-sphinx-themes +furo pygments-pytest>=2.2.0 sphinx-removed-in>=0.2.0 sphinx>=3.1,<4