aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Déramond <[email protected]>2023-02-11 08:04:09 +0100
committerGitHub <[email protected]>2023-02-11 08:04:09 +0100
commit9f5dca077751ff4abc2361d13766a4ed18ee04fc (patch)
treecc383d7714251c1b04a916db3c9af58588d7b2dd
parent52656db328c7141b0ab26a5871510e0d360b741f (diff)
downloadbootstrap-9f5dca077751ff4abc2361d13766a4ed18ee04fc.tar.xz
bootstrap-9f5dca077751ff4abc2361d13766a4ed18ee04fc.zip
Remove `debug` references from DocSearch v2 (#38032)
-rw-r--r--README.md2
-rw-r--r--site/assets/js/search.js4
2 files changed, 2 insertions, 4 deletions
diff --git a/README.md b/README.md
index 9c49e8252..df022a1c4 100644
--- a/README.md
+++ b/README.md
@@ -144,7 +144,7 @@ Have a bug or a feature request? Please first read the [issue guidelines](https:
Bootstrap's documentation, included in this repo in the root directory, is built with [Hugo](https://gohugo.io/) and publicly hosted on GitHub Pages at <https://getbootstrap.com/>. The docs may also be run locally.
-Documentation search is powered by [Algolia's DocSearch](https://docsearch.algolia.com/). Working on our search? Be sure to set `debug: true` in `site/assets/js/search.js`.
+Documentation search is powered by [Algolia's DocSearch](https://docsearch.algolia.com/).
### Running documentation locally
diff --git a/site/assets/js/search.js b/site/assets/js/search.js
index 9bad2749f..b095d3bbd 100644
--- a/site/assets/js/search.js
+++ b/site/assets/js/search.js
@@ -40,8 +40,6 @@
return item
})
- },
- // Set debug to `true` if you want to inspect the dropdown
- debug: false
+ }
})
})()