From cdf100c3e955165ab7348ae6e1f4c7ecb1bf499e Mon Sep 17 00:00:00 2001 From: Antonio Vivace Date: Tue, 10 Dec 2024 19:42:06 +0100 Subject: [PATCH] sphinx: add basic search capability --- docs/source/conf.py | 1 + pyproject.toml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 0e16511..c561738 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -18,6 +18,7 @@ "sphinx.ext.viewcode", "sphinx.ext.autosummary", "sphinx_gallery.gen_gallery", + "sphinx_search.extension", ] sphinx_gallery_conf = { diff --git a/pyproject.toml b/pyproject.toml index ab89f23..b976ce9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,7 +37,8 @@ dev = ["black==23.9.1", "folium==0.17.0", "pytest==8.3.3", "build", - "twine" + "twine", + "readthedocs-sphinx-search>=0.3.2" ] [project.urls]