diff --git a/doc/requirements-doc.txt b/doc/requirements-doc.txt index 281e690fcef3..2deb9c0dd8b3 100644 --- a/doc/requirements-doc.txt +++ b/doc/requirements-doc.txt @@ -7,7 +7,7 @@ setuptools>=70.0.0 Pygments==2.16.1 # Sphinx -sphinx==7.1.2 +sphinx==7.3.7 sphinx-click==5.1.0 sphinx-copybutton==0.5.2 sphinxemoji==0.2.0 @@ -19,6 +19,7 @@ sphinx_design==0.5.0 pydata-sphinx-theme==0.14.1 autodoc_pydantic==2.2.0 appnope +sphinx-docsearch==0.0.7 pydantic!=2.0.*,!=2.1.*,!=2.2.*,!=2.3.*,!=2.4.*,<3 diff --git a/doc/source/conf.py b/doc/source/conf.py index 4b45512ffa56..2faf42c5179a 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -66,8 +66,14 @@ "sphinx_remove_toctrees", "sphinx_design", "sphinx.ext.intersphinx", + "sphinx_docsearch", ] +# Configuration for algolia +docsearch_app_id = "LBHF0PABBL" +docsearch_api_key = "6c42f30d9669d8e42f6fc92f44028596" +docsearch_index_name = "docs-ray" + remove_from_toctrees = [ "cluster/running-applications/job-submission/doc/*", "ray-observability/reference/doc/*",