diff --git a/doc/source/conf.py b/doc/source/conf.py index f985434ff..ce1a873af 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -226,6 +226,11 @@ def reset_servers(gallery_conf, fname, when): "version_match": get_version_match(__version__), }, "navbar_end": ["version-switcher", "theme-switcher", "navbar-icon-links"], + "static_search": { + "threshold": 0.5, + "min_chars_for_search": 2, + "ignoreLocation": True, + }, } # Add any paths that contain custom static files (such as style sheets) here, diff --git a/requirements/requirements_docs.txt b/requirements/requirements_docs.txt index 5439c330a..cac5f227f 100644 --- a/requirements/requirements_docs.txt +++ b/requirements/requirements_docs.txt @@ -10,7 +10,7 @@ pytest-sphinx==0.6.3 sphinx-notfound-page==1.0.4 sphinx-copybutton==0.5.0 sphinx-gallery==0.18.0 -ansys_sphinx_theme==1.0.11 +ansys_sphinx_theme==1.1.1 sphinx-autodoc-typehints==2.4.4; python_version == '3.8' sphinx-autodoc-typehints==2.4.4; python_version >= '3.9' pyvista==0.44.1