Browse Source

Merge topic 'sphinx-search-index' into release-3.27

fbed0431c2 ci: Suppress cmake.org html documentation search results for index entries

Acked-by: Kitware Robot <[email protected]>
Merge-request: !8700
Brad King 2 years ago
parent
commit
d22a1f0ca6
1 changed files with 2 additions and 0 deletions
  1. 2 0
      .gitlab/os-linux.yml

+ 2 - 0
.gitlab/os-linux.yml

@@ -622,3 +622,5 @@
           -DCMake_SPHINX_CMAKE_ORG_OUTDATED=$CMAKE_CI_SPHINX_OUTDATED
           -DCMake_VERSION_NO_GIT=$CMAKE_CI_VERSION_NO_GIT
         - ninja
+        # FIXME(#25175): non-main index entries are scored too high.
+        - sed -i '/search for explicit entries in index directives/,/^$/d' html/_static/searchtools.js