From 4b25cf530c7f28dde8a0e5ad0a3182619fdcb72d Mon Sep 17 00:00:00 2001 From: David Huard Date: Tue, 14 Nov 2023 16:11:01 -0500 Subject: [PATCH] doc: Include indicator ID in searched terms. --- CHANGES.rst | 3 ++- docs/_static/indsearch.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 2cdfedfac..9671c5f5a 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -4,11 +4,12 @@ Changelog v0.47.0 (unreleased) -------------------- -Contributors to this version: Juliette Lavoie (:user:`juliettelavoie`), Pascal Bourgault (:user:`aulemahal`), Trevor James Smith (:user:`Zeitsperre`). +Contributors to this version: Juliette Lavoie (:user:`juliettelavoie`), Pascal Bourgault (:user:`aulemahal`), Trevor James Smith (:user:`Zeitsperre`), David Huard (:user:`huard`). New features and enhancements ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ * New functions ``xclim.ensembles.robustness_fractions`` and ``xclim.ensembles.robustness_categories``. The former will replace ``xclim.ensembles.change_significance`` which is now deprecated and will be removed in xclim 0.49 (:pull:`1514`). +* Add indicator ID to searched terms in the indicator search documentation page (:issue:`1525`, :pull:`1528`). Bug fixes ^^^^^^^^^ diff --git a/docs/_static/indsearch.js b/docs/_static/indsearch.js index d657a63f4..c6738d918 100644 --- a/docs/_static/indsearch.js +++ b/docs/_static/indsearch.js @@ -3,7 +3,7 @@ let indicators = []; /* MiniSearch object defining search mechanism */ let miniSearch = new MiniSearch({ - fields: ['title', 'abstract', 'variables', 'keywords'], // fields to index for full-text search + fields: ['title', 'abstract', 'variables', 'keywords', 'id'], // fields to index for full-text search storeFields: ['title', 'abstract', 'vars', 'realm', 'module', 'name', 'keywords'], // fields to return with search results searchOptions: { boost: {'title': 3, 'variables': 2},